URL Encoder & Decoder
Encode or decode URLs and query strings, component by component or whole links.
Loading tool…
How to use it
- Paste the text, query value or full URL into the input box.
- Use "Encode (component)" for values inside query strings — it escapes ?, &, = and /.
- Use "Encode (full URL)" to keep reserved characters like ? and / intact across a whole link.
- Use Decode to convert a percent-encoded string back to plain text; malformed input is reported clearly.
About this tool
Distinguishes between full-URL encoding and component encoding, because they behave differently for characters like ?, & and /. Useful for debugging broken query strings, building links programmatically or decoding garbled redirects.
Your input never leaves the browser: this tool works entirely offline once the page has loaded.
Frequently asked questions
When should I use component encoding instead of full-URL encoding?
Use component encoding for values placed inside a query string (it escapes ?, &, = and /). Use full-URL encoding when you need to keep those reserved characters functional in an entire link.
Why does decoding fail on my string?
A lone % not followed by two hex digits is malformed percent-encoding. The tool reports the problem instead of silently returning garbage.