Skip to content

URL Encode

Percent-encode a URL component, or encode a form value where spaces become +. This tool does not parse or navigate to full URLs.

Conversion runs only in this browser. Input and output are not uploaded.

Input size: 0 B.

Settings

Component: space → %20. Form: space → +. A literal + always becomes %2B.

How this converter works

Component mode uses URI-component percent encoding; form mode additionally represents spaces as plus signs.

  • Component mode is the default.
  • Literal plus signs become %2B in both modes.
  • Unpaired UTF-16 surrogates are rejected instead of crashing.

Frequently asked questions

Does this encode a complete URL?

No. It encodes text for a URL component or form value without parsing a URL.

Does it upload the value?

No. Encoding happens in this browser only.

Using this tool

Percent-encode a URL component

Encode text as a URL component by default, or as a form value when the form mode is selected.

Input and output

Example: component mode changes `a b+c` to `a%20b%2Bc`; form mode uses `a+b%2Bc`.

Important behaviour

Component mode preserves the distinction between a literal plus and a space; form mode follows form-value conventions.

Keep in mind

The route encodes text only. It does not parse, visit, or fetch a URL.

Conversion is performed in the browser. Copying or downloading happens only when you choose those actions.

🔗 Related tools

Other Helpful Tools

A few related projects that pair well with this tool. Fast, focused, and privacy-friendly.