SQL Online

Full PostgreSQL in your browser. Persistent database, 18+ extensions including pgvector, database explorer, export/import. 100% local, no server.

Loading SQLite...

Run Real PostgreSQL Online

This isn't basic SQL. Run full PostgreSQL directly in your browser via PGlite WebAssembly. Your data persists in IndexedDB. We support 18+ PostgreSQL extensions including pgvector for AI vector search. Export with pg_dump, import SQL dumps, browse tables with our Database Explorer. All 100% local, no server needed.

How to Run SQL Online

  1. Choose PostgreSQL (persistent) or SQLite (in-memory) via Templates
  2. Write SQL in the Monaco editor with syntax highlighting
  3. Press Ctrl+Enter for instant execution
  4. Explore tables in Database Explorer with pagination
  5. Export your database with pg_dump or import SQL dumps

Why This SQL Tool Is Different

Real PostgreSQL

Full PostgreSQL via PGlite. JSON, arrays, window functions, CTEs.

Local Persistence

Data saved to IndexedDB. Close tab, come back, your tables are there.

18+ Extensions

pgvector, pg_trgm, hstore, uuid-ossp, ltree, cube, and more.

Export & Import

pg_dump export, SQL import. Backup and restore your database.