common.dev
2026-03-18
DevTools Team
Understanding URL Encoding and Decoding
Understanding URL Encoding and Decoding
URL encoding, also known as percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI).
Why is it needed?
Characters allowed in a URL are either reserved or unreserved. Reserved characters (like ?, &, =) have special meanings. If you want to include these characters in a data part of the URL, they must be encoded.
How it works
Reserved characters are replaced with a % followed by their two-digit hexadecimal equivalent. For example, a space becomes %20.
Using our tool
Our URL Encoder/Decoder makes this process effortless. Simply paste your string and choose whether to encode or decode.