URL Encoder / Decoder
Encode or decode URL strings and query parameters instantly in your browser. Free, private, and nothing is ever uploaded.
How to encode or decode URLs
Choose Encode or Decode, paste your text, and click the button. Encoding converts spaces and special characters into safe %-codes.
Tick 'Encode every character' when building query parameter values, so slashes, colons, and ? are encoded too.
- Choose Encode or Decode
- Paste your URL or text
- Copy the result or swap direction
Why URLs need encoding
URLs only allow a safe set of characters. Encoding turns spaces, symbols, and non-ASCII text into valid %-sequences so links work everywhere.
Frequently Asked Questions
What's the difference between encodeURI and encodeURIComponent?
encodeURI keeps characters like /, :, and ? (for whole URLs); encodeURIComponent encodes them too (for parameter values).
Can I decode an encoded URL?
Yes — switch to Decode and paste the encoded string to get the original text.
Is it private?
Yes — everything runs locally in your browser.