browSQL

A fast, local-first SQL editor for the browser. Powered by SQLite compiled to WebAssembly — no server, no setup, just SQL.

Launch Editor

Everything You Need

Instant Load

SQLite runs directly in your browser via WebAssembly. No server round-trips, no latency — queries execute instantly.

🔤

Smart Autocomplete

Full tab completion for table names, columns, and SQL keywords. Dot-notation support — type table. and see every column.

🎨

Syntax Highlighting

Powered by CodeMirror 6. Full SQL syntax highlighting with dark and light themes that follow your system preference.

📁

File Management

Create, rename, and organize SQL files. Switch between them with tabs. Files persist in your browser across sessions.

🔍

Schema Browser

Click any table to view its DDL. Double-click to SELECT all rows. Right-click for query templates — SELECT, INSERT, UPDATE, DELETE.

📱

Mobile Ready

Full editor on your phone with a custom toolbar for SQL symbols. Keyboard-aware — the toolbar sticks right above your virtual keyboard.

💾

Save & Load

Export your database as a .sqlite file. Import existing databases. All done locally — your data never leaves your machine.

🧪

Demo Data Generator

One-click test data: 6 related tables with customers, products, orders, and reviews — perfect for learning and prototyping.

📝

Multi-File Editing

Open files side-by-side with a resizable split editor. Right-click any file and select "Open to the Side" — like VS Code.

🤖

AI SQL Generation

Describe what you need in plain English. The built-in AI generates SQL from natural language — no more Googling syntax.

📖

Tutorial System

Step-by-step lessons teach you SQL from scratch. Start with basic SELECTs, work up to window functions and CTEs.

☁️

Cloud Sync

Optional cloud backup for your databases and files. Login to save and restore your work across different devices.

🔗

ER Diagram

Visualize your database schema with one click. See table relationships as an interactive diagram.

📐

DDL Inspector

Click any table to instantly view its CREATE statement. Copy DDL, drop tables, or inspect column types at a glance.

⌨️

Keyboard Shortcuts

Ctrl+Enter to execute, Ctrl+S to export, Ctrl+Space for autocomplete. Full keyboard-driven workflow.

📄

Markdown Support

Create and edit .md files with live preview. Great for writing documentation alongside your SQL queries.

🖱️

Resizable Layout

Drag to resize every panel — sidebar, split editor divider, results height. Tweak the layout to match your workflow.

🔒

100% Local

No cloud, no accounts, no telemetry. Your databases and queries stay entirely on your device. Privacy by design.

browSQL Editor Screenshot

Ready to try it?

No install, no signup. Just open the editor and start writing SQL.

Open browSQL