URL encode / decode online

Encode or decode URL strings — full UTF-8 support, encodeURIComponent / encodeURI and form (+) style.

Source

0 characters Encode

encodeURIComponent: encodes ?, & and = too — for query values.

Result

Ready — enter content, then encode/decode.

0 characters
The result appears here.

How to use URL Encode / Decode

  1. Choose Encode or Decode.
  2. Choose encodeURIComponent (query values) or encodeURI (whole URL).
  3. Paste your text — the result appears instantly; copy it or download a TXT.

What is URL encoding?

Illustration of developer tools: JSON, Base64, Regex

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