SQLite · SQL

SQLite, and SQL for every file.

Open a database table in the grid, join it to a CSV in one query, and export any table as a database or as INSERT statements.

Open a SQLite database as a table

A .sqlite or .db file opens the table you pick — its tables are its sheets, views among them, in the order they were made. Look through it, filter it, query it, and export it to CSV, Excel or Parquet.

A database holds more than the table on show, so saving never writes over it: ⌘S asks where a copy goes, and the database you opened stays exactly as it was, every other table included.

SQL over everything, not just databases

The query console treats every open document as a table: a CSV, a workbook and a SQLite file can be joined in one statement. The dialect is MySQL-flavoured on top of SQLite — backticks, GROUP_CONCAT, DATE_FORMAT, REGEXP — and a MySQL dump can be pasted in as it stands. How to query CSV files with SQL.

Export to a database

Any table exports as a real SQLite database file with one table, or as SQL inserts for a table you name — with or without CREATE TABLE, and with as many rows per INSERT as the server likes.

Questions

Common questions

Can I turn a CSV into a SQLite database?

Yes: open the CSV and export as SQLite database. Numeric-looking columns become numbers in the database.

Open your most difficult file.

Join the beta and we will write to you as soon as your access is ready. Your files never leave your Mac.

macOS 14 Sonoma or later · How we use your address