Skip to content
Accessibility
Theme
Text size
High contrast
Limit animations
Readable fontAtkinson Hyperlegible
Increased text spacing
Underline links
Always show focus

Runs in your browser — nothing you paste is uploaded.

URL Encode & Decode

Percent-encode text for URLs and decode it back. Component mode for query values, full mode to keep a URL's structure. UTF-8 safe, runs in your browser.


    

Component vs full

Component uses encodeURIComponent — it escapes reserved characters like &, =, ?, /, so the result is safe to drop into a single query-string value. Full uses encodeURI, which leaves URL structure characters intact so a whole URL stays usable.

Decoding

Decoding turns %20 back into a space, %C3%A9 back into é, and so on. It accepts either encoding.

Privacy

All encoding runs locally; nothing is uploaded.

Frequently asked questions

Component or full encoding — which do I use?

Component (encodeURIComponent) for a single value like a query parameter; it escapes &, =, ? and /. Full (encodeURI) for a whole URL you want to keep working; it leaves those structural characters intact.

Does it treat + as a space when decoding?

Yes — the decoder converts + to a space (the form-encoding convention) as well as %20, so pasted query strings decode as expected.

Related tools