Export a SQLite table to JSON
- Open your
.db,.sqlite,.sqlite3or.db3file in SQLite Viewer. It stays in your browser. - Select a table, or write a query that returns exactly the rows you need.
- Click Export above the results and choose the columns to include.
- Pick JSON and the file downloads straight away.
What the JSON looks like
Each row becomes an object keyed by column name, and the file is an array of those objects.
[
{ "id": 1, "name": "Ada", "email": "ada@example.com" },
{ "id": 2, "name": "Linus", "email": "linus@example.com" }
]Shape the output with SQL
Use a query to rename columns with AS, join related tables or filter rows before exporting, so the JSON matches the structure your application expects.
Your data never leaves your device
The conversion runs as JavaScript in your browser tab. The database is not uploaded to a server, so it is safe to use with customer data, app databases and internal files.