Skip to content
GAMETROZ

URL Encoder & Decoder

Percent-encode or decode URLs and query values, and list the key/value pairs of any query string.

Processed locally in your browser.

About URL Encoder & Decoder

URLs can only carry a limited set of characters. Spaces, accents, ampersands and slashes inside a value must be written as percent-escapes such as %20 or %C3%A9, otherwise they break the address or change its meaning.

Component mode encodes everything that is not safe inside one value, which is what you want for a query parameter. Full URL mode leaves the structure (:, /, ?, &, =, #) alone and only escapes the rest. The query parser splits a URL into its keys and values and keeps repeated keys, which makes long tracking links easy to read.

How to use URL Encoder & Decoder

  1. 1Pick Encode or Decode, then choose the mode: component for a single value, full URL for a whole address.
  2. 2Paste your text or URL.
  3. 3When decoding query strings, turn on plus-as-space so form data reads correctly.
  4. 4Use the query parser to list every key and value of a URL, then copy what you need.

Examples

Input

name=Ana & Bob/2026?

Result

name%3DAna%20%26%20Bob%2F2026%3F
Component mode: every reserved character is escaped.

Input

https://example.com/a b?q=café

Result

https://example.com/a%20b?q=caf%C3%A9
Full URL mode keeps the address structure and escapes only the space and the accent.

Input

https://shop.example.com/search?q=red+shoes&size=9&sort=price%20asc

Result

q = red shoes
size = 9
sort = price asc
Query parser: each parameter on its own line, decoded.

Frequently asked questions

Should I use component or full URL mode?

Use component mode for a single piece such as a query value or a path segment. Use full URL mode only when you already have a complete address and want to escape stray spaces or non-ASCII characters without breaking its structure.

Why does decoding fail with a malformed percent-encoding error?

A percent sign must be followed by two hex digits, and the escaped bytes must form valid UTF-8. A lone % (as in 100%) or a truncated sequence such as %E2%98 cannot be decoded.

What does plus-as-space do?

HTML forms write a space as + in query strings, while %20 is used everywhere else. Turn the option on when decoding form data or query strings, and leave it off for paths and other text where a + is a real plus sign.

Guides

Tools guide

How to Format, Minify and Validate JSON

Make messy JSON readable, shrink it again for production, and find the exact line and column of a syntax error, with the five mistakes behind most failures.

· 3 min read

Tools guide

Best Free Online Developer Tools

A tour of the free developer and generator tools in the Gametroz catalog: JSON, Base64, URL, timestamps, hashes, UUIDs, passwords, QR codes and more.

· 3 min read