URL Encoder / Decoder
Encode special characters for URLs or decode percent-encoded strings. Everything runs in your browser — nothing is uploaded.
FAQ
What URL Encoding Actually Does
URL encoding, also called percent encoding, converts characters that are unsafe or ambiguous in a URL into % followed by hexadecimal bytes. A space becomes %20, a question mark in a parameter value becomes %3F, and non-ASCII text is encoded as UTF-8 bytes. This keeps links, query strings, redirect URLs, and API parameters from being misread by browsers or servers.
The important rule is context. Encoding a whole URL is different from encoding one parameter value. A slash in a full URL separates path segments, but a slash inside a parameter value may need to be encoded. That is why JavaScript has both encodeURI and encodeURIComponent.
Common URL Encoding Mistakes
&, failing to encode it can accidentally create a second parameter.Hello%20world encoded again becomes Hello%2520world. If you see %25, a value may have been encoded more than once.+ for spaces in query strings, while percent encoding uses %20. Both appear in real systems, so check what your API expects.Example: Query Parameter
Raw value: JSON tools & API debugging Encoded value: JSON%20tools%20%26%20API%20debugging Safe URL: /search?q=JSON%20tools%20%26%20API%20debugging