Loona Automation logoLoona Developer Tools
Home › Data Converters

Query String to JSON Converter

In short: paste a query string (with or without the leading ?) and get structured JSON — bracket keys become nested objects, repeated keys become arrays.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

q=loona%20tools&page=2

Output:

{
  "q": "loona tools",
  "page": 2
}

About this converter

Debugging an API call usually starts with reading its query string, and bracket-encoded strings defeat the human eye quickly. This parser inverts the mainstream encoding: %XX decoding with + as space, a[b][c] paths building nested objects, repeated keys collecting into arrays, and clean numeric values typed as numbers. It is deliberately strict about one thing — malformed percent-escapes are reported, because a query string with a broken escape was usually truncated in a log, and knowing that beats a silently wrong parse.

Frequently Asked Questions

Does + mean space here?

Yes — in query strings + is the form-encoding space. A literal plus arrives as %2B and decodes to +.

What if the same key appears with brackets and without?

Values merge into an array at the colliding key — the parse stays lossless rather than picking a winner.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.