We believe learning databases should be frictionless. No installations, no configurations, no sign-ups — just open the browser and start learning SQL with a real PostgreSQL instance running entirely in your browser.
Learn PSG runs PostgreSQL compiled to WebAssembly (WASM) via pglite, allowing a full database engine to run directly in the browser. The frontend is built with Next.js, React, and Tailwind CSS. All data persists in IndexedDB — no backend servers, no cloud databases, no logins.
Learn PSG is built and maintained by a small team passionate about making technical education more accessible. We believe the best way to learn is by doing — that's why every lesson includes hands-on SQL practice.
This project is open source. You can find the complete source code, report issues, or contribute on GitHub.