URL Encoder

Encode or decode URL text locally. Component, full URI, or percent-decoding.

Added 2026-10-24

What it does

URL Encoder percent-encodes or decodes text in this tab. Component mode follows encodeURIComponent and escapes ? & = #. Full URI mode follows encodeURI and leaves those characters in place so a complete URL keeps its structure. Spaces can be written as %20, or as + when you are reading or writing application/x-www-form-urlencoded. A plus sign stays a plus sign unless that option is on. A broken % sequence is reported instead of being skipped. This is not Base64. Encoding a query value does not produce the alphabet of letters, digits, plus, and slash. The text is not uploaded.

How to use it

  1. Component encoding escapes almost everything, including ? and &. Full URI encoding keeps the characters that structure a URL.
  2. Turn on + for spaces when you are building or reading application/x-www-form-urlencoded text.
  3. Decoding stays in this tab. A bad % sequence is reported instead of being skipped.

Common mistakes

  • Component and full URI are different. encodeURIComponent escapes ? & = #. encodeURI leaves those in place so a whole URL still has its structure.
  • + is a space only when you ask. In form bodies, + means a space. Leave the option off to keep a literal plus sign.

The text stays in this tab. It is not uploaded.

Related guides

  • Base64 is not URL encoding

    Base64 maps bytes to an alphabet. URL encoding percent-escapes characters. A query string needs the second, not the first.

Related tools