🔐 URL Encoder/Decoder
Encode and decode URL strings with component-specific encoding, visual highlighting, and character reference tables
What is URL Encoding?
Percent-encoding, also known as URL encoding, is a mechanism for encoding special characters in a Uniform Resource Identifier (URI). It's used to safely transmit data in URLs by replacing unsafe characters with a percent sign (%) followed by two hexadecimal digits representing the character's ASCII code.
Encoding Mode
Encode / Decode
Input
0 charsOutput (Highlighted)
0 chars
Result will appear here with encoded characters highlighted...
Quick Examples
Full URL
https://example.com/path?param=value
Query String
name=John Doe&email=john@example.com
Special Characters
!@#$%^&*()_+-=[]{}|
Unicode Text
こんにちは 你好 مرحبا
Multiple Spaces
Text with spaces
Common Character Reference
Space
%20 or +
!
%21
"
%22
#
%23
$
%24
%
%25
&
%26
'
%27
(
%28
)
%29
*
%2A
+
%2B
,
%2C
/
%2F
:
%3A
;
%3B
=
%3D
?
%3F
@
%40
[
%5B
]
%5D
{
%7B
}
%7D
|
%7C
Encoding Tips
- RFC 3986 (Component): Standard URL component encoding - encodes most special characters except: A-Z a-z 0-9 - _ . ~
- Query String: Used in URL query parameters - spaces become '+' instead of '%20'
- Form Data: Used for application/x-www-form-urlencoded - similar to query string encoding
- Reserved Characters: : / ? # [ ] @ ! $ & ' ( ) * + , ; = should be encoded in most contexts
- Unsafe Characters: Space " < > # % { } | \ ^ ~ [ ] ` must always be encoded
Need Help?
Found a bug or something missing? Contact our support team or contribute on GitHub.