Developer tool

URL Encoder / Decoder

Encode or decode URL components, including spaces, query values and Unicode characters. Invalid decoding is reported instead of guessed.

How to use URL Encoder / Decoder

  1. Paste a query value or an encoded string.
  2. Choose encode or decode.
  3. Copy the result into your URL or code.

Examples

Space in a query

blue bag encodes to blue%20bag.

Unicode

café encodes to caf%C3%A9.

Privacy

Strings are not logged.

FAQ

Is this encodeURI or encodeURIComponent?

encodeURIComponent, which is the safer choice for query values.

Why did decode fail?

Incomplete percent sequences such as %ZZ are rejected.

What happened to the old decoder page?

URL Decoder now lives on this combined page. The old decoder URL redirects here.

Related tools