URL Encoder / Decoder
For query values — escapes everything including &, =, ?
How to Use URL Encoder / Decoder
1
Enter Your Text or URL
Type or paste the text, query string, or full URL you want to encode or decode.
2
Choose Mode
Use Component mode for query values (encodeURIComponent) or URI mode for full URLs (encodeURI).
3
Copy the Result
Copy the encoded or decoded output with one click.
Key Features
Component & URI Modes
Switch between encodeURIComponent for query values and encodeURI for complete URLs.
Live Both-Way Preview
See the encoded and decoded versions of your input side by side in real time.
Space Encoding Control
Choose whether spaces become %20 or + as required by form/query conventions.
One-Click Copy
Copy the encoded or decoded output instantly to your clipboard.
100% Client-Side
All encoding and decoding happens locally in your browser.
Frequently Asked Questions about URL Encoder / Decoder
Percent-encoding replaces unsafe characters in URLs with a % followed by their hex code, e.g. a space becomes %20.