URL Encode / Decode

Use this free URL encode/decode tool to percent-encode query values or decode URL-encoded text, with optional plus-for-spaces handling.

All tools
Research-backed assumptions Formula steps Examples included Private in-browser use
URL-encoded componentprice%3D10%26tax%3D2

Text to percent-encoding

Input length
14
Output length
20
Spaces
%20 URI style

Formula steps

  1. Read the text as a URL component, such as a query value.
  2. Percent-encode reserved characters that would change URL meaning.
  3. Treat spaces as %20 for URI-style values.

How to use the url encode / decode

  1. Choose Encode for readable component text or Decode for percent-encoded text.
  2. Turn on plus-spaces only when working with form-style values.
  3. Press Run URL tool to convert the component value.
  4. Encode query values and full URLs differently; this tool is best for components.

Common uses

Encode a query value that contains &, =, spaces, or punctuation.

Decode percent-encoded text back into readable text.

Handle plus signs as spaces for form-style values.

Check developer examples locally in the browser.

Examples

Encode query value price=10&tax=2

price%3D10%26tax%3D2

Decode query value price%3D10%26tax%3D2

price=10&tax=2

Form spaces hello tools

hello+tools when plus mode is on

Frequently asked questions

Plain-language answers about when to use the tool, what it does with your inputs, what to double-check, and how privacy works.

When should I use the URL Encode / Decode?

Use it when your task matches one of these common needs: Encode a query value that contains &, =, spaces, or punctuation. Decode percent-encoded text back into readable text. It works best when you already know the values, dates, units, or settings the page asks for.

What is the URL Encode / Decode doing with my inputs?

In plain language: The tool uses percent-encoding for URL components: reserved characters become percent signs followed by two hexadecimal digits. The examples on the page are there so you can compare your inputs with a filled-out calculation before copying the answer.

What should I double-check before trusting the answer?

Encode complete URLs and individual URL components differently. This tool is best for component values such as query parameters. Also check that you used the right unit, date, scale, or mode because small input changes can change the result.

Does the site save what I enter?

No. The calculator runs in your browser tab. Your recent answers stay only on the page while you use it, and they are not sent to a server.

Related tools