Online Tool Store Online Tool Store

Query String to JSON

Convert a URL query string into readable JSON, inspect repeated parameters, choose value types, and copy or download the result locally.

🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.

Query string workspace

Paste parameters or a complete URL. Parsing stays in this browser tab.

6 parameters parsed from the example.

Leading ? is optional. For a full URL, only the part after ? is used.

5 unique keys; repeated keys are kept as arrays.

How it works

  1. Paste URL parameters such as source=newsletter&limit=24, or paste a complete URL.
  2. The browser separates and decodes each key/value pair, retaining repeated keys in an array.
  3. Choose whether common numbers, booleans, and null values become JSON types, then copy or download the result.

The conversion method

Each parameter becomes one JSON property. A property seen once gets a single value; a property seen again becomes an array so no input is lost.

tag=tools&tag=privacy → { "tag": ["tools", "privacy"] }

FAQ

Does the URL or query string get uploaded?

No. Your input is parsed locally with the browser URLSearchParams API and is never sent to a server.

What happens when a key appears more than once?

Repeated keys are preserved as an array. For example, tag=tools&tag=privacy becomes "tag": ["tools", "privacy"].

Can I paste a complete URL?

Yes. The tool uses the query portion after the question mark and ignores the rest of the URL.

Why are numbers and true/false values not strings?

The conversion option is enabled by default so common JSON values are useful immediately. Turn it off to keep every value as text.

How we compare

FeatureOnline Tool StoreBrowser consoleManual editing
No upload or sign-upYesYesYes
Repeated keys become arraysAutomaticManual codeManual
Copy and download JSONIncludedManualManual

If you need a quick readable conversion without opening developer tools or writing parsing code, Query String to JSON is the direct path.

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.