Query String Builder

Add key/value rows; get a correctly URL-encoded query string out. Supports array (a[]=1) and bracket-less repeated keys.

Enter input above to see the result.

What is this for?

A query string is just a list of key/value pairs glued together with ?, =, and &, but writing one by hand correctly is fiddly: spaces become %20 (or +, depending), each value gets percent-encoded, and arrays have at least three competing conventions. This tool lets you type the keys and values you want, ticks "multi" for the ones you want repeated, and produces the correctly-encoded string ready to paste after ?.

When to use it

Common gotchas