Web & Color

Query String Parser & Builder

Inspect decoded parameters—including repeated keys—or assemble a correctly encoded query string.


Build a query string

What is this tool?

Query strings carry key/value parameters after the ? in a URL. The parser keeps repeated parameters separate; the builder percent-encodes keys and values.

How to use it

  1. Paste a query and select Parse query.
  2. Review decoded rows in their original order.
  3. Add key/value rows in the builder.
  4. Build and copy the final query.

Example

?tag=web&tag=tools produces two tag entries rather than discarding one.

FAQ

Can parameters repeat?

Yes. Both parser and builder preserve repeated keys.

Why are spaces shown as plus signs?

URLSearchParams uses form-style encoding where spaces serialize as +.

Is the leading question mark required?

No. The parser accepts input with or without it.

Related Tools