Toolskits

Online tool

URL encoder and decoder

Turn spaces and special characters into %20-style codes for web addresses, or decode them back to readable text.

Loading the tool…

  1. Choose encode or decode
  2. Paste your text

More text and generator tools

See all text and generator tools · All utilities

About url encoder and decoder

Web addresses may only contain a limited set of characters. URL encoding (percent-encoding) replaces the others with a percent sign and two hex digits: a space becomes %20 and é becomes %C3%A9. This tool encodes and decodes in both directions.

Use the default mode to encode a single value, such as a search term in a query string. Tick Whole URL to keep the characters that give a URL its structure (: / ? & = #).

How to encode or decode a URL

  1. Choose encode or decodeAt the top.
  2. Paste your textThe result appears below.

Good to know

Frequently asked questions

What is the difference between the two modes?

Component mode (the default) encodes everything except letters, digits and - _ . ! ~ * ( ). Whole-URL mode leaves : / ? & = # and similar characters alone.

Is my text sent to a server?

No. Everything is calculated in your browser, so your text stays on your device.

Other Toolskits tools