URL encoder / decoder

Encode or decode a URL, component, or form field.

Up to 100,000 characters. Text stays on your device.

RESULT
Result updated.

Up to 100,000 input characters. Malformed percent escapes and invalid Unicode are rejected. Decoded text is displayed only; the tool never visits a URL.

How it works

Encode or decode text using an explicit full-URL, component, or form-field mode.

Component mode encodes delimiters; full-URL mode preserves URI delimiters. Form-field mode encodes spaces as + and literal + as %2B. Decode performs exactly one pass.

A worked example

In component mode, a b becomes a%20b. In form-field mode it becomes a+b; a literal plus becomes %2B.

A few useful answers

Why does %2F stay encoded in full-URL mode?

Full-URL decoding preserves reserved URI characters to avoid changing URL structure. Use component mode when you want to decode them.

Back to calculator ↑