1. Home
  2. Spreadsheets & Data
  3. SQL Workbench (SQLite)

SQL Workbench (SQLite)

Query and join CSV, Excel, JSON, Parquet, and SQLite locally with instant charts.

Runs in your browser · No upload
Tables: 0
Load the sample DB or drop CSV, Excel, JSON, Parquet, or SQLite files to start querying.

What Is Local SQL Workbench (SQLite WASM)?

Local SQL Workbench is an in-browser SQLite WASM analytics workspace that lets you drop CSV, TSV, Excel (.xlsx), JSON, JSONL/NDJSON, Apache Parquet, or existing SQLite database files (.sqlite, .sqlite3, .db) and run real SQL queries, joins, transformations, and instant charts with zero backend setup.

Everything runs strictly on your device inside a dedicated Web Worker and local browser storage (IndexedDB/OPFS). No spreadsheet, customer table, or database file is ever uploaded to a server, and once loaded the workbench continues working offline.

Key Features and Workflow

  1. Drop Multiple Files or Try the Sample DB: Drag CSV, multi-sheet Excel workbooks, JSON/NDJSON exports, Parquet datasets, or .sqlite databases into the drop zone. New to the workspace? Click Load Sample DB to populate three linked relational tables (customers, products, orders) together with three ready-to-run JOIN and aggregation tabs.
  2. Multi-Tab SQL Editor and Formatter: Open up to 12 query tabs using the + button to separate exploratory queries, cleanup scripts, and reporting views. Use Format SQL (Shift+Alt+F) to neatly format complex JOIN, CTE, and GROUP BY statements using SQLite dialect rules.
  3. Interactive Schema Explorer: Open the Schema inspector to review tables, row counts, inferred column types (INTEGER, REAL, TEXT), and primary keys (PK). Click any column or table to preview rows, insert safely quoted identifiers at the cursor, or drop temporary tables.
  4. Instant Charting from Any Query: Switch the results panel to Chart view to plot your query output as a Bar, Line, Pie, or Scatter chart with automatic numeric column detection. Adjust X and Y axes in the Chart panel and download crisp high-DPI PNG images with one click.

Supported Formats and Type Inference

  • CSV / TSV: Automatically detects UTF-8 (with or without BOM), EUC-KR/CP949 encodings, and comma, tab, semicolon, or pipe delimiters.
  • Excel (.xlsx): Imports every sheet as its own clean SQLite table so you can run cross-sheet JOIN queries immediately.
  • JSON / JSONL / NDJSON: Accepts arrays of objects, wrapped payloads (data, rows, items, records, results), and newline-delimited JSON logs, serializing nested objects cleanly as JSON strings.
  • Apache Parquet (.parquet): Decodes columnar Parquet files directly in JavaScript and loads typed rows into SQLite.
  • SQLite (.sqlite / .sqlite3 / .db): Opens existing SQLite databases directly, preserving tables, views, and indexes for inspection, editing, and re-export.

Column types (INTEGER, REAL, TEXT) are inferred automatically on import so numeric filtering, SUM(), AVG(), and ORDER BY operate numerically rather than lexicographically.

Export Options and Local Workspaces

Open the Export modal from the top toolbar to download either your latest query result or the entire in-memory database:

  • XLSX: Formatted Excel workbook with automatic column widths and sticky header rows.
  • CSV (UTF-8 BOM): Spreadsheet-ready CSV that opens cleanly with Unicode characters in Excel.
  • JSON: Array of row objects ready for scripts or APIs.
  • SQLite DB (.sqlite): Full binary snapshot of all imported tables, views, and modifications (CREATE TABLE, INSERT, UPDATE, DELETE).

The built-in Projects inspector and auto-saver persist your query tabs, execution history, and .sqlite database snapshot inside local IndexedDB/OPFS storage so you can switch between workspaces or resume later without re-uploading files.

Keyboard Shortcuts and Tips

  • Ctrl+Enter / Cmd+Enter: Run the active SQL tab (supports multiple semicolon-separated statements).
  • Shift+Alt+F: Format the active SQL query.
  • Ctrl+Shift+T / Cmd+Shift+T: Open a new query tab.
  • Ctrl+Z / Ctrl+Shift+Z: Undo and redo workbench state edits.
  • Wrap table or column names containing spaces, hyphens, or non-ASCII characters in double quotes (for example "monthly_sales") and add LIMIT 100 while exploring large datasets.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.