URL Encoder / Decoder
Input
Enter text to encode or encoded URL to decode
Encodes the entire URL, preserving URL structure
Output
Encoded URL
URL Statistics
Information about the URL encoding
0
Original Length
0
Encoded Length
0
Difference
0%
Size Change
Common URL Characters
Characters that need encoding in URLs
Reserved Characters
:
→ %3A
/
→ %2F
?
→ %3F
#
→ %23
[
→ %5B
]
→ %5D
Unsafe Characters
space
→ %20
&
→ %26
=
→ %3D
+
→ %2B
$
→ %24
,
→ %2C
URL Encoding Examples
Common use cases and examples
Query Parameters
Original:
q=hello world&sort=date
Encoded:
q=hello%20world&sort=date
File Paths
Original:
/path/to/file with spaces.txt
Encoded:
/path/to/file%20with%20spaces.txt
Unicode Characters
Original:
q=привет мир
Encoded:
q=%D0%BF%D1%80%D0%B8%D0%B2%D0%B5%D1%82%20%D0%BC%D0%B8%D1%80