Space has two lives
Web forms turn spaces into +, but general URLs use %20. That’s why decoding form submissions needs a “+ → space” pass.
Tips: Ctrl/Cmd + K focuses the input. Ctrl/Cmd + Enter repeats the last action. Alt + E encodes, Alt + D decodes.
This URL Encoder/Decoder helps you convert text into safe, shareable URLs and turn encoded strings back into readable text. It is useful for building query strings, handling special characters in links, or troubleshooting issues when data is passed through a URL. Everything runs in your browser, so your inputs stay private.
URLs are designed to use a limited set of characters. Spaces, symbols like & or ?,
and non-ASCII characters can break a link or be interpreted as separators. URL encoding, also called
percent-encoding, replaces unsafe characters with a percent sign and a short hexadecimal code. For example, a
space becomes %20, an ampersand becomes %26, and a question mark becomes %3F.
Decoding reverses that process so you can read or edit the original text.
If you are encoding a full URL with many parameters, it is often best to encode each parameter value rather than
the entire URL. This keeps the ? and & separators intact while protecting the data.
blue shoes become blue%20shoes.[email protected] require encoding the @ symbol.Developers and marketers use URL encoding when building links for campaigns, API requests, or web forms. It is also helpful when debugging redirect issues or checking how a server receives data. Whether you need a URL encoder, a URL decoder, or a quick way to fix malformed links, this tool gives you a clear, reliable result in seconds.
Web forms turn spaces into +, but general URLs use %20. That’s why decoding form submissions needs a “+ → space” pass.
encodeURI leaves characters like :/?#[]@ alone so a full URL keeps its shape; encodeURIComponent escapes almost everything to keep a single value safe.
When you paste an emoji in a path, it becomes UTF-8 bytes like %F0%9F%9A%80. In domains, the same rocket becomes xn-- punycode instead.
Seeing %2520 instead of %20? The %25 means the percent sign itself was encoded—usually a hint the string was encoded twice.
Query strings can repeat keys (?tag=js&tag=tools) and keep order. APIs often rely on that to represent arrays or priority lists.