URL Encoder/Decoder
Encode or decode URLs in real-time. Type in either box and the other updates automatically. Everything runs in your browser — nothing is sent to the server.
Encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
0 characters
0 characters
About URL Encoding
URL encoding (percent-encoding) replaces unsafe characters with a % followed by two hex digits.
encodeURIComponent encodes everything except A-Z a-z 0-9 - _ . ! ~ * ' ( ). Best for encoding query parameter values.
encodeURI preserves URI structure characters like : / ? # @ &. Use for encoding full URLs.
Full Encode encodes every non-alphanumeric character, including / : ? # @.