URL Encoder / Decoder

Encode or decode URL components, complete URLs and form query values locally.

Local processing · No uploads · No input history

Ready. Enable JavaScript to use the controls. Inputs stay local.

How it works

Paste a value into Input. Choose Component for one path or query value; choose Whole URL to preserve URL delimiters. Choose Form query value when spaces should use plus signs. Click Encode or Decode and inspect the result. Copy the result; Clear removes both fields. Use Example to explore without private data. Whole URL uses encodeURI/decodeURI and preserves reserved URL separators. Component mode uses encodeURIComponent/decodeURIComponent and treats delimiters as data. Form query value mode converts spaces to + and decodes + as space. A literal plus encodes as %2B. Malformed escapes, invalid UTF-8 and unpaired Unicode surrogates are rejected. This tool does not fetch or navigate to entered URLs.

Interpret results and limitations

Whole URL uses encodeURI/decodeURI and preserves reserved URL separators. Component mode uses encodeURIComponent/decodeURIComponent and treats delimiters as data. Form query value mode converts spaces to + and decodes + as space. A literal plus encodes as %2B. Malformed escapes, invalid UTF-8 and unpaired Unicode surrogates are rejected. This tool does not fetch or navigate to entered URLs.

Example

Use this example to understand the expected behavior before working with your own input.

Component encode: hello world → hello%20world
Form encode: a+b c → a%2Bb+c

Continue your task

base64 — Continue with this related local tool.

QR Code Generator — Continue with this related local tool.

Frequently asked questions

Decoding fails or a plus sign changes?

Check percent escapes and UTF-8 bytes. Choose Component to preserve literal +, or Form query value to treat + as a space.

Is my input uploaded or stored?

No. Processing and results stay in this tab. There is no input history or server processing. Copy and download are explicit actions.

Usage analytics settings

Optional analytics helps us improve tools. Tool input, recordings and search text are excluded from our events. Privacy policy

Usage analytics is off unless you enable it.