Skip to content
Devtoolry

URL Encode / Decode

Percent-encode or decode URLs and query string components.

About the URL Encode / Decode

URLs may only contain certain characters; everything else must be percent-encoded. This tool encodes or decodes whole URLs or individual query values and handles UTF-8 correctly.

Everything runs in your browser, so your input is never uploaded to a server.

How to use the URL Encode / Decode

  1. Choose Encode or Decode.
  2. Pick whether you are encoding a full URL or a single component (such as a query value).
  3. Optionally write spaces as +, then copy the result.

Frequently asked questions

Component or full URL?

Encode a single query value as a component so characters like & and = are escaped. Encoding a full URL keeps its structure characters intact.

Should spaces be %20 or +?

In query strings from HTML forms spaces are +; elsewhere %20 is the standard. Choose to match what the receiving server expects.