URL Encoder / Decoder (Suite)

Two-way encoder and decoder with query parameters table

Percent-encode text for safe use in URLs, or decode %XX sequences back to readable text - including double-encoded URLs - with query parameters listed as a table.
Try an example:

Output will appear here...

About URL Encoder / Decoder (Suite)

How it works

  1. Encode: characters that have special meaning in URLs (space, &, =, ?, /, #…) and all non-ASCII characters are converted to UTF-8 bytes, each written as % followed by two hex digits.
  2. Decode: every %XX sequence is turned back into its byte, and the bytes are read as UTF-8. "+" is treated as a space, as in HTML form data.
  3. With "Decode repeatedly", text encoded several times (e.g. %2520) is decoded until nothing changes. Query parameters in the result are listed in a table.

What you need

  • Any text or URL. For decoding, every % must be followed by two hexadecimal digits.

Tips

  • "Query value" encoding is right for a single parameter value; "Full URL" keeps the URL structure (: / ? & =) intact.
  • Seeing %2520 in a URL? It was encoded twice (%25 is the percent sign itself).

Runs in your browser. Everything happens in your browser - the text you enter is never uploaded.

Frequently asked questions

Why do URLs need encoding?+

URLs may only contain a limited set of ASCII characters, and some characters (? & = / #) have special meanings. Encoding lets you include spaces, symbols and other languages without breaking the URL.

Should a space be %20 or +?+

Both mean a space in query strings submitted by HTML forms. In paths, only %20 is correct. When unsure, use %20.