Open and query SQLite databases, CSV, and JSON files with full SQL — 100% private in your browser.
Free in-browser SQLite database explorer and SQL query runner powered by WebAssembly. Open .sqlite, .sqlite3, and .db binary files directly without uploading them to any server, or import CSV and JSON files into an in-memory SQL database. Inspect tables, schema definitions, column types, primary keys, foreign keys, indexes, and views. Write custom SQL queries with autocomplete, syntax highlighting, aggregate functions, Window functions, and CTEs. Analyze query efficiency with visual EXPLAIN QUERY PLAN and export results instantly to JSON, CSV, TSV, or SQL INSERT statements.
Keywords: sqlite viewer, sqlite explorer, sqlite query runner, in browser sqlite, sqlite wasm, open db file online, sqlite schema inspector, query csv with sql, sqlite export json, sqlite explain plan, sql runner browser, sqlite database editor, sqlite table viewer, sqlite web client, sqlite wasm runner, query json with sql, sql database visualizer
Tags: sqlite, sql, database, wasm, csv, query, explain-plan, database-viewer
SQLite Viewer is also known as: SQLite Online Runner, In-Browser SQLite Explorer, SQLite Database Viewer, Query CSV with SQL Online, SQLite WASM Playground, SQLite DB File Reader, DB Browser for SQLite Online, Online SQL Runner, SQLite Web GUI, In-Memory SQLite Viewer.
Open an existing SQLite file (.sqlite, .sqlite3, .db), drag and drop a CSV/JSON file, or click "Sample DB" to load the pre-configured e-commerce demo database.
Explore your database schema in the left sidebar tree — inspect tables, views, column types, primary keys, foreign key relationships, and indexes.
Click on any table name to generate and run a SELECT query with default pagination, or click individual column names to insert them into your query.
Write or edit custom SQL statements (joins, window functions, CTEs, aggregations) in the SQL Editor and press ⌘↵ (Mac) or Ctrl+Enter (Windows) to execute.
Click "Explain" (⌘E) to inspect query performance, view the visual execution plan, and identify unindexed full table scans.
Export query results to JSON, CSV, TSV, or SQL INSERT statements, or download the modified database as a standalone .sqlite file.
100% In-Browser WebAssembly Engine: Runs SQLite compiled to WebAssembly (sql.js) inside a dedicated WebWorker thread for maximum responsiveness and zero server data transfer.
Direct Binary Database Ingestion: Open .sqlite, .sqlite3, and .db binary files directly from your computer into virtual memory with zero file size upload latency.
Instant CSV & JSON to SQL Converter: Drag and drop CSV or JSON datasets to automatically infer column data types (INTEGER, REAL, TEXT), create relational tables, and batch insert records.
Comprehensive Schema Explorer: Tree navigation for all tables, views, column types, primary keys, foreign keys, unique indexes, and raw CREATE TABLE DDL statements.
Advanced SQL Query Support: Full support for SQLite dialect features including Common Table Expressions (WITH CTE), Window Functions (OVER, PARTITION BY), JSON1 functions, and complex JOINs.
Visual EXPLAIN QUERY PLAN: Real-time query performance analyzer with color-coded badges highlighting table scans (SCAN TABLE) versus indexed lookups (USING INDEX / SEARCH).
Interactive Data Grid with Search & Sort: Paginated result viewer with ascending/descending column sorting, global text filtering, and one-click cell copy.
Multi-Format Data Exporter: Export filtered query results to JSON, CSV, TSV, or SQL INSERT statements, or download the active database as a binary SQLite file.
Pre-loaded Demo Database: Includes a complete relational e-commerce schema with customers, orders, products, order items, reviews, analytical views, and indexes.
SQL Code Formatter: One-click SQL query beautification with uppercase keyword enforcement and consistent indentation.
Query History & Persistence: Automatically remembers recent queries across sessions in local storage for fast retrieval.
Air-Gapped & Offline Ready: Runs entirely in the client with no telemetry, third-party analytics tracking, or external API dependencies.
The SQLite Viewer supports 6 syntax formats and dialects for accurate parsing and processing.