Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Developer Utilities

SQLite Viewer

Inspect a SQLite database without installing anything: open the file, see every table with its column and row counts, dump the CREATE statements, and query the data. Results export as CSV or JSON, and every statement is checked before it runs, so nothing can change the database.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

1 · Choose the database

Drop a SQLite file here, or browse

.db, .sqlite, .sqlite3 or .db3. Opened on this device with SQLite in WebAssembly — nothing is uploaded.

    2 · Explore the tables

    Pick a table to browse its rows, or view its CREATE statements. The list and the row counts come from the database itself.

    3 · Run a statement

    Read-only. SELECT, WITH, VALUES, TABLE, EXPLAIN, metadata PRAGMAs and the .tables / .schema shortcuts run; anything that writes is refused.

    How it works

    Opening a database without a server

    Choose a .db, .sqlite, .sqlite3 or .db3 file and the viewer reads its bytes into a background worker, where sql.js — SQLite compiled to WebAssembly — opens a copy. The file itself is only ever read: the copy lives in memory for one run and is then discarded, so the file on disk is never modified and nothing is uploaded.

    Read-only by construction

    SQL is not executed blindly. Every statement is scanned first — strings, quoted identifiers and comments are masked out — then classified against a whitelist. SELECT, WITH … SELECT, VALUES, TABLE, EXPLAIN and a set of metadata PRAGMAs are allowed; everything else is refused with the reason. That also catches a read that hides a write, such as a CTE ending in INSERT, and input holding more than one statement.

    Browsing, querying, exporting

    The table list shows each table or view with its column and row count, and clicking a name runs a bounded SELECT for you. From there, write your own statement, raise the row limit, and export the full result set as RFC 4180 CSV or JSON — an array of objects keyed by column, with BLOBs base64-encoded. The preview is capped to keep the page responsive; the export is not.

    How the schema dump works

    The schema view reads sqlite_master, so it shows the exact CREATE TABLE, CREATE VIEW, CREATE INDEX and CREATE TRIGGER statements the database stores, in one copy-pasteable script. Point it at a single table to see only that table and the indexes and triggers that belong to it.

    Questions

    Is my database uploaded anywhere?

    No. The file is read from your disk into this tab and opened with sql.js, a WebAssembly build of SQLite that runs in a background worker. Nothing is sent to a server, and the tool keeps working offline.

    Can I edit rows or change the schema?

    No, and that is deliberate. INSERT, UPDATE, DELETE, REPLACE, CREATE, DROP, ALTER, ATTACH, DETACH, VACUUM and transaction statements are all refused before they reach the engine, and PRAGMAs that write are refused too. Use a desktop SQLite client to make changes.

    Which statements can I run?

    SELECT, WITH … SELECT, VALUES, TABLE, EXPLAIN, the metadata PRAGMAs (table_info, index_list, database_list and friends), and the .tables and .schema shortcuts. One statement per run, so a second statement after a semicolon is rejected.

    How large a database can it open?

    Up to 200 MB. The whole file is held in memory while you browse, so very large databases may be better served by a desktop tool or by exporting a subset with the sqlite3 command line first.

    See category