URL Encoder Decoder Online Free

Encode text to URL-safe format and decode URL-encoded strings back to readable text. Supports UTF-8 characters and application/x-www-form-urlencoded format.

URL Encoder / Decoder

Live (auto-convert as you type)
Text to URL-Encode 0 characters
URL-Encoded Result
Result will appear here...
0 characters
Copied to clipboard!

Common URL Encoding Reference

CharEncodedCharEncodedCharEncoded
Space%20!%21"%22
#%23$%24%%25
&%26'%27(%28
)%29*%2A+%2B
,%2C--..
/%2F:%3A;%3B
<%3C=%3D>%3E
?%3F@%40[%5B
\%5C]%5D^%5E
{%7B|%7C}%7D
~%7ENon-ASCII%E4%B8%AD...Emoji%F0%9F%98%80

Frequently Asked Questions

Why do URLs need encoding?
URLs can only contain a limited set of ASCII characters (A-Z, a-z, 0-9, and a few special characters like -, _, ., ~). Characters like spaces, #, &, ?, %, and non-ASCII characters must be encoded to be valid in URLs.
What is encodeURI vs encodeURIComponent?
encodeURI() encodes a full URI while preserving characters that are part of the URI syntax (:, /, ?, #). encodeURIComponent() encodes everything, making it safe for use in query parameter values. This tool uses the more thorough encodeURIComponent/decodeURIComponent approach.
How do I encode non-ASCII characters for a URL?
Non-ASCII characters are encoded as multi-byte percent-encoded sequences using UTF-8. For example, the word "cafe" (with accented e) becomes caf%C3%A9 and an emoji becomes %F0%9F%98%80. Paste any text into this tool and click Encode to see the URL-safe version.
What is application/x-www-form-urlencoded?
It is the encoding used by HTML forms when submitted via POST. In this format, spaces are encoded as + instead of %20. This tool supports both: standard encodeURIComponent (using %20) and form-encoding (using + for spaces) when decoding.

More Developer Tools