URL Encoder / Decoder
Percent-encode text for use in a URL, or decode it back. Errors point to the exact bad escape, and query parameters are listed one by one.
Part of a URL: everything except letters, digits and - _ . ! ~ * ' ( ) is encoded. Use it for a single query value or path segment.
How it works
- 1Choose Encode or Decode.
- 2When encoding, pick whether it's part of a URL or a whole address.
- 3Paste your text and copy the result.
Private by design
This tool runs entirely in your browser. Your files and text are never uploaded to a server. It keeps working even if you go offline after the page loads.
Questions
- When do I need URL encoding?
- Whenever text with spaces, accents or symbols like & ? = # goes into a link, for example in a query parameter. Encoding turns them into %XX codes that browsers read safely.
- Should spaces be %20 or +?
- %20 works everywhere. + means a space only in form data and most query strings; the tool can encode spaces as + and read + as a space when you ask it to.