KitAnvilFree Online Tools

Home / Code & Encoding Tools / URL Encoder / Decoder

URL Encoder / Decoder

Percent-encode or decode URLs and query values without uploading them anywhere.

◆ Toollocal only · files never uploaded

+

Related tools

View all →

Why URLs need encoding

URLs may only contain a limited set of ASCII characters. Spaces, Chinese characters, `&`, `#`, `%`, `+` and non-Latin letters have to be turned into `%XX` escape sequences before they can travel safely through browsers, servers and proxies. This tool does that conversion — and the reverse — instantly.

Component mode vs whole-URI mode

Choosing the wrong mode is the #1 reason a link "works for me" but 404s on the server: in component mode a nested URL gets its `/` and `?` escaped.

Common tasks

Notes

FAQ

Should I use component or whole-URI mode?

For any value going into a query string or form field, use component. For a full URL you want to keep readable, use whole URI.

Why does my link break after encoding?

Almost always a mode problem — component mode escaped the / and ? of a nested URL. Re-encode the whole URL in whole-URI mode, or only encode the value.

Does it handle Chinese characters?

Yes. Non-ASCII characters are UTF-8 encoded first, then percent-escaped, which is what modern servers expect.