Database
{{ dbName }}
{{ list.tables.length }} T {{ list.views.length }} V {{ list.indexes.length }} I {{ list.triggers.length }} Tr
SQLite File
Choose Table / View

{{ schema }}
{{ error }}
{{ h }}
{{ error }}
  • {{ q }}

Download full SQL dump of the database.

Introduction

You use this tool to open a local SQLite database file and study its structure, content, and relationships. It provides an immediate snapshot of tables, views, indexes, and triggers so you grasp the whole schema at first glance.

The reactive interface lets you switch between browsing data, running ad‑hoc SQL, reviewing query history, and exporting results. You work entirely in the browser, avoiding install steps and keeping your data private.

Rely on it when you need to debug a small database, confirm a migration, or share reproducible examples with colleagues. Always keep a backup before editing production data.

Technical Details:

The page loads a lightweight WebAssembly SQL engine that performs every query on the client side. File handling stays within the browser sandbox; no server calls occur. A small state manager tracks edits, and localStorage keeps your recent SQL statements for convenience across sessions.

Feature Breakdown

Schema overview

A compact summary panel counts tables, views, indexes, and triggers, updating live after every file load.

Editable data grid

Click Edit to make cells writable; changed cells highlight until you press Save, executing batched UPDATE statements.

Flexible query runner

The query tab accepts multi‑line SQL, supports formatting, and shows errors inline so you can iterate rapidly.

History recall

Executed queries store locally; select any history line to repopulate the editor and rerun or tweak it.

One‑click exports

Download table data as CSV or JSON, or grab a full SQL dump for version control or external processing.

Step-by-Step Guide:

Follow these steps to inspect and modify a database quickly.

  1. Select SQLite File and choose a .db or .sqlite file from your device.
  2. Review the counts in the summary box, then pick a table or view under Browse.
  3. Press Edit use sparingly, change cell values, and click Save.
  4. Open the Query tab, write SQL, and hit Run. Use Format to tidy long scripts.
  5. Switch to History to reuse past statements or delete clutter.
  6. Need a backup? Go to Export and download the complete .sql dump.

FAQ:

Find quick answers to common questions.

Is my data stored?

No. All operations run in your browser; files never leave your device.

Which file types work?

Any SQLite database with a .db or .sqlite extension loads without conversion.

How large can the file be?

Performance stays smooth below 50 MB. Larger files may open, but memory limits differ per browser.

Can I undo edits?

The tool does not track revisions. Keep a fresh backup before saving changes.

Why does a query fail?

Syntax errors, missing semicolons, or unsupported SQL functions trigger inline error messages.

Troubleshooting:

Resolve common issues quickly.

  • File fails to load – Ensure the file is a valid SQLite database and not encrypted.
  • Blank grid after query – Your statement returned no rows; try LIMIT adjustments.
  • Slow scrolling – Filter columns or apply LIMIT 100 to large tables.
  • Edits not saved – Confirm the Save button shows “0” pending before unloading.
  • Browser freezes on export – Wait until the download prompt appears; large dumps may take seconds.

Advanced Tips:

Level‑up your workflow with these suggestions.

  • Press Ctrl + Enter in the query editor to run without clicking Run.
  • Add rowid AS __rowid__ to custom queries to enable inline editing.
  • Store frequent snippets in an external note tool and paste when needed to avoid history clutter.
  • Use PRAGMA table_info(table_name); to inspect column types quickly.
  • Chain multiple statements separated by semicolons to perform batch operations in one run.

Glossary:

Key terms you may encounter.

Schema
Definition of tables, fields, and relations in a database.
Rowid
Implicit integer key for each row when no primary key exists.
WASM
WebAssembly, a binary format enabling near‑native speed in browsers.
PRAGMA
Special SQLite command for configuration or metadata queries.
Dump
Plain‑text SQL script representing the entire database structure and data.
Embed this tool into your website using the following code: