Back to Utilities
CONVERTER

Query String ⇄ JSON

Turn key=value pairs into structured JSON, or serialize a flat JSON object into a query string for APIs and logs.

Accepts: .txt, .json

Duplicate keys become JSON arrays. Runs only in your browser.

Output will appear here…

When this helps

  • Debugging webhook payloads and redirect URLs without dropping data into a random site
  • Turning log lines or curl snippets into JSON you can diff or store
  • Building query strings from config objects for integration tests

Duplicate keys

Browsers use URLSearchParams semantics: repeated keys become a JSON array of strings in the output object.

Query String ⇄ JSON Converter — Free Online Tool | Datamata Studios | Datamata Studios