URL Encoder / Decoder

Percent-encode and decode URLs. Component mode (query values) and full-URL mode.

Updated

Input
Output

How to encode or decode a URL

  1. 1
    Choose a modeEncode or decode — the output updates as you type.
  2. 2
    Pick a variantComponent escapes everything that isn't a URL-safe character. Full URL preserves reserved chars like :/?&=.
  3. 3
    Copy or swapCopy the result, or swap to chain decode → encode (or vice versa).

Frequently asked questions

Component vs full URL?
encodeURIComponent escapes every reserved character (:, /, ?, &, =, …) so it's safe to drop inside a query value. encodeURI only escapes characters that shouldn't appear in any URL.
Why is my decoded output mangled?
If the percent sequences aren't valid UTF-8, decoding fails. Check the input for dangling % signs or half-escaped sequences.
Are the URLs I encode or decode stored anywhere?
No. All encoding and decoding happens in your browser.

Related tools

See all 73 free tools

Need a custom dev tool for your team?

We build internal tools, dashboards, APIs, and SaaS platforms. If you can describe it, we can ship it.

Built by CountryDevs · No signup · No ads · We count visits, never what you enter