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

  1. Click the file button and choose a .db, .sqlite, .sqlite3 or .db3 file from your device.
  2. 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.
  3. Click Run Query to see the results in a table below.
  4. 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

Is my database file uploaded anywhere?

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.

What happens if my file is not a real SQLite database?

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.

Can I save changes I make with queries?

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.

Can I open a SQLite file without installing anything?

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.

How many rows can I see at once?

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.

What is the query already in the box when the page loads?

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.

Which file types can I open?

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.

What kinds of SQL can I run?

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.

Can I create a database from scratch?

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.

How do I download my database after making changes?

Press the Download Database button. It saves a copy of the database to your device, including any changes your queries made.

Do I need an internet connection to use the viewer?

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.

Free to use, no signup needed. This tool runs entirely in your browser — your data never leaves your device.