Encode special characters for safe URL transmission or decode percent-encoded URLs. Supports full URL and component encoding.
๐ฅ Text / URL to Encode
Mode:
Component encodes more characters including / : @ = &
๐ค Encoded Output
๐ฅ Encoded URL to Decode
๐ค Decoded Output
๐ Input
๐ URL Encoded
โ
๐ URL Decoded
โ
๐ Common URL Encoding Reference
Space%20
!%21
"%22
#%23
$%24
%%25
&%26
'%27
(%28
)%29
*%2A
+%2B
,%2C
/%2F
:%3A
;%3B
=%3D
?%3F
@%40
[%5B
]%5D
{%7B
|%7C
}%7D
About URL Encoding
What is URL encoding (percent encoding)? โผ
URL encoding (also called percent encoding) converts characters that are not allowed in URLs into a safe format using a percent sign followed by two hexadecimal digits. For example, a space becomes %20 and & becomes %26.
What is the difference between encodeURI and encodeURIComponent? โผ
encodeURI encodes a full URL and preserves characters like / : ? = & that have special meaning in URLs. encodeURIComponent encodes a URL component (like a query parameter value) and encodes those special characters too, making it safer for individual values.
When should I URL encode my data? โผ
Always URL encode data when: (1) passing values in query strings, (2) sending form data via GET requests, (3) constructing URLs programmatically, (4) including special characters in URL parameters. This prevents data from being misinterpreted as URL structure.