Independent guide & tools · Not affiliated with DB Browser for SQLite

All tutorials

How to open a SQLite .db file

Identify and inspect a SQLite database safely.

Step-by-step instructions

  1. Make a copy of the database. If it belongs to a running application, use a consistent backup rather than copying only the main file while writes are active.
  2. Open DB Browser for SQLite and select Open Database. Choose the copied .db, .sqlite or .sqlite3 file.
  3. Use Database Structure to inspect tables and Browse Data to view records. A file extension alone does not guarantee SQLite format.
  4. For a quick read-only inspection, use the online viewer. Encrypted files require compatible software and the correct key.

SQL example

Adapt example table names to your database.

SELECT name FROM sqlite_schema WHERE type = 'table';

Try the online SQLite viewer · Desktop installation guide