URL Encoder / Decoder
URL encoding, also known as percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI). This tool allows you to safely encode characters that are reserved or unsafe for URLs, or decode them back into their original format.
What is URL Encoding?
URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
Common Reserved Characters
| Character | Encoded Value | Usage |
|---|---|---|
| Space | %20 | Separates parts of a URL |
| / | %2F | Separates directories |
| ? | %3F | Starts query strings |
| & | %26 | Separates query parameters |
| # | %23 | Fragment identifier |