URL Encoder / Decoder
Percent-encodes and decodes text and query strings for use in URLs.
Runs entirely in your browser — nothing is uploaded or stored.
How to use this calculator
- Paste a URL or text.
- Press Encode or Decode.
How it works
URL (percent) encoding replaces characters that aren't safe in a web address with a % sign and their hex code — a space becomes %20, an ampersand %26. Decoding reverses it.
Worked example
"a b&c". encodes to a%20b%26c.
Common mistakes
- Encoding a whole URL when you only meant a query value — encoding the ? and / can break the link.
- Forgetting that spaces become %20 (or + in form data), which trips up manual edits.
Frequently asked questions
When do I need to URL-encode text?
Whenever a value goes into a URL and contains spaces or symbols like &, ?, = or /, encoding stops them being misread as part of the address.
Is my data sent anywhere?
No — encoding and decoding happen locally in your browser, so nothing leaves your device.
Related tools
- Base64 Encoder / Decoder
- JSON Formatter & Minifier
- CSV to JSON Converter
- Hash Generator
- HTML Encoder / Decoder
- JWT Decoder
Explore more in PDF, Image, File, Data & Developer Tools.
Cite this tool
Zerdly. (2026). URL Encoder / Decoder. Retrieved from https://www.zerdly.com/tools/url-encoder-decoder/
Tip: Enter any known values to calculate the remaining results.
All calculations run in your browser. Your inputs are never saved or transmitted.



