URL Encoder/Decoder
Encode and decode URLs with support for special characters, Unicode, and emojis. Choose between encodeURIComponent, encodeURI, or decode mode.
Encoding Mode Guide
- _ . ! ~ * ' ( )Best for: URL parameters, query strings
: / ? # [ ] @ ! $ & ' ( ) * + , ; =Best for: Full URLs with protocol and path
Best for: Reading URL-encoded strings
Real-Time Processing
Instant encoding and decoding as you type or paste URLs.
100% Private
Your URLs never leave your computer.
Unicode Support
Handles all characters including Unicode, emojis, and special symbols.
Examples
Example 1: Encoding a URL Parameter
Example 2: Encoding a Full URL
Example 3: Decoding a URL
Frequently Asked Questions
What's the difference between encodeURIComponent and encodeURI?
encodeURIComponent encodes all special characters except: - _ . ! ~ * ' ( ). It's ideal for encoding URL parameters. encodeURI preserves URL structure characters like :/?#[]@!$&'()*+,;= and is designed for encoding full URLs.
How do I encode a URL?
Simply paste your URL or text into the input field, select your encoding method (encodeURIComponent or encodeURI), and the encoded result will appear instantly below.
How do I decode a URL?
Switch to 'Decode' mode, paste your URL-encoded string (containing %20, %3D, etc.), and the decoded result will appear below.
Is my data secure?
Yes! All encoding and decoding happens entirely in your browser. Your URLs never get sent to any server, ensuring complete privacy and security.
Can I encode special characters and Unicode?
Absolutely! This tool handles all special characters, symbols, and Unicode characters (including emojis) correctly using native browser encoding functions.