πŸ”— 100% Browser-Based Β· RFC 3986

URL Encoder & Decoder

Encode or decode percent-encoded URLs and query strings instantly. All processing happens in your browser β€” nothing is sent to any server.

Decode converts percent-encoded characters like %20 β†’ space, %2F β†’ /, %40 β†’ @. Useful for reading URLs from logs, emails, or browser address bars.
encodeURIComponent encodes all special characters including / ? & = + #. Use this when encoding a single query parameter value.

Frequently Asked Questions

What is URL encoding?
URL encoding (percent-encoding) converts characters that are not allowed in URLs into a safe format using a % sign followed by two hexadecimal digits. For example, a space becomes %20 and an ampersand becomes %26. This is defined in RFC 3986.
What is the difference between encodeURI and encodeURIComponent?
encodeURI is for encoding a complete URL. It leaves characters that have special meaning in URLs untouched, such as / : ? & = # @. encodeURIComponent is for encoding a single value (like a query parameter). It also encodes those special characters, making the value safe to embed inside a URL.
Why does %20 sometimes appear as + in URLs?
In HTML form submissions using application/x-www-form-urlencoded, spaces are encoded as + rather than %20. Both represent a space, but %20 is the standard in RFC 3986, while + is specific to form data encoding.
Is my data safe when using this tool?
Yes. All encoding and decoding uses built-in browser JavaScript functions (encodeURIComponent, decodeURIComponent, encodeURI). No data is transmitted to any server at any point.