URL Encoder & Decoder
Percent-encode or decode URLs and query strings online for free — choose full-URL or single-value encoding. Runs entirely in your browser.
100% private — runs entirely in your browser. Your files never leave your device.
“Encode whole URL” uses encodeURI (keeps URL structure); leave it off to use
encodeURIComponent, which escapes everything — the right choice for a single query-string value.
Runs entirely in your browser.
How to use the URL Encoder & Decoder
- Choose Encode or Decode.
- Paste your text or URL.
- Pick whole-URL or single-value encoding.
- Copy the result.
What you can use it for
- Percent-encode query-string values
- Decode hard-to-read encoded links
- Fix broken URLs with special characters
- Build safe tracking and share URLs
More free tools
Wrangling code or data?
Format, encode, hash and minify with our free developer tools — 100% in your browser.
Browse all free developer tools →Frequently asked questions
What's the difference between the two encode modes?
'Encode whole URL' uses encodeURI and keeps URL structure (: / ? & #). The default uses encodeURIComponent, which escapes everything — right for a single query-string value.
Why decode a URL?
Percent-encoded links (with %20, %3D, etc.) are hard to read; decoding restores the original characters.
I get an error when decoding — why?
A stray '%' or a malformed escape sequence makes the input invalid. Check for incomplete %XX codes.
Is my data private?
Yes — nothing is uploaded; encoding and decoding happen in your browser.