You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ein leichtgewichtiger, schneller SQLite-Datenbank-Browser mit Python und Tkinter. Öffne, durchsuche und analysiere jede SQLite-Datenbank -- ohne SQL-Kenntnisse.
3
+
Local-first SQLite database browser for Windows, Linux, and macOS. Open a `.db`, `.sqlite`, or `.sqlite3` file, inspect tables, search rows, run SQL, and export CSV or JSON without sending database content anywhere.

22
+

24
23
25
-
Die aktuelle Aufnahme zeigt den Daten-Browser mit den integrierten Tabs für Schema-Ansicht und SQL-Editor.
24
+
The screenshot shows the table browser with the integrated schema and SQL workflow tabs.
26
25
27
-
### Daten-Browser
28
-
Öffne beliebige `.db`-, `.sqlite`- oder `.sqlite3`-Dateien und durchsuche Tabellen sofort.
26
+
## Why This Exists
29
27
30
-
### Schema-Ansicht
31
-
Tabellenstrukturen mit syntaxhervorgehobenen CREATE TABLE Statements anzeigen.
28
+
SQLiteViewer is meant for quick local inspection of small and medium SQLite files: app databases, exported research data, test fixtures, prototype storage, and support/debugging snapshots. It stays intentionally small and portable:
32
29
33
-
### SQL-Editor
34
-
SQL-Abfragen mit Echtzeit-Syntax-Highlighting schreiben und ausführen.
30
+
-**Local-first**: database files remain on your machine.
31
+
-**No service account**: no hosted backend, telemetry, or cloud sync.
32
+
-**No heavyweight install**: Python standard library plus Tkinter.
33
+
-**Readable export**: CSV for spreadsheets, JSON for companion workflows.
34
+
-**Simple handoff**: a single source file plus documented Store packaging assets.
35
35
36
-
## Installation
36
+
## Features
37
37
38
-
### Voraussetzungen
38
+
-**Table browser**: list tables and browse rows in a sortable grid.
39
+
-**Schema view**: inspect `CREATE TABLE` statements with syntax highlighting.
40
+
-**SQL editor**: run custom queries and view result sets.
41
+
-**Search**: filter visible table rows across columns.
42
+
-**CSV export**: export selected table or query output.
43
+
-**JSON export**: write `sqliteviewer-export-v1.json` with source metadata and rows.
44
+
-**Direct file launch**: pass a database path when starting the app.
45
+
-**Keyboard shortcuts**: `Ctrl+O`, `Ctrl+F`, `Ctrl+E`, `F5`, and `F9`.
39
46
40
-
- Python 3.10 oder höher
41
-
- Tkinter (bei den meisten Python-Installationen enthalten)
47
+
## Install And Run
42
48
43
-
Keine zusätzlichen Abhängigkeiten -- nutzt ausschließlich die Python-Standardbibliothek.
49
+
Requirements:
44
50
45
-
### Aus dem Quellcode starten
51
+
- Python 3.10 or newer
52
+
- Tkinter, included with most Python distributions
Eine Datenbank kann direkt beim Start geöffnet werden:
62
-
63
-
```cmd
64
-
python SQLiteViewer.py pfad\zur\datenbank.sqlite
65
-
```
66
-
67
-
## Verwendung
68
-
69
-
1.**Datenbank öffnen**: `File > Open Database`, `Ctrl+O` oder per Startargument
70
-
2.**Tabellen durchsuchen**: Tabelle aus dem Dropdown wählen
71
-
3.**Suchen**: Im Suchfeld tippen, um Zeilen zu filtern
72
-
4.**Schema ansehen**: Zum Schema-Tab wechseln
73
-
5.**SQL ausführen**: Zum SQL-Editor-Tab wechseln, Abfrage schreiben, `F9` drücken
74
-
6.**Exportieren**: `File > Export as CSV`, `Ctrl+E` oder `File > Export as JSON`
75
-
76
-
## Tastenkürzel
77
-
78
-
| Kürzel | Aktion |
79
-
|---------|--------|
80
-
|`Ctrl+O`| Datenbank öffnen |
81
-
|`Ctrl+Q`| Beenden |
82
-
|`Ctrl+E`| CSV exportieren |
83
-
|`Ctrl+F`| Suchfeld fokussieren |
84
-
|`Ctrl+A`| Alle Zeilen markieren |
85
-
|`F5`| Tabelle aktualisieren |
86
-
|`F9`| SQL-Abfrage ausführen |
87
-
88
-
Der JSON-Export ist bewusst additiv gehalten: CSV bleibt der schnellste Standardpfad, während `sqliteviewer-export-v1.json` die aktuelle Ansicht inklusive Metadaten für Companion-Workflows festhält. Details stehen in `EXPORTFORMAT.md`.
89
-
90
-
## Vergleich
91
-
92
-
| Funktion | SQLite Viewer Pro | DB Browser | DBeaver |
The JSON export stays intentionally additive: CSV remains the default fast path, while `sqliteviewer-export-v1.json` captures the current visible result plus metadata for companion workflows. See `EXPORTFORMAT.md` for details.
91
+
## Export Format
92
+
93
+
CSV remains the fastest default export path. The JSON export is additive and intended for companion tools, reproducible support handoffs, or LLM-assisted inspection where metadata matters.
94
+
95
+
See [`EXPORTFORMAT.md`](EXPORTFORMAT.md) for the `sqliteviewer-export-v1.json` contract.
96
+
97
+
## Search Context
197
98
198
-
### Comparison
99
+
This repository is `file-bricks/SQLiteViewer`: a Python/Tkinter desktop SQLite viewer. It is different from DB Browser for SQLite, DBeaver, Android SQLite viewer apps, iOS debug libraries, and web-based database admin panels. Useful search phrases include:
199
100
200
-
| Feature | SQLite Viewer Pro | DB Browser | DBeaver |
SQLiteViewer ist ein lokaler SQLite-Datenbank-Browser für Windows, Linux und macOS. Datenbankdateien bleiben auf deinem Rechner; es gibt keinen Cloud-Dienst, keine Telemetrie und kein Konto.
- Exportieren: CSV oder `sqliteviewer-export-v1.json`
140
+
141
+
Die wichtigsten deutschen Endnutzertexte verwenden echte Umlaute. Falls du neue deutschsprachige Texte ergänzt, bitte keine Ersatzschreibweisen wie `ae`, `oe` oder `ue` verwenden, sofern echte Umlaute gemeint sind.
218
142
219
143
## License
220
144
221
145
[MIT](LICENSE)
222
146
223
-
---
224
-
225
147
## Haftung / Liability
226
148
227
-
Dieses Projekt ist eine **unentgeltliche Open-Source-Schenkung** im Sinne der §§ 516 ff. BGB. Die Haftung des Urhebers ist gemäß **§ 521 BGB** auf **Vorsatz und grobe Fahrlässigkeit** beschränkt. Ergänzend gilt der Haftungsausschluss der MIT-Lizenz.
149
+
Dieses Projekt ist eine unentgeltliche Open-Source-Schenkung im Sinne der §§ 516 ff. BGB. Die Haftung des Urhebers ist gemäß § 521 BGB auf Vorsatz und grobe Fahrlässigkeit beschränkt. Ergänzend gilt der Haftungsausschluss der MIT-Lizenz.
228
150
229
151
Nutzung auf eigenes Risiko. Keine Wartungszusage, keine Verfügbarkeitsgarantie, keine Gewähr für Fehlerfreiheit oder Eignung für einen bestimmten Zweck.
230
152
231
153
This project is an unpaid open-source donation. Liability is limited to intent and gross negligence (§ 521 German Civil Code). Use at your own risk. No warranty, no maintenance guarantee, no fitness-for-purpose assumed.
SQLiteViewer is a local-first Python/Tkinter desktop application for opening, browsing, searching, querying, and exporting SQLite database files. It is maintained under the `file-bricks` GitHub organization.
6
+
7
+
## Primary Use Cases
8
+
9
+
- Inspect `.db`, `.sqlite`, and `.sqlite3` files locally.
10
+
- Browse tables and schema without a hosted backend.
11
+
- Run custom SQL queries in a lightweight desktop UI.
12
+
- Export visible rows to CSV or `sqliteviewer-export-v1.json`.
13
+
- Package a simple Windows desktop release from source.
14
+
15
+
## Key Files
16
+
17
+
- `SQLiteViewer.py`: main desktop application.
18
+
- `README.md`: user-facing landing page and quickstart.
19
+
- `README/screenshots/main.png`: current UI screenshot.
0 commit comments