Back to tools
EncodingBuilt with Hercules

URL Encoder & Decoder

Open in new tab

About URL Encoder & Decoder

URL encoding (also called percent encoding) replaces unsafe characters with a % followed by their hex byte. Browsers do this automatically when you submit a form, but you'll often need to encode by hand when building URLs from code.

Frequently asked questions

What's the difference between encodeURI and encodeURIComponent?
encodeURI leaves URL-structural characters alone (: / ? &). encodeURIComponent encodes them — use it for query parameter values.

Want a utility like this — but yours?

URL Encoder & Decoder is a Hercules app. Remix it, change anything, and ship it on your own domain in minutes.

Related utilities