Built for privacy. Made for easy access.
Paste JSON, XML or CSV and query it with real PostgreSQL that runs inside your browser tab, or convert it to CSV, JSON or a Markdown table. All from your own device browser only. Nothing is sent to a server.
[
{ "name": "Alice", "department": "Engineering", "salary": 95000 },
{ "name": "Bob", "department": "Marketing", "salary": 75000 },
{ "name": "Carol", "department": "Engineering", "salary": 98000 },
…
]
SELECT department, count(*) AS people, round(avg(salary)) AS avg_salary FROM json_data GROUP BY department ORDER BY avg_salary DESC;
| department | people | avg_salary |
|---|---|---|
| Engineering | 3 | 95000 |
| Sales | 1 | 85000 |
| Marketing | 1 | 75000 |
No database to install, no schema to write. QueryJSON turns your data into a table for you.
Drop in an API response, a log export or a spreadsheet saved as CSV. JSON, XML and CSV are detected automatically.
Nested JSON is flattened into rows and columns. Pick the columns you need, reorder them, search and filter.
Write SQL against the json_data table, or use JSONPath. Download the result as CSV or JSON, or copy it as Markdown.
Real tasks with sample data. Each one opens in the app with the data loaded and the query already run, so you can change it and try your own.
An orders API returns nested JSON. QueryJSON flattens customer.name into its own column, so you can group by it. Nested column names need double quotes in SQL.
{ "orders": [
{ "id": "A-1001", "status": "paid", "total": 129.90,
"customer": { "name": "Priya Shah", "country": "IN" } },
…
]}SELECT "customer.name" AS customer, count(*) AS orders, sum(total) AS spent FROM json_data WHERE status = 'paid' GROUP BY "customer.name" ORDER BY spent DESC;
| customer | orders | spent |
|---|---|---|
| Priya Shah | 2 | 370.4 |
| Lena Ortiz | 2 | 175.24 |
Paste a CSV export straight from a spreadsheet or database. Numbers are detected automatically, so you can do maths on them right away.
Run this exampledate,region,product,units,unit_price 2026-01-05,North,Keyboard,12,49.5 2026-01-05,South,Mouse,30,19.9 2026-01-12,North,Monitor,4,229 …
SELECT region, sum(units) AS units, round(sum(units * unit_price), 2) AS revenue FROM json_data GROUP BY region ORDER BY revenue DESC;
| region | units | revenue |
|---|---|---|
| South | 36 | 1971.00 |
| North | 34 | 1868.20 |
| West | 33 | 893.50 |
Load JSON log entries and summarise them with PostgreSQL features like FILTER, which a plain search box can't do.
[
{ "level": "error", "service": "checkout", "latency_ms": 2300,
"message": "payment gateway timeout", "time": "…" },
…
]SELECT service, count(*) FILTER (WHERE level = 'error') AS errors, round(avg(latency_ms)) AS avg_latency_ms, max(latency_ms) AS slowest_ms FROM json_data GROUP BY service ORDER BY errors DESC;
| service | errors | avg_latency_ms | slowest_ms |
|---|---|---|---|
| checkout | 2 | 1090 | 2300 |
| search | 1 | 580 | 950 |
| auth | 0 | 323 | 600 |
XML is converted to JSON and then to rows, one per repeated element. Values from XML arrive as text, so cast them with ::numeric when you need numbers.
<catalog> <book><title>Dune</title><genre>Sci-fi</genre> <price>9.99</price><year>1965</year></book> … </catalog>
SELECT "book.genre" AS genre, count(*) AS books, min("book.price"::numeric) AS cheapest, min("book.year"::int) AS oldest FROM json_data GROUP BY "book.genre" ORDER BY genre;
| genre | books | cheapest | oldest |
|---|---|---|---|
| Fantasy | 2 | 7.99 | 1937 |
| Sci-fi | 2 | 8.49 | 1965 |
| Thriller | 1 | 6.99 | 2012 |
JSONPath works on the original JSON, however deeply nested. .. searches every level, and [?( )] filters the matches.
{ "store": { "products": [
{ "name": "Hoodie", "variants": [
{ "sku": "HD-02-M", "size": "M", "stock": 0 }, … ] },
…
]}}$..variants[?(@.stock == 0)]| sku | size | stock |
|---|---|---|
| TS-01-M | M | 0 |
| HD-02-M | M | 0 |
| HD-02-L | L | 0 |
Don't need a query? Paste your data and take it out in the format you need. Nested JSON and XML are flattened into rows and columns along the way.
Pick columns and filter rows first, and only those are exported. Query results export the same way.
Convert your dataEverything a quick look at a dataset needs, without leaving the browser tab.
GROUP BY, JOIN, window functions and the PostgreSQL functions you already know.$.users[?(@.salary > 90000)].Most online JSON tools send your file to their server to process it. QueryJSON doesn't have a server that could receive it. The database runs inside the page, your data lives in the tab's memory, and it's gone when you close the tab.
That makes it safe to use with the things you shouldn't paste into a random website: production API responses, customer exports, logs with personal data.
The full source is on GitHub under the MIT license.
The moments when opening a database or writing a script feels like too much.
Against the typical free online JSON converter.
| QueryJSON | Typical online converter | |
|---|---|---|
| Where your data is processed | In your browser | Often on their server |
| Account or sign-up | Never | Sometimes, for larger files |
| Query language | Full PostgreSQL and JSONPath | Rarely more than a search box |
| Formats | JSON, XML and CSV in; CSV, JSON and Markdown out | Usually one conversion per tool |
| Source code | Open, MIT license | Usually closed |
| Price | Free | Free with ads or limits |
No. Parsing, filtering and SQL queries all run in your browser tab. Your data stays in the tab's memory and is gone when you close it.
Open your browser's developer tools, switch to the Network tab, then paste data and run a query. You will see no requests carrying your data. The full source code is on GitHub.
Yes. QueryJSON uses PGlite, which is PostgreSQL compiled to WebAssembly. Your data is loaded into a table called json_data, and you can use WHERE, GROUP BY, JOIN, window functions and the rest of PostgreSQL.
JSON, XML and CSV. Paste them or open a file, and the format is detected for you. XML and CSV are converted to JSON first.
You need a connection the first time, to load the app and the database engine. Once the page has loaded, queries run locally for the rest of the session.
It depends on your device's memory, since everything runs on it. Thousands of rows are comfortable. Very large datasets may be slower on less powerful machines.
Yes. Paste or open your data and click Parse. You can then download it as CSV or JSON, or copy it as JSON or a Markdown table. Nested data is flattened into columns, and only the columns and rows you've selected are exported.
Use SQL for counting, grouping, joining and filtering rows: your data is in a table called json_data. Use JSONPath to pull specific values out of the original JSON, especially when it's deeply nested.
Add as many filters as you need, such as contains, equals, greater than or matches regex. A row has to match every filter to be shown, and exports include only the rows that match.
No. Nothing is stored, not even your queries, so copy any query you want to keep before closing the tab.
Open an issue on GitHub. Bug reports with a small sample of the data that caused the problem are the easiest to fix.
Email [email protected] for questions or feedback. For bugs and feature requests, open a GitHub issue so others can follow along.
Yes. QueryJSON is free, needs no account and is open source under the MIT license.
QueryJSON is free, open source, and has no ads, accounts or tracking. That's how it will stay. It's built and looked after by one developer in their spare time, and keeping it running takes a little ongoing work.
Sponsors help cover that. To give a sense of scale, $1 a year from 50 people would keep QueryJSON running and free for everyone for a whole year.
If it's useful to you and you'd like to help, you can sponsor it on GitHub or buy me a coffee. Starring the repo, sharing it with a teammate or reporting a bug helps too.
Sponsor on GitHubOpen the app and paste your own data. No data at hand? Start with the sample data or one of the examples above.