Antpact Toolbox
中文
Home › Utilities & Developer › URL Encode / Decode

URL Encode / Decode

Encode or decode URLs with encodeURI / encodeURIComponent.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Pick encode or decode.
  2. Pick the standard: encodeURI or encodeURIComponent.
  3. Paste and convert live.

FAQ

encodeURI vs encodeURIComponent?

The former keeps URL structural chars; the latter also encodes & = #.

Space as %20 or +?

This tool uses %20; some form submits use +, a different convention.

About this URL Encode / Decode

Local only. encodeURIComponent encodes more chars (e.g. & = #) and suits parameter values.