ducklet

JSON and JSON Lines viewer

Turn a JSON file into a table

Drop a JSON array or a JSON Lines file and see it as rows and columns, nested fields included. Query it with SQL and chart it, all in your browser.

or try an example: USGS earthquakes this week (GeoJSON) ›

how it works

  1. Drop a .json, .jsonl or .ndjson file on the box above, or paste the address of an API that returns JSON with CORS.
  2. DuckDB reads its structure and turns each record into a row; nested objects become columns you can unpack.
  3. Change the query to pick fields, unnest lists, and chart the result.

questions

Does it handle nested JSON?

Yes. Nested objects become struct columns and arrays become lists; SQL like unnest() and a.b.c reach inside them.

Can it read a live API?

Yes, when the API allows browsers to read it (CORS). Paste its address and the rows are read live in the tab.

Is the data uploaded?

No. The file is read in your browser by DuckDB and stays on your device.

see it done

more tools

Parquet viewerCSV viewerQuery a CSV with SQLGeoJSON viewerCSV to chart