Skip to content

URL Encoder & Decoder

Percent-encode and decode URLs, query strings and components.

LOCAL WORKSPACENO UPLOAD REQUIRED

Encoded

The converted value appears here.

About URL Encoder & Decoder

URLs may only contain a limited set of ASCII characters. Everything else - spaces, ampersands inside a value, non-Latin scripts - must be percent-encoded as its UTF-8 bytes so that servers and proxies parse the address the way you intended.

This tool exposes both encoding levels, so you can escape a single query parameter without destroying the URL around it, and also includes a query-string breakdown that shows each parameter decoded.

How URL Encoder & Decoder works in your browser

Component mode uses encodeURIComponent, which escapes reserved characters such as &, ?, / and = — the right choice for a single query value. Full URL mode leaves the structure of the address intact. Characters are encoded as their UTF-8 bytes.

Decoding uses decodeURIComponent and also accepts + as a space, since HTML form submissions encode spaces that way. A query-string breakdown shows each parameter decoded on its own line.

When to use it

  • Escaping a search term or redirect URL before putting it in a query string.
  • Reading a long tracking URL by decoding its parameters.
  • Debugging a request where a value containing & was split in two.

Frequently asked questions

What is the difference between the two modes?

Component mode escapes reserved characters such as ampersand, question mark, slash and equals, which is what you want for a single query value. Full URL mode leaves the URL structure intact.

Why is a space sometimes a plus sign?

Form submissions encode a space as a plus, while general percent-encoding uses %20. The decoder accepts both.

Does it handle non-ASCII characters?

Yes. Characters are encoded as UTF-8 bytes, which is what every modern browser and server expects.

Related tools