SQLite Viewer
SQLite Viewer
Open a SQLite database file (.db or .sqlite) right in your browser, browse its tables and run SQL queries. Nothing is uploaded anywhere.
About the SQLite Viewer
This free SQLite viewer opens SQLite database files with the .db or .sqlite extension and lets you look inside them without installing any software. You can list the tables in the database, view their rows and run your own SQL queries, all inside your browser. It works as a SQLite explorer and a SQLite data viewer in one: open the file, see what is in it, and ask it questions with SQL.
SQLite is a small database engine that stores a whole database in a single file, which is why it turns up inside apps, downloaded datasets, and websites. A SQLite opener like this one is useful when you have such a file and want a quick look at it, without setting up a database server or installing a desktop program. The file is read and processed only on your own device. It never leaves your browser, and closing the page removes it from memory.
How to use
- Click the file button and choose a .db, .sqlite, .sqlite3 or .db3 file from your device.
- Click a table name to see its first 100 rows, or type your own SQL query in the query box. The box starts with a query that lists the table names.
- Click Run Query to see the results in a table below.
- Use Download Database to save a copy of the database, including any changes your queries made. Use New Empty Database to start a blank database and try out SQL from scratch, or Clear to start over.
Key features
- Opens .db, .sqlite, .sqlite3 and .db3 files directly in the browser
- Lists every table and shows its first 100 rows with one click
- Runs any SELECT, INSERT, UPDATE, CREATE or DELETE query you type
- Creates a new empty database so you can try out SQL from scratch
- Download Database saves the file back to your device, including changes made by your queries
- Nothing is uploaded; the file stays on your device
Common uses
Check what is inside a database file from an app or a download, test a SQL query before running it somewhere else, or learn SQL on a fresh empty database. It is also a quick way to confirm a file really is a SQLite database, and to see which tables it holds, before opening it in a heavier desktop tool.
Frequently asked questions
No. The file is read and processed only on your own device. It never leaves your browser, and closing the page removes it from memory.
The tool shows a clear error message saying the file could not be opened, and suggests checking that it is a valid .db or .sqlite file.
Yes. If you run INSERT, UPDATE, DELETE or CREATE queries, the changes stay in the database in memory, and the Download Database button saves the updated file to your device.
Yes. This SQLite viewer runs in the browser, so there is nothing to install. You only need the database file itself, and the page needs to load the SQLite library from the internet the first time you open a file.
Clicking a table name shows its first 100 rows. To see more, or to filter the rows, write a query with LIMIT and OFFSET, for example SELECT * FROM tablename LIMIT 100 OFFSET 100.
It is SELECT name FROM sqlite_master WHERE type = ‘table’ ORDER BY name, which lists the names of all the tables in the database. Run it as it is, or replace it with your own query.
You can open database files with the .db, .sqlite, .sqlite3, or .db3 extension. If the file is not a real SQLite database, the tool shows a clear error message.
You can run SELECT queries to look at data, as well as INSERT, UPDATE, CREATE, and DELETE statements. Type your query in the query box and press Run Query to see the results.
Yes. The New Empty Database button starts a blank database, so you can practise SQL or build a small test database without any file at all.
Press the Download Database button. It saves a copy of the database to your device, including any changes your queries made.
You need the internet the first time you open the page, because the tool loads the sql.js library from a content delivery network. Your database file itself is never uploaded, and it is read only on your own device.
