Simple online tools for developers, networking, text and conversions.

Developer Tools

Query String Builder

Build a URL query string from JSON or key-value lines.

Tool

Use this query string builder to create URL query strings from JSON objects or simple key=value lines. It is useful for APIs, testing, redirects, search links, campaign parameters, and quick URL construction without building parameter strings manually.

About this tool

Use this query string builder to create URL query strings from JSON objects or simple key=value lines. It is useful for APIs, testing, redirects, search links, campaign parameters, and quick URL construction without building parameter strings manually.

Use query string builder when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Paste a JSON object or key=value lines into the input box.
  2. Run the tool to build the query string.
  3. Review the generated parameter string.
  4. Copy the result into your URL, request, or redirect target.

Examples

Example

Input

{"q":"hello world","page":2}

Output

q=hello%20world&page=2

Builds a query string from JSON key-value data.

Example

Input

utm_source=email
utm_campaign=spring

Output

utm_source=email&utm_campaign=spring

Useful when assembling campaign parameters from simple lines.

Common errors

The input format is mixed or malformed.

Fix: Use either a valid JSON object or clean key=value lines.

The user expects a full URL instead of only the query string.

Fix: Add the domain and path separately if you need a complete URL.

Special characters are not handled as expected.

Fix: Review the encoded output carefully if the target system has strict parameter rules.

FAQ

What input formats are supported?

You can use either a JSON object or simple key=value lines, one per line.

Can it handle arrays?

Yes. Arrays become repeated query parameters with the same key.

What is this useful for?

It is useful when building API request strings, redirects, search links, and campaign URLs.

Is this query string builder free to use?

Yes. It works online in the browser.

When should I use Query String Builder instead of URL Encoder?

Use the builder when you want structured key-value parameters assembled into a full query string. Use the encoder when you only need raw text encoded.

Use cases

Related tools