Understanding URL Encoding
URL encoding (also known as Percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. Although it is known as URL encoding, it is, in fact, used more generally within the main Uniform Resource Identifier (URI) set, which includes both Uniform Resource Locator (URL) and Uniform Resource Name (URN).
Why Encode?
Characters that are not allowed in a URL (unsafe characters) or have special meaning (reserved characters) must be escaped to ensure valid transmission.
RFC 3986 Standard
The most modern specification (RFC 3986) defines the current rules for which characters are "unreserved" (safe) and which are "reserved".
How It Works (The Formula)
The process follows a simple rule: if a character is not unreserved, it is replaced by its character code's hexadecimal representation prefixed with %.
Popular Character Encodings
| Character | Encoded Value | Decimal |
|---|---|---|
| ; | %3B | 59 |
| : | %3A | 58 |
| @ | %40 | 64 |
| & | %26 | 38 |
| = | %3D | 61 |
| + | %2B | 43 |
| $ | %24 | 36 |
| , | %2C | 44 |
| / | %2F | 47 |
| ? | %3F | 63 |
| % | %25 | 37 |
| # | %23 | 35 |
| [ | %5B | 91 |
| ] | %5D | 93 |
%20 | 32 | |
| " | %22 | 34 |
| < | %3C | 60 |
| > | %3E | 62 |
| { | %7B | 123 |
| } | %7D | 125 |
| | | %7C | 124 |
| \ | %5C | 92 |
| ^ | %5E | 94 |
| ~ | %7E | 126 |
Interesting Facts & Tips
- Plus sign vs %20: In query strings (after the ?), a space can often be represented by a
+sign. However, our decoder handles both+and%20seamlessly. - UTF-8 Support: Modern browsers and our tool use UTF-8 as the character set. This means emojis like 🔥 or special chars like ⚡ can be safely encoded too!
- Reserved Chars: The characters
: / ? # [ ] @ ! $ & ' ( ) * + , ; =are reserved because they have special meaning in URI structure. If you want to use them as *data*, you must encode them.
The URL Encoder Decoder tool allows you to safely encode reserved, unsafe, or unprintable characters into a valid URL format, and decode URL-encoded text back to its original form. Whether you are generating a dynamic query string for an API or fixing a broken link, this tool ensures accurate conversion for web development.
How to Use
- Select whether you want to Encode or Decode.
- Enter or paste your text or URL into the input area.
- The output area will automatically display the converted result.
- Use the provided presets to quickly load common examples.
- Click the copy icon to copy the generated result to your clipboard.
Features
- Instant 2-way conversion: Encode or decode data.
- Support for entire URL string or query parameters.
- Smart Power Search with Natural Language Processing presets.
- Preserves data integrity according to RFC 3986 specifications.
- Client-side processing – your data never leaves your browser.
Common Use Cases
- Escaping query parameters in API calls.
- Decoding messy analytics URLs to human-readable format.
- Working with application/x-www-form-urlencoded data.
- Ensuring safe transmission of email or complex passwords via GET requests.
- Converting HTML data into a raw GET url string format.
Tips & Best Practices
When encoding an entire URL with query parameters, make sure it is valid HTTP so only the query gets encoded properly without corrupting the full URL.
Use the shortcut Power Search to quickly encode/decode short strings.
You can also decode heavily obfuscated plus-delimited parameters as they get cleaned automatically.






