URL Encoder / Decoder

URL-encode text with percent-escapes and decode it back. Handles query strings, parameters and Unicode correctly in your browser.

Runs in your browser
Loading URL Encoder / Decoder...

How to use

  1. 1

    Paste text or an encoded string.

  2. 2

    Choose Encode or Decode.

  3. 3

    Copy the result.

How it works

Encoding uses the standard URI-component rules: reserved characters like &, =, ? and spaces become percent-escapes. Decoding reverses them and rejects malformed sequences with a friendly message.

Frequently asked questions

What is the difference between encoding the full URL and a component?

Component encoding (used here) also escapes /, ? and &, which is safest for parameter values.

Why do some characters not change?

Letters and digits never need escaping; only characters with special meaning in URLs are escaped.

Related tools