CalculatorsConvertersDeveloperTextAll toolsDirectory
Submit your tool Sign in
Theme
Home/Network/Query String Builder

Query String Builder

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.

How to use Query String Builder

  1. Enter a key and value for your first parameter.
  2. Add more key and value pairs as needed.
  3. Copy the finished encoded query string.

Frequently asked questions

Does it encode my values correctly?

Yes, each value is percent encoded with the URL rules so characters like spaces and ampersands are safe to drop into any link.

How do I add more parameters?

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.

Can I leave a value empty?

Yes, an empty value produces key= in the output, which is a valid query parameter with no value.

What is Query String Builder?

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.

Is Query String Builder free to use?

Yes. Query String Builder is completely free, with no sign-up and no usage limits.

Does Query String Builder work in a web browser?

Yes. Query String Builder runs in any modern web browser. There is nothing to download or install.

Is my data private with Query String Builder?

Yes. Query String Builder runs entirely on your device in your browser, so nothing you enter is uploaded to a server.

Badge

Link this tool from a README, doc or site. The badge links back to this page.

Listed on yourhack.ai

[![Listed on yourhack.ai](https://yourhack.ai/badge/query-string-builder.svg)](https://yourhack.ai/query-string-builder)