A free, cross-platform visual tool for creating, browsing, editing and querying SQLite database files without writing SQL.
coleifer/sqlite-web
A web-based SQLite database browser written in Python, for viewing, editing and importing or exporting SQLite data from a browser.
Open-source alternative to:DB Browser for SQLite
- Stars
- 4,179
- Forks
- 407
- Open issues
- 0
- Last commit
- 2 days ago
What is it?
sqlite-web is a web-based browser for SQLite databases, built on Flask and peewee. You start it from the command line against one or more database files, then manage tables, columns, indexes and rows through a page in your browser without writing SQL for everyday tasks.
The interface covers the common workflow: an index page with table and index counts and file size, a structure tab for columns, indexes, triggers and foreign keys, a content tab with sorting and pagination, and a query tab that runs arbitrary SQL and exports results as JSON or CSV. CSV and JSON files can be imported into a table, with an option to create columns for unrecognized keys.
It can run in read-only mode, be protected with a password, or serve over SSL. Additional databases can be uploaded or, if enabled, loaded from disk at runtime. A Docker image is provided, and a gevent-based sqlite_wsgi entry point is available for higher-throughput serving.
Key features
- 01Add, drop or rename tables, columns and indexes, including on older SQLite versions.
- 02Insert, update and delete rows through the browser.
- 03Run arbitrary SQL queries and export results as JSON or CSV.
- 04Import CSV or JSON files into a table.
- 05Protect access with a password and optionally run in read-only mode.
- 06Load additional databases at runtime when enabled.
Use cases
- Quickly inspecting or editing a local SQLite file without installing a desktop client.
- Exploring a database shipped inside an app or container during development.
- Importing CSV or JSON data into a SQLite database for analysis.
- Sharing a read-only view of a database on a local network with password protection.
Quick start
- 1
Install sqlite-web with pip
pip install sqlite-web - 2
Run sqlite-web against your database file
sqlite_web /path/to/database.db - 3
Open http://localhost:8080/ in your browser to view the database
Things to know
- Exposing the browser over the network requires adding a password or SSL yourself, since the defaults bind to localhost only.
In collections
Topics
FAQ
- What is sqlite-web?
- A web-based SQLite database browser written in Python, for viewing, editing and importing or exporting SQLite data from a browser. sqlite-web is a web-based browser for SQLite databases, built on Flask and peewee. You start it from the command line against one or more database files, then manage tables, columns, indexes and rows through a page in your browser without writing SQL for everyday tasks.
- Is sqlite-web free to use? What license does it have?
- sqlite-web is open source under the MIT license. Check the license terms before using it in commercial products.
- Is sqlite-web still maintained?
- Actively maintained. The last commit to sqlite-web was on Nov 5, 2026.
- What can I use sqlite-web for?
- Quickly inspecting or editing a local SQLite file without installing a desktop client. Exploring a database shipped inside an app or container during development. Importing CSV or JSON data into a SQLite database for analysis. Sharing a read-only view of a database on a local network with password protection.
- How do I install sqlite-web?
- Install sqlite-web with pip: pip install sqlite-web Run sqlite-web against your database file: sqlite_web /path/to/database.db Open http://localhost:8080/ in your browser to view the database
- Where can I get sqlite-web?
- The source code and installation instructions are on GitHub: https://github.com/coleifer/sqlite-web
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An in-process SQL database written in Rust, compatible with SQLite's dialect, file format and C API, with an experimental Postgres frontend.
Cross-platform SQL editor and database manager for Linux, macOS, and Windows, supporting MySQL, PostgreSQL, SQLite, SQL Server and many more.
A lightweight, fault-tolerant distributed relational database built on SQLite, replicated across nodes via Raft consensus.
A type-safe TypeScript SQL query builder that autocompletes tables, columns and result types across SQL databases.
A CLI and Go library for managing database schema changes through versioned SQL files or Go functions.