URL Encoder/Decoder

Encode text so it's safe to put in a URL (spaces, symbols and non-Latin characters become %-sequences), or decode an encoded URL back to readable text.

How to URL-encode or decode text

  1. Paste your text or encoded URL into the input box.
  2. Tap Encode or Decode.
  3. Copy the result from the output box.

Frequently asked questions

What exactly gets encoded?

Everything that isn't safe in a URL component: spaces become %20, & becomes %26, and non-Latin text like Hindi becomes its UTF-8 percent-sequence. This is JavaScript's standard encodeURIComponent behaviour.

Why did decoding fail?

Decoding expects valid percent-encoding — a % must be followed by two hex digits. Malformed sequences fail with a clear message instead of producing garbage. A + is treated as a space, as it appears in query strings.

When do I need this?

Whenever a value goes inside a URL: search queries, redirect targets, API parameters, or sharing links containing special characters.