Local StudioDATABASE TOOLS

JSON to DuckDB

Convert JSON record arrays to DuckDB tables. Choose an array, including one nested inside an object, or export all discovered arrays.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
JSON to DuckDB with its built-in source and DuckDB settings.
The sample is open and ready to convert.

How to Convert JSON to DuckDB

  1. Open the HTML, review Security Check, then select Continue.
  2. Choose a local JSON File or select Open Sample.
  3. Choose a Record Array or All Discovered Arrays. Select Convert JSON to DuckDB.
  4. Select Download to save the new DuckDB database.

JSON to DuckDB Features

  • Choose a Record Array or All Discovered Arrays.
  • One native DuckDB database with one table per selected record array.
  • Signed 64-bit integer columns and Boolean columns keep their types. Decimals, wider integers, mixed fields, and nested objects use text to preserve their values. Missing and null properties are SQL NULL.

Formats and Compatibility

InputA UTF-8 JSON file containing a nonempty array of objects, directly or inside a wrapper object.
OutputOne native DuckDB database with one table per selected record array.
BrowserA modern browser with local file support.
ScopeSupports UTF-8 JSON files up to 32 MiB and 100,000 rows per selected record array. Each row must be an object. Nested cell values are retained as JSON text.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Conversion Without Uploads

Download the standalone HTML and open your file locally. The conversion engine is included and works offline.

Select Open Sample to see the workflow with the included example.

Supported JSON Files

Supports UTF-8 JSON files up to 32 MiB and 100,000 rows per selected record array. Each row must be an object. Nested cell values are retained as JSON text.

Use the DuckDB Database

Signed 64-bit integer columns and Boolean columns keep their types. Decimals, wider integers, mixed fields, and nested objects use text to preserve their values. Missing and null properties are SQL NULL.

Frequently Asked Questions

Can I convert JSON to DuckDB offline?

Yes. Open the downloaded standalone tool in a browser with local worker and WebAssembly support.

Does this change the original file?

The converter creates a separate DuckDB database. The original file remains unchanged.

Can the tool find nested JSON arrays?

The record array selector shows JSON paths for discovered arrays of objects. Each selected array becomes its own table.

What happens to nested fields and exact decimals?

Nested fields are stored as JSON text. Exact decimal and wide integer tokens are stored as text.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.