URL Encoder / Decoder
Encode or decode URL strings instantly. Supports encodeURI and encodeURIComponent. Live conversion as you type.
Common URL-encoded characters
| Character | Encoded (%xx) | Description |
|---|---|---|
| %20 | Space |
! | %21 | Exclamation mark |
# | %23 | Hash / fragment |
$ | %24 | Dollar sign |
& | %26 | Ampersand (query separator) |
' | %27 | Apostrophe |
( | %28 | Open parenthesis |
) | %29 | Close parenthesis |
* | %2A | Asterisk |
+ | %2B | Plus sign |
, | %2C | Comma |
/ | %2F | Forward slash (path separator) |
: | %3A | Colon |
; | %3B | Semicolon |
= | %3D | Equals (key=value) |
? | %3F | Question mark (query start) |
@ | %40 | At sign |
[ | %5B | Open bracket |
] | %5D | Close bracket |
encodeURI vs encodeURIComponent
Frequently asked questions
When should I URL-encode text?
Whenever you include user input, special characters, or non-ASCII text (like Hindi or emoji) in a URL query parameter. Spaces, &, =, and ? have special meaning in URLs and must be encoded when used as data.
What does %20 mean?
%20 is the URL-encoded representation of a space character. The % sign followed by two hex digits represents the byte value of the character in UTF-8.
Can I encode a full URL?
Use encodeURI for a complete URL (it preserves structural characters like / ? &). Use encodeURIComponent only for individual parameter values, not the full URL.
Why does + sometimes represent a space?
In application/x-www-form-urlencoded format (HTML forms), + is used as a shorthand for space. In a URL path or raw query string, %20 is the standard. This tool uses the standard %20 encoding.
What happens to Hindi or Emoji characters?
Non-ASCII characters are first encoded as UTF-8 bytes, then each byte is percent-encoded. For example, the Hindi character अ becomes %E0%A4%85.