Overview

SQLiteScope is a desktop SQLite database viewer, editor, and manager built with Electron and Node.js. It uses Electron's built-in SQLite engine, so Windows doesn't need Python, Visual Studio, C++ build tools, or a separate database server.

It's aimed at anyone who needs to look inside a .db file and get real work done — browsing rows, editing schema, running SQL, importing CSVs — without opening a terminal or standing up a database server for a single file.

Install & run

Prefer not to build from source? Get the Windows installer from the home page instead.

To run from source, install Node.js 22 or newer, then:

git clone https://github.com/connect2sazad/sqlitescope.git
cd sqlitescope
npm install
npm start

On Windows, double-click Start-SQLiteScope.vbs. Startup stays terminal-free: when dependencies need installing, a native progress window stays visible until it finishes. Timestamped startup and npm diagnostics are written to logs/sqlitescope-startup.log, and a failed setup offers to open that log immediately. Runtime logs are also available from Help → Open Runtime Logs. Start-SQLiteScope.bat forwards to the same launcher.

On Linux:

chmod +x start-sqlitescope.sh
./start-sqlitescope.sh
Note: npm run dev starts the app with developer flags enabled, useful when working on SQLiteScope itself.

Build installers

npm run dist:win
npm run dist:linux

The build command downloads the packaging tool (electron-builder) only when you explicitly build a release, so normal installation stays small. The Windows build produces both an installer and a portable executable. Run npm run dist:win on Windows itself.

Public releases should be built on the target operating system, code-signed, malware-scanned, and tested on a clean machine — see RELEASE-CHECKLIST.md in the repository. Don't publish an unsigned installer under a commercial brand and expect Windows users to trust it.

Sample database

A ready-to-use database ships at sample/sample-store.db. Recreate it any time with:

npm run sample

Browsing & editing data

Filter examples

The Browse filter accepts a SQLite expression — not a full SELECT statement:

status = 'active'
price >= 1000 AND stock > 0
name LIKE '%server%'
created_at >= date('now', '-30 days')

SQL console

Run single statements or multi-statement scripts against the active database, with SQL templates for SELECT, COUNT, INSERT, UPDATE, DELETE, and schema definitions. Every database keeps its own query history with timestamps, timing, and result summaries — load or rerun any past query with one click.

Specialized SQLite features that depend on free-form grammar, compiled modules, or application-defined code are handled through the SQL console rather than approximated with fixed UI controls. That includes:

Availability of extension-dependent features depends on the SQLite runtime bundled with the installed Electron version. SQLiteScope doesn't display controls for operations the active runtime can't execute.

Schema & structure tools

AreaWhat you can do
TablesCreate, rename, empty, and drop, with confirmation dialogs and transactional rebuilds for structural changes
ColumnsAdd, rename, remove; set type, default, primary key, AUTOINCREMENT, NOT NULL, UNIQUE
ConstraintsComposite primary keys, CHECK expressions, composite foreign keys with ON UPDATE / ON DELETE / MATCH and deferred enforcement
Table optionsSTRICT tables and WITHOUT ROWID tables
IndexesOrdinary, unique, expression, ASC/DESC, and partial indexes; drop existing indexes
Views & triggersCreate, inspect, edit, and drop
InspectionColumns, primary keys, indexes, foreign keys, triggers, and the underlying CREATE SQL for any object

Import & export

Maintenance tools

Themes

SQLiteScope ships with a phpMyAdmin-style theme selector and twelve installed themes — Classic Beauty, Windows XP, Modern Dashboard, Cyber Neon, Dracula Plum, Forest Terminal, Ocean Glass, Rose Quartz, Retro Amber, Midnight Code, Solarized Sand, and High Contrast — plus compact and comfortable density settings. Switch anytime from Preferences; nothing extra to download. See the theme gallery on the home page.

Safety model

Privacy

SQLiteScope is local-first software:

You remain responsible for access controls, backups, and the confidentiality of database and exported files on your own device.

Security

Security fixes are provided for the latest published major version. If you find a vulnerability, don't publish it — or an exploitable sample database — in a public issue. Contact the maintainer privately through the security-contact method listed on the official release page, and include the affected version, operating system, reproduction steps, and impact, with any real credentials or personal data removed.

Official installers should be code-signed and accompanied by SHA-256 checksums. Don't install binaries from unverified mirrors.

Support & limitations

Project structure

SQLiteScope/
├── main.js              Electron main process
├── preload.js            Isolated bridge exposed to the renderer
├── src/
│   ├── database.js       Core database operations
│   ├── converter.js      SQL/CSV ↔ database conversion
│   └── workspace.js       Tab and workspace state
├── renderer/              UI (HTML/CSS/JS)
├── scripts/               Setup and sample-data scripts
├── tests/                 Unit tests
├── sample/                Sample database
├── PRIVACY.md
├── SECURITY.md
├── CHANGELOG.md
├── RELEASE-CHECKLIST.md
└── build/                 Icons and packaging resources

Changelog

The current release is 5.4.0. Recent highlights:

Full history: CHANGELOG.md on GitHub.