JSON to Query String Converter
Convert JSON objects to URL-encoded query strings and back. Supports bracket/dot notation for nested keys, arrays, and full RFC 3986 percent-encoding — 100% in-browser, free.
Loading tool...
What is JSON to Query String Converter?
A JSON to Query String Converter is a bidirectional tool that transforms JSON objects into URL-encoded query strings (the key=value pairs after the ? in a URL) and parses query strings back into structured JSON. It supports nested objects via bracket notation (a[b][c]=1) or dot notation (a.b.c=1), arrays as repeated keys or indexed keys, and full RFC 3986 percent-encoding of special characters. Everything runs entirely in your browser.
Key Benefits
- Build API request URLs from structured JSON without manual string concatenation
- Correctly percent-encodes spaces, unicode, and reserved characters per RFC 3986
- Handles deeply nested objects and arrays that simple builders cannot
- No upload required — all conversion happens client-side
Common Use Cases
- •Constructing query parameters for REST API endpoints from JSON payloads
- •Debugging and inspecting incoming query strings by parsing them to readable JSON
- •Encoding complex filters with nested objects for search and listing pages
- •Serializing form data or configuration into shareable URL parameters
How to Use the JSON to Query String Converter
- Choose a direction: Select JSON to Query String or Query String to JSON using the tabs at the top.
- Paste your input: Paste a JSON object or a query string into the input box, or click Load Example to try a sample.
- Click Convert: Hit the Convert button. Nested keys become bracket or dot notation and all values are percent-encoded.
- Copy or download: Copy the result to your clipboard or download it as a .txt or .json file.
Key Features
- Bidirectional: convert JSON to query string and query string back to JSON
- Nested objects via bracket notation (a[b][c]=1) or dot notation (a.b.c=1)
- Arrays as indexed keys (a[0]=1) or repeated keys (a=1&a=2)
- RFC 3986 percent-encoding of all keys and values
- Optional skipping of null and undefined values for cleaner URLs
- 100% in-browser, no data sent to any server