Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Data Formats

Query String <-> JSON

Convert a URL query string (with or without a leading "?") into a pretty JSON object, or serialise a JSON object back into a query string. Repeated keys and key[] become arrays, with a configurable array format.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Parse or build from the same box

In parse mode the box takes a query string, with or without a leading ? or #, and returns a pretty JSON object of the parameters. In build mode it takes a JSON object and returns the encoded query string without the ?. Both directions honour the array-format and sort-keys options.

How repeated keys become arrays

A key appearing more than once becomes a JSON array whatever the format. With brackets, tag[]=a&tag[]=b is always an array and the [] is stripped from the key; with comma, a value containing commas is split into members; repeat is the plain key=a&key=b shape.

Decoding and encoding rules

Parsing percent-decodes every key and value and treats + as a space, and a stray % that is not a valid escape raises a clear error. Building re-encodes with encodeURIComponent, so spaces become %20 and brackets become %5B%5D in the brackets format.

Caveats and privacy

Sort keys orders only the top level alphabetically, arrays keep their order, and a nested object value is serialised with JSON.stringify into a single parameter rather than flattened. Nothing is fetched; the parser only reads your text, so query strings carrying tokens or personal data stay on your device.

Questions

How are repeated keys handled?

Any key that appears more than once becomes an array. With the brackets format a key ending in [] is always an array; with the comma format a value containing commas is split.

Is the input URL-decoded?

Yes. Keys and values are percent-decoded and + is treated as a space when parsing, and re-encoded when building.

Can I paste a whole URL?

Only the query part is parsed. Paste everything from the ? onwards, or strip the scheme, host and path first, because the tool looks for & and = pairs rather than splitting a full URL.

See category