viewhack

SQLite viewer: open .db and .sqlite files in your browser

Drop a SQLite database to see every table with its row count, the CREATE statement behind it, the rows in a grid you can scroll and sort, and a SQL box that can only read. It runs real SQLite (3.49.1, compiled to WebAssembly by sql.js 1.14.2) inside this tab.

The database is opened on your device. It is never uploaded.

What it shows

The SQL box can only read

The database is opened with PRAGMA query_only = ON, so SQLite itself refuses any write. On top of that, the box accepts one statement at a time and only SELECT, WITH … SELECT, VALUES, EXPLAIN and reading PRAGMAs such as table_info and integrity_check. The engine works on a copy in memory anyway, so nothing typed here could change the file on your disk.

Queries worth knowing:

Files that are SQLite inside

viewhack goes by the file's first 16 bytes, not its extension, so these open too:

What it cannot open

Size limit

Unlike the CSV and Parquet viewers, which read the file piece by piece, SQLite here needs the whole database in memory. The file is read into the tab, then copied into a WebAssembly heap that cannot grow past 2 GB. The page warns above 300 MB. Databases of a few hundred MB usually open on a desktop. On a phone, 100 to 200 MB can already fail. If yours is bigger, the sqlite3 command-line tool opens it without loading it all.