DevTools Hub

Navigation

Tools

URL Encoder/Decoder

Encode text for use in URLs or decode URL-encoded strings with query parameter parsing.

Mode
Choose whether to encode or decode
Text to Encode
Enter the text you want to encode for URLs
URL-encoded Output
Your text encoded for use in URLs
Encoded URL text will appear here
About URL Encoding

URL encoding converts characters that are not allowed in URLs into a format that can be transmitted over the Internet. It replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.

Encoding Methods

encodeURIComponent() - Encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )

encodeURI() - Encodes special characters except those that are part of a URI (doesn't encode: / : ? # [ ] @ ! $ & ' ( ) * + , ; =)

Query Parameter Parsing

When decoding URLs, this tool automatically parses and displays query parameters in a structured table format. Each parameter's key and value are decoded and displayed separately, making it easy to understand complex URLs.

Common URL Encodings

CharacterURL Encoding
Space%20
!%21
"%22
#%23
$%24
%%25
&%26
+%2B