Developer — Free

URL encode and decode

Percent-encoding in component or full-URL mode.

  1. 01Paste
  2. 02Adjust
  3. 03Copy
Paste text to begin. Free
01 — Steps

How to URL encode and decode

  1. Paste

    A string or a full URL.

  2. Choose mode

    Component mode encodes everything reserved; URL mode keeps :/?#& intact.

  3. Copy

    Done.

02 — Questions

Frequently asked questions

What is the difference between the modes?
encodeURIComponent escapes characters like / and ? so a value can sit inside a query string; encodeURI leaves URL structure alone.
Are spaces + or %20?
%20 by default; toggle the form-encoding option for +.
Can it decode a whole URL?
Yes. Paste the full URL and switch to decode; the structure is left intact.
03 — Related
04 — More

More developer tools

All developer tools