URL Encoder/Decoder
Encode text to URL-safe format or decode URL-encoded strings
Encode to URL
Enter plain text to convert to URL-encoded format (percent encoding)
Characters: 0Bytes: 0
Characters: 0
Examples
Click on any example to load it into the encoder
Hello World!
user@example.com
https://example.com/path?param=value&other=test
Special chars: !@#$%^&*()
Spaces and symbols: [bracket] {curly} (parentheses)
About URL Encoding
URL encoding (also known as percent encoding) is a mechanism to encode information in a Uniform Resource Identifier (URI) under certain circumstances.
- Percent Encoding: Uses % followed by two hexadecimal digits to represent unsafe characters.
- Reserved Characters: Characters like ?, &, =, # have special meaning in URLs and need encoding.
- Space Character: Spaces are encoded as %20 (or + in some contexts).
- Non-ASCII Characters: Unicode characters are UTF-8 encoded then percent-encoded.
- Web Development: Essential for properly handling URLs, query parameters, and form data.
Common Encodings:
Space → %20
@ → %40
! → %21
# → %23
$ → %24
% → %25
& → %26
+ → %2B