PB
Available
code
lock Free · Private · In-Browser

Query String to JSON

Paste a URL or query string to get its parameters as JSON.

Turn a query string into JSON

Reading a long query string by eye is painful, and you often want its parameters as structured data. This parser pulls the parameters from a URL or bare query string and formats them as clean, decoded JSON.

From ?q=hello%20world&tag=a&tag=b it produces an object with q set to “hello world” and tag as an array of a and b. Repeated keys collapse into arrays so nothing is dropped.

Handy and private

It decodes and structures the parameters in your browser, so the URL never leaves your device.

Frequently Asked Questions

What does it accept?

A full URL or just the query part (with or without a leading ?). It extracts the parameters and shows them as a JSON object.

How are repeated keys handled?

Keys that appear more than once become an array of values, so nothing is lost when a parameter repeats.

Are values decoded?

Yes — percent-encoding is reversed, so %20 becomes a space and encoded symbols return to normal.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward