Query string builder
Convert key-value pairs into a URL query string with proper encoding.
Query string builder
A query string is the part of a URL that comes after the question mark, carrying data as key-value pairs separated by ampersands. This tool builds one from a simple line-by-line list: paste one parameter per line in either "key=value" or "key: value" format, and it instantly generates a complete, properly encoded query string ready to append to a URL. This is essential when you need to construct search queries, filter parameters, tracking codes or any data-driven URLs by hand.
The builder automatically URL-encodes both keys and values, replacing spaces with %20, ampersands with %26, equals signs with %3D and other special characters with their encoded equivalents. This prevents accidental parsing errors when parameters contain punctuation, spaces or symbols. Every unsafe character gets the percent-encoding treatment so your URL remains valid. Blank lines are skipped, so you can paste messy input and the tool will clean it up automatically, leaving you with a perfectly formatted query string.
A checkbox option lets you control whether the output includes the leading question mark (on by default, so the string is immediately usable in a URL). The live tally counts how many parameters you have built. Copy the result, download it as text, or send it to other tools. Everything runs entirely in your browser, so your input never leaves your device.