Add as many key and value pairs as you need and this tool assembles them into a proper, URL encoded query string. Each key and value is percent encoded correctly, so spaces, ampersands, equals signs and unicode characters are all made safe to sit inside a URL. This avoids the classic bug where an unescaped value breaks the link or silently drops a parameter. You can add or remove rows, and the output updates instantly with the leading question mark included so you can paste it straight onto the end of a path. It is ideal for constructing API requests, tracking links or deep links by hand without hunting for an encoding tool. Everything is computed locally in your browser using the native URLSearchParams API, so your values are never sent anywhere.
Yes, each value is percent encoded with the URL rules so characters like spaces and ampersands are safe to drop into any link.
Add a new key and value pair for each parameter; the tool joins them with ampersands and prefixes the whole string with a question mark.
Yes, an empty value produces key= in the output, which is a valid query parameter with no value.
Add as many key and value pairs as you need and this tool assembles them into a proper, URL encoded query string. Each key and value is percent encoded correctly, so spaces, ampersands, equals signs and unicode characters are all made safe to sit inside a URL.
Yes. Query String Builder is completely free, with no sign-up and no usage limits.
Yes. Query String Builder runs in any modern web browser. There is nothing to download or install.
Yes. Query String Builder runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/query-string-builder)