Postgres Playground (PGlite)

A real PostgreSQL server compiled to WebAssembly, running entirely in your browser. Full SQL — JSONB, window functions, CTEs, arrays — with optional IndexedDB persistence. Nothing leaves your machine.

Persistent mode keeps your database across page reloads, stored only in this browser.
Booting Postgres (WASM)…

SQL

Results

About this tool

This runs an actual build of PostgreSQL compiled to WebAssembly (PGlite) directly in your browser tab — not an emulation and not a subset. You get real Postgres SQL: JSONB, arrays, WITH / recursive CTEs, window functions, full-text search operators, and the standard system catalogs (pg_catalog, information_schema).

Choose Persistent storage to keep your database in this browser's IndexedDB across reloads, or In-memory for a throwaway instance. Nothing is ever uploaded — the whole engine, including its data files, lives inside this page.