URL Encoder / Decoder
Percent-encode or decode URL strings — component-safe encoding that handles spaces, Unicode, and reserved characters.
How to Use
- Paste plain text on the left — percent-encoded output appears.
- Paste encoded text on the right to decode.
Plain
Encoded
Reference
Space
%20 (or + in application/x-www-form-urlencoded)
&
%26
#
%23
Unsafe
[]^{}|\ + all non-ASCII
Frequently Asked Questions
encodeURI vs encodeURIComponent?
encodeURI preserves ": / ? # & ="; encodeURIComponent encodes them — use the latter for individual query values.
Common Use Cases
Building URLs
Safely include user input in query strings.
Last updated: