URL Encode & Decode
Paste text to percent-encode it for a URL or query string, or paste an encoded URL to decode it back into readable characters.
What this tool does
- Encode for full URLs or for query-string components
- Decode %20 and other percent escapes back to text
- Uses the browser's standard encodeURIComponent / decodeURIComponent
- Instant and entirely local
Also known as: percent encoding, url decoder, uri encoder.
Frequently asked questions
What is the difference between the two encode modes?
Component mode (encodeURIComponent) escapes characters like & ? = / so a value is safe inside a query parameter. Full-URL mode (encodeURI) leaves those structural characters intact so a whole address stays usable.
Why is a space sometimes + and sometimes %20?
In query strings built by HTML forms, a space becomes +. In the path and modern URLs it becomes %20. This tool uses %20 (the URI standard); decoding accepts both.
Is my data private?
Yes. Everything runs in your browser with JavaScript — nothing you type or paste is uploaded, logged, or sent to a server. You can disconnect from the internet after the page loads and it still works.
Related tools
Base64 Encode & Decode
Convert text to and from Base64 with full UTF-8 support.
/base64JSON Formatter & Validator
Beautify, minify, and validate JSON with clear, line-pointed error messages.
/json-formatterHash Generator (SHA-256, SHA-1)
Compute SHA-256, SHA-1, and SHA-512 hashes of any text, locally.
/hash-generator