URL Encoder & Decoder

Percent-encode text for safe use in URLs or decode it back, with component, full-URI and form (application/x-www-form-urlencoded) modes. Private and instant, all in your browser.

Encoded

URL encoding (percent-encoding)

URLs may only contain a limited set of characters, so anything else, spaces, accents, &, ? and so on, is replaced with a % followed by its byte value in hexadecimal. Component mode escapes every reserved character, which is what you want for a single query value. Full URI keeps the structural characters so a whole address stays usable. Form mode matches HTML form submissions, encoding spaces as +.

All encoding happens in your browser, nothing is uploaded.

What this does

A URL encoder percent-encodes text so it is safe inside a URL, and decodes it back, with component, full-URI and form modes.

How to use it

  1. Paste text or an encoded string.
  2. Choose encode or decode.
  3. Pick the mode.
  4. Copy the result.

How it works

Component mode escapes every reserved character for a single value; full-URI mode keeps structural characters like :/?#&= intact; form mode encodes spaces as + to match HTML form submissions.

Example

“a b&c” in component mode becomes “a%20b%26c”.

Sources & methodology

Last updated .

Frequently asked questions

When should I use Component vs Full URI mode?

Use Component to encode a single value such as a query parameter, it escapes every reserved character. Use Full URI to encode an entire address, keeping structural characters like :/?#&= intact.

What is form mode?

Form mode matches how browsers submit HTML forms (application/x-www-form-urlencoded), encoding spaces as + rather than %20.

Why did decoding fail?

An error means the input has a malformed percent-escape, such as a lone % or %ZZ. Check the highlighted characters and try again.

Is my data private?

Yes. All encoding and decoding runs locally in your browser; nothing is uploaded.