URL encoder/decoder

Encode or decode text for use in a URL (percent-encoding). Instant and local.

Runs in your browser ยท nothing is sentEncoding

About this tool

Turn special characters into %-codes or back. Handy for query strings and API calls.

๐Ÿ”’ Your input stays in your browser and is never sent anywhere.

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

This tool uses encodeURIComponent, which also encodes characters such as / ? &. That suits individual parameter values.

What to do next

Also useful

  • Slug generatorTurn any text into a clean URL slug. Removes accents and special characters. Choose hyphens or underscores.
  • URL parserSplit a URL into protocol, host, port, path, query parameters and fragment. Runs locally in your browser.
  • JSON formatterFormat, validate and minify JSON. Shows clear error messages. Processing stays in your browser.

Found a problem or have a suggestion? Tell us