URL Encoder & Decoder
Encode special characters for URLs or decode URL-encoded strings. Essential for web development and API work.
Encoded or decoded result will appear here
How to Use
Enter Your Text
Type or paste the text you want to encode, or paste a URL-encoded string to decode.
Choose Encoding Mode
Component encodes all special characters (for query params). Full URL preserves URL structure characters.
Encode or Decode
Click "Encode" to convert to URL format, or "Decode" to convert back to readable text.
FAQ
What is URL encoding?
URL encoding (percent encoding) replaces special characters with a % followed by their hexadecimal value. For example, a space becomes %20. This ensures URLs are valid and can be transmitted safely.
What's the difference between Component and Full URL mode?
Component mode (encodeURIComponent) encodes everything except A-Z, a-z, 0-9, and - _ . ~. Use this for query parameter values.
Full URL mode (encodeURI) also preserves : / ? # [ ] @ ! $ & ' ( ) * + , ; = for valid URL structure.
Is my data secure?
Yes. All encoding/decoding happens in your browser. Your data never leaves your device.