Skip to content
DoItJag

SQLite Viewer

Look inside a SQLite database without installing DB Browser or any other software. See every table and view with its columns and row count, page through the rows, run your own SELECT queries, and save a table or a query result as CSV or JSON. The file is opened read-only and never leaves your device.

The first time you open a database, your browser downloads the SQLite engine (about 690 KB) from cdn.jsdelivr.net and keeps it in its cache. Your database file stays on your device and is opened read-only.

or drop a file here · SQLite (.db, .sqlite, .sqlite3) · up to 200 MB

Processed on your device. Your files are not uploaded.

About the SQLite viewer

SQLite is the small database engine inside phones, browsers, desktop apps and countless scripts. Its data lives in a single file, often ending in .db, .sqlite or .sqlite3. When you are sent one, or find one in an app’s folder, you normally need a desktop program to read it. This page reads it in the browser instead.

When to use it

  • Checking what an app stores about you, from a copy of its database file.
  • Pulling a table out of a project’s database for someone who only uses spreadsheets.
  • Quick checks during development, without a terminal.
  • Answering a one-off question with a GROUP BY rather than scrolling thousands of rows.

Worked example

The sample database is a tiny made-up shop with customers, orders, an order items table and a view. To see how many customers each city has, type:

SELECT city, count(*) AS n
FROM customers
GROUP BY city
ORDER BY n DESC;

The result shows Mumbai with 2 and the other cities with 1 each. Export result as CSV writes those rows to a file and shows its first lines before you download it.

How the read-only mode works

The database is copied into memory and SQLite’s own query_only setting is turned on, so any statement that would write is refused with a clear message. ATTACH is blocked, so a query can reach only the file you opened. Queries run in a background worker; if one takes too long, press Stop and the file is reopened automatically for your next query.

Good to know

  • The limit is 200 MB per database, and the whole file must fit in memory.
  • Up to 1,000 rows of a query are shown on screen; exports include every row.
  • Binary (BLOB) cells are shown as their size, and written to JSON as base64 text.
  • The SQLite engine (about 690 KB) is fetched from jsDelivr the first time and cached by your browser.
  • To turn an exported CSV into JSON afterwards, use CSV to JSON.

How to use SQLite Viewer

  1. Choose a .db, .sqlite or .sqlite3 file, or press Try a sample database.
  2. Pick a table to browse its rows, or type a SELECT query and press Run query.
  3. Export a table or a query result, check the preview, then download the CSV or JSON.

Privacy: how it works

Your files are processed on your own device by your browser. They are not uploaded to any server. The SQLite engine itself (about 690 KB) is downloaded once from cdn.jsdelivr.net.

Frequently asked questions

Can this change my database?

No. The file is copied into your browser's memory and opened with writes switched off, so INSERT, UPDATE, DELETE and DROP are refused. Your original file is never touched.

Why can't it open my database?

Encrypted databases (for example SQLCipher files, or WhatsApp’s .crypt backups) cannot be read without the key and are rejected. If the app was still running, recent changes may sit in a separate -wal file that is not included.

How big can the database be?

Up to 200 MB. The whole file is loaded into memory, so very large databases may fail on phones or devices with little memory. A query that runs too long can be stopped with the Stop button.