Convert URL query strings to JSON and back. Parse full URLs or ?key=value pairs, pretty-print, copy — 100% client-side.
| Key | Value | |
|---|---|---|
| Convert a query string or JSON to see parameters here | ||
key=value,
key[]=a&key[]=b,
key[0]=a,
nested user[name]=Ada,
and full URLs. Empty values and keys without = are kept.
Query parameters (also called query strings) are the key-value pairs that appear after the ? in a URL. For example:
https://example.com/search?q=hello+world&page=2&sort=date
Here q, page, and sort are parameters. APIs, search pages, filters, tracking links, and OAuth redirects all rely on them. Turning a query string into JSON makes it easy to inspect, edit, or feed into scripts and tests.
Drop a full URL or just the part after ? into the left panel. Click “Convert to JSON” (or press Ctrl/Cmd+Enter).
The right panel shows pretty-printed JSON. The table below lists every key and value with a copy button.
Change the JSON, then click “Convert to Query” to get a fresh query string. Toggle URL-encode as needed.
Click “Load sample” in the header to try a realistic URL with arrays and nested keys.
Paste a complete URL or only the key=value part - both work.
Supports tags[]=a, tags[0]=a, and user[name]=Ada.
Query → JSON and JSON → query string with one click.
Format JSON for reading or minify it for pasting into code.
Flat list of every key and value with per-row copy buttons.
Nothing is uploaded. Safe for tokens, internal IDs, and private URLs.
Turn a long request URL into readable JSON to check filters, pagination, and IDs.
Convert sample query strings into objects for unit tests.
Inspect campaign parameters without guessing which keys are present.
Parse callback URLs and state parameters quickly.
Pretty-print, change a few values, convert back to a query string.