URL Encode/Decode
Apply or reverse percent-encoding on URLs and query strings.
How to use
- Paste the URL or query string you want to process.
- Choose Encode or Decode.
- Click convert and review the result.
- Copy the output to reuse in your code.
About this tool
URL Encode/Decode safely converts strings into URL-friendly percent-encoded form and reverses the process on demand. It is essential whenever query parameters include spaces, symbols, or international characters that would otherwise break a link.
Features
Encode and decode modes, full UTF-8 support, handling of reserved characters, automatic trimming of whitespace, and a copy-to-clipboard shortcut. The tool also detects partially encoded strings and lets you re-run the operation without losing context.
Use cases
Building tracking URLs for marketing campaigns, debugging broken query strings, preparing search parameters for APIs, and escaping user-generated content before embedding it into redirects or anchor tags.
Why choose this tool
The converter runs entirely in the browser, is mobile friendly, and produces results that match the behaviour of standard web APIs. Developers can rely on it to fix encoding issues quickly without writing or running helper scripts.
FAQ
- What is the difference between encodeURI and encodeURIComponent?
- encodeURIComponent escapes all reserved characters, while encodeURI leaves structural characters like ? and / intact.
- Can it handle Japanese characters?
- Yes. Multibyte characters are encoded as UTF-8 percent sequences compatible with modern browsers and servers.
- Why does my decoded string still contain percents?
- The input was probably double encoded. Run decode twice to restore the original value.