🔗 Developer tool · 100% in-browser

URL Encoder & Decoder

Percent-encode text and query strings for safe URLs, or decode them back to readable text — all privately in your browser.

Mode
🔒 Your data never leaves your device

How to encode or decode a URL

  1. Choose encode or decode. And whether it's a component or full URL.
  2. Paste your text. A link, query value or encoded string.
  3. Copy the result. Use Swap to run it back the other way.

Frequently asked questions

Is my data uploaded?

No. Encoding and decoding happen entirely in your browser — your data never leaves your device.

What is URL encoding?

It replaces characters that aren't safe in a URL (like spaces, &, ?, /) with percent codes such as %20, so links and query strings work correctly.

Component vs full URL — what's the difference?

'Encode component' also encodes reserved characters like & ? / :, which is right for a single query value. Turn it off to encode a whole URL without breaking its structure.

Why did decoding fail?

Decoding needs valid percent-encoding. If the input has a stray % or malformed code, you'll see an error.