Query String Builder example 1
Input
{"q":"hello world","page":2} Output
q=hello%20world&page=2
Builds a query string from JSON key-value data.
Developer Tools
Review practical Query String Builder examples so you can understand expected input, output, and common patterns faster.
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.
Example pages are especially useful for developer tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
{"q":"hello world","page":2} Output
q=hello%20world&page=2
Builds a query string from JSON key-value data.
Input
utm_source=email utm_campaign=spring
Output
utm_source=email&utm_campaign=spring
Useful when assembling campaign parameters from simple lines.
Fix: Use either a valid JSON object or clean key=value lines.
Fix: Add the domain and path separately if you need a complete URL.
Fix: Review the encoded output carefully if the target system has strict parameter rules.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main Query String Builder page and test your own real input.