Skip to content
SPECIFICTION
Get listed

PGlite

pglite.dev

Free plan WebSelf-hosted
Visit pglite.dev
Spec score 7.5 #23 of 30 in Embedded Databases

Spec sheet

License
PGlite is dual-licensed under Apache 2.0 and the PostgreSQL License.Read 5 Oct 2026 · pglite.dev
Maker
PGlite is developed by Electric for embedding into applications locally or at the edge, including syncing a subset of server-side Postgres data.Read 5 Oct 2026 · pglite.dev
Connection limit
PGlite has a single exclusive connection to the database; the documentation describes a multi-tab worker for sharing an instance across browser tabs.Read 5 Oct 2026 · pglite.dev
Extensions
PGlite supports Postgres extensions including pgvector, and its home page also names PostGIS support.Read 5 Oct 2026 · pglite.dev
Framework integrations
The documentation provides framework hooks for React and Vue.Read 5 Oct 2026 · pglite.dev
Maker headquarters
Electric says it is headquartered in the San Francisco Bay Area.Read 5 Oct 2026 · electric.ax
ORM integrations
The documented compatible ORMs and query builders include Prisma, Drizzle, Kysely, Knex.js, Orange ORM, and TypeORM.Read 5 Oct 2026 · pglite.dev
Persistence
PGlite can run in memory or persist data to the filesystem in Node/Bun and IndexedDB in browsers.Read 5 Oct 2026 · pglite.dev
Reactive queries
PGlite includes live query primitives for reactive updates when underlying database data changes.Read 5 Oct 2026 · pglite.dev
Runtime support
PGlite runs in browsers, Node.js, Bun, and Deno without requiring other dependencies.Read 5 Oct 2026 · pglite.dev
Size
The PGlite package is under 3 MB gzipped.Read 5 Oct 2026 · pglite.dev
Socket server caveat
The PGlite Socket documentation says its server can multiplex simultaneous connections, but notes that this differs from a normal Postgres installation and not all use cases are guaranteed to work.Read 5 Oct 2026 · pglite.dev
Use cases
The documentation describes use for embedded application databases, unit and CI testing, local development, remote development, and on-device or edge AI and RAG.Read 5 Oct 2026 · pglite.dev
What it is
PGlite is a WebAssembly build of Postgres packaged as a TypeScript/JavaScript client library.Read 5 Oct 2026 · pglite.dev

Plans and prices

PGlite Free Open-source software; dual-licensed under Apache 2.0 and PostgreSQL License Read 5 Oct 2026 · pglite.dev

Every PGlite plan and price →

Where Specifiction places it

Alternatives to PGliteAll alternatives →