adb-sqlite-viewer
v1.0.8
Published
ADB SQLite database viewer for Android — inspect tables, schemas, and run queries on-device
Maintainers
Readme
ADB SQLite DevTools
Inspect SQLite databases on Android devices. Browse tables, view schemas, and run SQL queries — all from your browser.
Quick Start (npm)
npm install --save-dev adb-sqlite-viewer
npx sqlite-viewerOpens a local server at http://127.0.0.1:8085 with the full UI and ADB bridge built in. One command, no extra downloads.
# Custom port
npx sqlite-viewer --port 3000Requirements: adb on your PATH (Android SDK Platform-Tools) and a USB-connected Android device with debugging enabled.
All Options
npm Package (Recommended for dev workflows)
Install into any project and run alongside your app:
npm install --save-dev adb-sqlite-viewerAdd to your package.json scripts:
{
"scripts": {
"sqlite-viewer": "sqlite-viewer"
}
}Then npm run sqlite-viewer opens the viewer. Works great alongside React Native, Flutter, or any Android project.
Desktop App
Download the Windows installer from Releases. Double-click to launch — the bridge server starts automatically.
Hosted Version + ADB Bridge
Use the deployed version at amitwinit.github.io/SQLite-DevTools-Mobile-ReactNative together with the standalone ADB Bridge.
- Download
adb-bridge.exefrom Releases - Run
adb-bridge.exe - Open the hosted website — it auto-detects the bridge
Website (HTTPS) ──HTTP──> localhost:15555 (bridge) ──> adb shell ──> DeviceHosted Version with WebUSB (No install required)
Open amitwinit.github.io/SQLite-DevTools-Mobile-ReactNative in Chrome/Edge. Uses WebUSB to talk directly to the device — no server needed.
Note: Requires adb kill-server first (WebUSB and ADB can't share the USB interface). Not suitable when you need ADB running for development.
When to Use Which
| Scenario | Recommended |
|----------|-------------|
| Active development (React Native, Flutter, etc.) | npx sqlite-viewer or Desktop App |
| Quick one-off DB inspection | WebUSB (hosted version) |
| CI or shared dev environment | npx sqlite-viewer |
| No Node.js installed | Desktop App or WebUSB |
Development
npm install
npm run dev # Vite dev server
npm run build # Build for GitHub Pages
npm run electron:dev # Build + launch Electron app
npm run electron:build # Build Electron installerLicense
MIT
