Hub

PostgreSQL Playground

Production SQL — real Postgres in the browser

Playgrounds

Sandbox

  • Playgrounds

Languages

  • 🐍Python
  • 🗄️SQL
  • 📊R
  • ⚡JavaScript
  • 🔷TypeScript
  • 🐘PostgreSQL
  • 🔶dbt
  • 📊DAX
  • 🖥️Bash / Shell
  • 📗Spreadsheet Formulas
← All languages
🐘
liveanalyticsPostgreSQL Studio

PostgreSQL Playground

Run actual PostgreSQL via PGlite WASM — ILIKE, JSONB, SERIAL, RETURNING, and window functions. What you'll use at work, not just SQLite.

In this workspace

What you get when you open PostgreSQL Studio.

Run Query
  • Real Postgres dialect

    JSONB, ILIKE, and window functions via PGlite

  • Schema browser

    Click a table to seed SELECT * FROM … LIMIT 20

  • Result grid

    Markdown-table results with row counts and run history

  • ⌘/Ctrl+Enter

    Run the active query from the editor or the toolbar

  • Data panel

    Local/cloud uploads (CSV; SQLite .db where supported)

Your PostgreSQL playgrounds

🚀

No PostgreSQL playgrounds yet

Opens in the PostgreSQL Studio workspace.

Starter template

-- sales.csv is auto-loaded from the Data panel
SELECT region,
 COUNT(*) AS orders,
 SUM(revenue::numeric) AS total_revenue
FROM sales
GROUP BY region
ORDER BY total_revenue DESC;

What you'll learn

  • ✓Analytics engineering
  • ✓Interview prep
  • ✓Postgres-specific SQL
  • ✓JSON analytics
Loading usage…

Runtime requirements

Engine
PGlite
Type
wasm
Cold start
~3 MB
Execution
Runs fully in your browser

Packages / WASM

  • @electric-sql/pglite@0.2.17

Limitations

  • In-memory Postgres per session — not a shared server

Libraries

PGlite WASMJSONBWindow functionsILIKESERIAL

Still on the roadmap

  • Progress & challenges

    Micro-challenges per language with XP rewards, similar to catalog tracks.