URL Encode and Decode Tool
Encode and decode URL encoded strings into readable text
Input
Result
About URL Encoding/Decoding
What is URL Encoding?
URL encoding is the practice of converting characters into a format that can be transmitted safely over the Internet. Characters that are not URL-safe are replaced with a "%" followed by two hexadecimal digits.
When to Use URL Encoding?
- When sending data through URLs (query parameters)
- When handling special characters in URLs
- When submitting form data with special characters
- When dealing with Unicode characters in URLs
When to Use URL Decoding?
- When reading URL parameters from server-side code
- When debugging encoded URL strings
- When displaying URL-encoded data to users
- When processing form submissions
Common URL Encoded Characters:
Character | URL Encoded | Description |
---|---|---|
Space | %20 | Space character |
! | %21 | Exclamation mark |
# | %23 | Hash/Number sign |
$ | %24 | Dollar sign |
& | %26 | Ampersand |
' | %27 | Single quote |
( | %28 | Opening parenthesis |
) | %29 | Closing parenthesis |
+ | %2B | Plus sign |
, | %2C | Comma |
/ | %2F | Forward slash |
: | %3A | Colon |
= | %3D | Equals sign |
? | %3F | Question mark |
@ | %40 | At sign |
Keyboard Shortcuts:
- Ctrl/Cmd + Enter: Encode text
- Shift + Enter: Decode text
- Escape: Clear fields