Query String Generator
About this tool
Hand-building name=Tom&age=20 is easy to get wrong. Paste JSON into this Query String Generator, or reverse a query string into an object.
Features
- Object to query string
- Query string back to an object
- Local, for GET construction
How to use
- Paste a JSON object on the left and convert JSON → Query String.
- Or paste name=Tom&age=20 on the right and convert Query String → JSON.
- Copy the result into the URL Parser or API debugger if you need to keep going.
When to use it
- JSON params must hang on a URL
- A long address bar should become an object
- Percent-encoding is a different tool
Examples
- {"name":"Tom","age":20} becomes name=Tom&age=20.
- Repeated keys such as a=1&a=2 follow the on-page rule.
FAQ
Do keys need quotes?
Unquoted keys such as name:"Tom" are accepted. Conversion stays in the browser.
Is this URL encoding?
This page maps objects to query strings. Use URL encode/decode for percent-encoding only.
Back to DevOps Tools Hub
Guides