Free Online PostgreSQL 16 Playground
Current database engine: PostgreSQL 16 (psql16)
This page runs PostgreSQL 16 (16.14) in a clean, empty database. PostgreSQL 16 added SQL/JSON constructors (JSON_ARRAY(), JSON_OBJECT()) and the IS JSON predicate, the ANY_VALUE() aggregate, and parallel execution of FULL and RIGHT joins.
Compare your queries with PostgreSQL 15 or with the newer PostgreSQL 17 and 18.
NEW Now embed mode is available: put an interactive SQL editor on any web page with one script tag.
SQLize is a browser-based PostgreSQL 16 SQL editor and query runner for fast testing, debugging, formatting, and sharing. It is useful for interview tasks, migration checks, analytics validation, and learning SQL in a real execution environment.
Developers, students and data analysts from more than 100 countries, most of all India, the United States, Russia, Brazil, Italy, Poland and Vietnam, use SQLize to run PostgreSQL 16 queries online without installing a database server. A shareable link turns any query into a reproducible example for a colleague, a teacher or a question on Stack Overflow.