URL Encoder / Decoder — Free Online Tool
Encode any string for safe use in a URL query parameter, or decode percent-encoded strings back to readable text. Also parses complete URLs into their component parts — protocol, hostname, path, query parameters, and fragment — displayed in an easy-to-read table.
100% client-side. No uploads. Your data never leaves your browser.
How to use URL Encoder / Decoder
- Paste a URL or a string to encode/decode into the input field.
- Select 'Encode' or 'Decode' mode.
- For full URL parsing, the component breakdown (protocol, host, path, query params) appears automatically.
- Copy any individual component or the full encoded/decoded output.
Frequently Asked Questions
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL, preserving characters like /, :, and ? that have structural meaning. encodeURIComponent encodes a single value for use inside a query parameter, encoding everything including those structural characters.
Why does a space become + in some encoders but %20 in others?
The + convention comes from HTML form encoding (application/x-www-form-urlencoded). Standard percent-encoding uses %20. This tool uses %20 (RFC 3986 compliant).
Can I parse query parameters from a URL?
Yes. Paste a full URL and the tool will parse every query parameter into a key-value table.
Related tools
Related reading
Browse all free tools · theproductguy.in