URL encoder & decoder
Percent-encode text for URLs or decode %20 gibberish back to readable text.
How to use
- Choose Encode to make text URL-safe, or Decode to make an encoded URL readable.
- Paste your text or URL fragment into the input box.
- Copy the result into your query string, log analysis or document.
Frequently asked questions
Should I encode a whole URL or just parts of it?
Just the parts — individual query values or path segments. Encoding a complete URL would also encode the separators (:, /, ?, &) and break it.
Why does + decode to a space?
HTML forms historically encode spaces as +. The decoder honours that convention, and %20 decodes to a space as well.
What happens with an invalid sequence like %E0%A4%A?
The decoder reports it as invalid rather than guessing — truncated or malformed percent sequences cannot be decoded safely.
About this tool
URLs only allow a narrow set of characters, so everything else must be percent-encoded: a space becomes %20, an ampersand %26, and non-Latin characters become UTF-8 byte sequences like %C3%A9. You meet this every time you build a query string by hand, debug a webhook, read a server log, or paste a link full of %25 noise. The encoder applies component encoding — safe for query values and path segments. The decoder reverses it and also treats + as a space, the convention used by HTML form submissions, and flags malformed percent sequences instead of corrupting the text.