URL Encoder / Decoder

Encode and decode URLs with percent-encoding. Handles special characters, query strings, and Unicode.

Input (Plain Text)

Output (Encoded)

URL Encoding (Percent-Encoding)

URL encoding converts special characters to percent-encoded format (%XX) where XX is the hexadecimal representation of the character. This ensures URLs are valid and can be safely transmitted over the internet.

encodeURI vs encodeURIComponent

encodeURI: Encodes a full URI. Does NOT encode: : / ? # [ ] @ ! $ & ' ( ) * + , ; =. Use for encoding complete URLs.

encodeURIComponent: Encodes a URI component (like a query parameter value). Encodes ALL special characters except: - _ . ! ~ * ' ( ). Use for encoding individual parameter values.

Common Encodings

CharacterEncodedDescription
Space%20 or +Space character
!%21Exclamation mark
#%23Hash/pound
$%24Dollar sign
&%26Ampersand
+%2BPlus sign
/%2FForward slash
=%3DEquals sign
?%3FQuestion mark
@%40At sign
Get a free API key for 100+ developer endpoints:
Pro plans
ToolPipe JSON Formatter CSS Minifier JS Minifier UUID Generator Regex Tester JWT Decoder Password Generator Hash Generator Base64 JSON to YAML QR Generator Merge PDF Image to Base64 Color Picker My IP XML Formatter YAML Validator CSV to JSON Diff Checker SQL Formatter Free API Key Pro Plans Quick Start
130+ free developer tools by ToolPipe. No signup, no tracking. Support us