A lightweight, fast SQLite database browser built with Python and Tkinter. Open, browse, search and query any SQLite database without SQL knowledge.
- Table Browser - Automatically lists all tables with sortable data grid
- Schema View - Inspect CREATE TABLE statements with syntax highlighting
- SQL Editor - Execute custom queries with syntax highlighting and result view
- Full-Text Search - Search across all columns in real-time
- CSV Export - Export any table or query result to CSV
- Sorting - Click column headers to sort ascending/descending
- Keyboard Shortcuts - Ctrl+O (open), Ctrl+F (search), Ctrl+E (export), F5 (refresh), F9 (execute SQL)
Open any .db, .sqlite, or .sqlite3 file and browse tables instantly.
View table definitions with syntax-highlighted CREATE TABLE statements.
Write and execute SQL queries with real-time syntax highlighting.
- Python 3.10 or higher
- Tkinter (included with most Python installations)
No additional dependencies required - uses only Python standard library.
git clone https://github.com/lukisch/SQLiteViewer.git
cd SQLiteViewer
python SQLiteViewer.pyDouble-click START.bat or run:
python SQLiteViewer.py- Open a database:
File > Open DatabaseorCtrl+O - Browse tables: Select a table from the dropdown
- Search: Type in the search field to filter rows
- View schema: Switch to the Schema tab
- Run SQL: Switch to the SQL Editor tab, write a query, press
F9 - Export:
File > Export as CSVorCtrl+E
| Shortcut | Action |
|---|---|
Ctrl+O |
Open database |
Ctrl+Q |
Quit |
Ctrl+E |
Export CSV |
Ctrl+F |
Focus search |
Ctrl+A |
Select all rows |
F5 |
Refresh table |
F9 |
Execute SQL query |
| Feature | SQLite Viewer Pro | DB Browser | DBeaver |
|---|---|---|---|
| Instant startup | Yes | Slow | Slow |
| SQL queries | Yes | Yes | Yes |
| Browse tables | Yes | Yes | Yes |
| Schema view | Yes | Yes | Yes |
| CSV export | Yes | Yes | Yes |
| Full-text search | Yes | Limited | Yes |
| Portable | Yes | Partial | No |
| Lightweight | Yes | No | No |
| No install needed | Yes | No | No |
- Framework: Tkinter + ttk
- Database: sqlite3 (stdlib)
- Dependencies: None (pure Python stdlib)
- Single file: ~750 lines of Python