SQLite Schema Viewer
Follow foreign keys, inspect column definitions and key order, and download stored SQL from a local SQLite snapshot.
- Free
- Works Offline
- No Uploads
How to View SQLite Schema
- Open the HTML, review Security Check, then select Continue.
- Choose a complete SQLite snapshot or select Open Sample.
- Select a schema object or find it with Search Objects. For tables, check Columns and Foreign Keys. Use Drag to Expand below the column grid to change its height.
- Select a named parent table to inspect its primary-key order. Open Stored SQL and choose Copy SQL to copy the selected definition.
- Select Download Schema to save all available stored definitions. Save As also appears when your browser supports the file save picker.
SQLite Schema Viewer Features
- Search tables, views, explicit indexes, and triggers by object or owning table name.
- Inspect column ordinals, types, defaults, NOT NULL flags, generated columns, and declared primary-key order.
- Follow declared foreign keys to parent tables and see each composite pair in SQLite’s order.
Formats and Compatibility
| Input | Complete SQLite snapshot in rollback-journal format, up to 128 MiB. Common extensions include .sqlite, .sqlite3, .db, and .db3. |
|---|---|
| Output | Read-only schema inventory with copyable stored SQL and a Download Schema action for the combined SQL file. |
| Browser | A modern browser with local file support. |
| Scope | Opens complete SQLite snapshots up to 128 MiB. Use a rollback-journal backup or export for WAL databases. The viewer covers stored schema objects and declared keys. It omits SQLite internals and virtual-table shadow tables. Row browsing, SQL execution, editing, and relationship inference are outside its scope. |
| Operating Systems |
Local Processing Without Uploads
This browser-based viewer opens a file on your device with no upload. Use Open Sample to inspect a synthetic shipments database.
Select Open Sample to see the workflow with the included example.
Understand SQLite Database Structure
A composite foreign key matches two or more columns in order. In the sample, lines.order_no maps to shipments.no and lines.ship_region maps to shipments.region. Another foreign key links carrier_code to carriers.code.
Use the Stored SQL
Copy SQL copies the selected object’s stored CREATE statement. Download Schema collects the available definitions in a .sql file. Definitions can depend on the original SQLite build, extensions, or collations.
Frequently Asked Questions
Can I use SQLite Schema Viewer offline?
Yes. Extract the ZIP and open SQLiteSchemaViewer.html in a modern browser.
Where is the SQLite Schema Viewer download?
Use Download Tool ZIP to save the standalone HTML and its instructions.
What can the local SQLite Schema Viewer open?
Choose a complete SQLite snapshot up to 128 MiB. For a WAL-mode database, export a standalone snapshot including the WAL changes and put the copy in rollback-journal mode.
Can I use SQLite Schema Viewer without uploading files?
Yes. The viewer reads the database on your device. The source stays unchanged.
Is this a free SQLite Schema Viewer?
Yes. Local Studio offers the tool free for personal and business use.
How do I open SQLite Schema Viewer in browser mode?
Select Open Viewer on this page or open the downloaded HTML. Select the database file or choose Open Sample.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.