$ ToolBench
/tools/url-encoder

URL Encode & Decode

Paste text to percent-encode it for a URL or query string, or paste an encoded URL to decode it back into readable characters.

Runs in your browserNo signupNothing uploaded
url-encoder
Loading tool…

What this tool does

  • Encode for full URLs or for query-string components
  • Decode %20 and other percent escapes back to text
  • Uses the browser's standard encodeURIComponent / decodeURIComponent
  • Instant and entirely local

Also known as: percent encoding, url decoder, uri encoder.

Frequently asked questions

What is the difference between the two encode modes?

Component mode (encodeURIComponent) escapes characters like & ? = / so a value is safe inside a query parameter. Full-URL mode (encodeURI) leaves those structural characters intact so a whole address stays usable.

Why is a space sometimes + and sometimes %20?

In query strings built by HTML forms, a space becomes +. In the path and modern URLs it becomes %20. This tool uses %20 (the URI standard); decoding accepts both.

Is my data private?

Yes. Everything runs in your browser with JavaScript — nothing you type or paste is uploaded, logged, or sent to a server. You can disconnect from the internet after the page loads and it still works.

Related tools

All developer & data tools