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.
URL encoding (also known as Percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. It is used when a character that is not allowed in a URL (e.g., spaces, special symbols) needs to be part of the URL.
When a character is URL encoded, it is typically converted into a percent sign (`%`) followed by its two-digit hexadecimal representation. For example:
This URL Encoder/Decoder operates entirely client-side within your browser. No data is sent to a server, ensuring your privacy. It leverages JavaScript's built-in functions:
For full URL encoding/decoding, the tool uses these functions to process the entire input, making it suitable for both full URLs and individual strings.
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.