URL Encoder / Decoder
Percent-encode or decode a URL component so it survives query strings and redirects.
Image tools Client-side Native APIs
Tool preview
How to use it
- 01
Paste the value.
- 02
Choose encode or decode.
- 03
Copy the result.
Limitations
- ! It encodes a component, not a whole URL; slashes and colons become escaped.
- ! Malformed percent sequences produce an error on decode.
FAQ
When should I use encodeURIComponent?
When putting a value inside a query parameter; use encodeURI for a full URL instead.
Why does a space become %20 and not +?
Plus is a form-encoding convention; percent-encoding always uses %20.
Does it handle Unicode?
Yes, characters are encoded as UTF-8 bytes.
Files never leave your device
Processing happens in your browser using the File API, WebAssembly and Web Workers. There is no upload endpoint.
Technical details
- Processing
- Client-side
- Implementation
- Native APIs
- Category
- Image tools
- Network requests
- None while processing