URL Encode / Decode
Encode and decode URLs online. Supports both encodeURI (full URL) and encodeURIComponent (component) modes. Free, client-side tool.
Why Use the URL Encoder/Decoder?
URL encoding is essential when working with query parameters, API requests, and web forms. Special characters like spaces, ampersands, and non-ASCII text must be properly encoded. Our tool supports both full URI encoding and component encoding to match your exact needs.
Key Features
- Two encoding modes: full URI (encodeURI) and component (encodeURIComponent)
- Clear explanation of what each mode preserves
- Swap button to instantly switch between encoded and decoded content
- One-click paste and copy for efficient workflow
How to Use
- Select the Encode or Decode tab
- Choose between Full URI or Component encoding mode
- Paste your text or encoded URL and click the action button
Technical Details
Full URI encoding (encodeURI) preserves URL-reserved characters (: / ? # @ ! $ & ( ) * + , ; =) making it suitable for complete URLs. Component encoding (encodeURIComponent) encodes all special characters, making it suitable for individual query parameter values. Decoding always uses decodeURIComponent.
FAQ
When should I use full URI vs component encoding?
Use full URI encoding when you have a complete URL. Use component encoding when encoding a single query parameter value that should not contain any URL-reserved characters.
What is percent encoding?
Percent encoding replaces special characters with a '%' followed by two hexadecimal digits. For example, a space becomes '%20' and an ampersand becomes '%26'.
Related tools
Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings with full Unicode support
HTML Entity Encode / Decode
Encode and decode HTML entities like < > & "
JWT Token Decoder
Decode JWT tokens to view header, payload, and signature as formatted JSON
ROT13 Cipher
Encode or decode text using the ROT13 substitution cipher
Morse Code Translator
Convert text to Morse code and back with visual representation and audio playback
Binary Translator
Convert text to binary (0s and 1s) and back with byte-level breakdown