URL encode / decode online
Encode or decode URL strings — full UTF-8 support, encodeURIComponent / encodeURI and form (+) style.
Source
encodeURIComponent: encodes ?, & and = too — for query values.
Result
Ready — enter content, then encode/decode.
The result appears here.
How to use URL Encode / Decode
- Choose Encode or Decode.
- Choose encodeURIComponent (query values) or encodeURI (whole URL).
- Paste your text — the result appears instantly; copy it or download a TXT.
What is URL encoding?
URL encoding (percent-encoding) turns special and non-ASCII characters into `%XX` form so they travel safely in URLs, query strings or forms.
encodeURIComponent vs encodeURI
- encodeURIComponent encodes ?, & and = too — use it for individual query values.
- encodeURI keeps the URL structure (: / ? #) — use it to encode a whole path.
- Space → + the application/x-www-form-urlencoded style common in HTML forms.
Full UTF-8
The tool uses standard browser APIs — accented and non-Latin characters are encoded as proper UTF-8 and decode back to the original.
Why use OneTool?
- Free — no sign-up required, no hidden fees.
- Private — many tools run right in your browser; files are never sent to OneTool's servers.
- Fast — drag and drop, preview, and download in a few steps.
Related tools
- Format JSON Beautify, minify and validate JSON — handy for debugging APIs.
- Regex tester Test regex in real time — highlighted matches, flags, replace and capture groups.
- Base64 encode decode Encode/decode Base64 — Unicode, URL-safe, files and images with preview.
- UUID Hash Slugify UUID, SHA hashes, slugify, Unix timestamps — quick dev tools.
- Video to MP3 Extract audio from MP4, MOV or MKV as 192 kbps MP3 — runs in your browser.