A SQLite browser for Mac and Windows
By Tanin Na Nakorn · Updated
SQLite files are everywhere: app data, test fixtures, a side project's database, the file a tool left behind. The
sqlite3 command line is always there, but reading wide tables in it is painful. Superintendent opens the
file in a grid.
Open a SQLite file
Click + next to Databases, choose SQLite, and pick the file. Its tables and views show up in the sidebar.
Browse and edit
Open a table to see it in a grid. Sort and filter any column, and scroll through all the rows. To change data, click Edit above the grid and change a cell, add a row, or delete one. Each change is written to the file by the row's rowid or primary key, so it touches exactly that row.
Run SQL
Open a query tab, pick the SQLite database next to Run, and write SQLite SQL. The editor highlights syntax, autocompletes table and column names, and formats your query.
select
c.name,
count(o.id) as orders,
sum(o.total) as spent
from customers c
join orders o on o.customer_id = c.id
group by c.id
order by spent desc
limit 50
Join SQLite with a CSV
Download a SQLite table into the local workspace, import a CSV next to it, and join them. Useful for checking an app's data against an export, or enriching a table without changing the file:
-- users: downloaded from app.db
-- crm_contacts: imported from a CSV export
select u.id, u.email
from users u
left join crm_contacts c on lower(c.email) = lower(u.email)
where c.email is null
Save the workspace as a .super file to keep the connection and your queries for next time.
What it doesn't do
Superintendent doesn't create SQLite files or design tables, and CSVs are imported into its own workspace, not into
your SQLite file. For schema changes, run CREATE or ALTER statements in a query tab, or
use a tool like DB Browser for SQLite.
Questions
Can I edit tables that don't have a primary key?
Yes. Ordinary SQLite tables have a hidden rowid, and Superintendent uses it to change exactly one row. WITHOUT ROWID tables use their primary key.
Which files can I open?
Any SQLite database file, whatever the extension: .db, .sqlite, .sqlite3, or an app's data file.
Can I import a CSV into my SQLite database?
CSV files are imported into Superintendent's local workspace, not into the SQLite file. You can join them with your SQLite tables there.
Is it free?
Yes. Superintendent is free and open source under the MIT license, for Mac and Windows.