URL Encode / Decode
Escape and unescape URLs.
About URL Encode / Decode
Paste any text or URL and instantly encode or decode it. Encoding turns spaces, ampersands, and other special characters into safe percent-escaped sequences (like %20), while decoding turns them back into readable text. A Component mode escapes reserved characters for a single query value or path piece, and a Full URL mode leaves the structure of a whole address intact. Malformed input is caught gracefully instead of crashing.
This tool is completely free with no sign-up, no limits, and no ads. Everything runs entirely in your browser using the standard JavaScript encoding functions, so your text is never uploaded to a server or stored anywhere. Copy the result with one click, or swap it back into the input to chain encode and decode steps.
Frequently asked questions
- Is this URL encoder and decoder free?
- Yes, it is 100% free with no account, no sign-up, and no usage limits. You can encode and decode as many URLs and strings as you want.
- Is my data uploaded or stored anywhere?
- No. All encoding and decoding happens locally in your browser using built-in JavaScript functions. Your text never leaves your device and nothing is sent to a server or saved.
- What is the difference between Component and Full URL mode?
- Component mode uses encodeURIComponent, which escapes reserved characters like : / ? & = # so the text is safe as a single query value or path segment. Full URL mode uses encodeURI, which keeps those structural characters intact so you can encode a complete address without breaking it.
- Why does decoding sometimes show an error?
- Decoding fails when the input contains malformed percent-encoding, such as a stray % sign or an incomplete %XX sequence. The tool catches this and shows a friendly message instead of crashing. Fix or remove the broken sequence and it will decode.
- What does URL encoding actually do?
- It converts characters that are unsafe or reserved in a URL, such as spaces, ampersands, and non-English letters, into percent-escaped sequences like %20 or %26. This keeps links, query parameters, and form data from breaking when passed between systems.
- Can I copy the result quickly?
- Yes. Every result has a one-click Copy button, and you can also use the Swap button to move the output back into the input to chain an encode and decode together.