Skip to content
P

PGlite

Lightweight WASM Postgres

Open source

#475in Developer Tools
0In stores

Description

PGlite is a lightweight, embeddable build of Postgres that runs in the browser or any JavaScript environment through WebAssembly. The site d…

Highlights

  • Full Postgres running in WebAssembly
  • Under 3 MB gzipped
  • pgvector and PostGIS extensions
  • Live queries and sync
  • React and Vue framework hooks

Ratings & Reviews

No ratings yet

Be the first to rate PGlite.

People also visit

P

pgweb

Simple web-based PostgreSQL database explorer

Developer Tools
Launch
P

Pgpad

A small, fast cross-platform database client

Developer Tools
Launch
P

PowerSync: Backend DB

For Postgres, MongoDB, MySQL, SQL Server, Azure DocumentDB

Developer Tools
Launch
S

Sqlocal

SQLocal makes it easy to run SQLite3 in the browser

Utilities
Launch
N

Neon

Postgres backends for apps and agents

Developer Tools
Launch
P

Prisma Postgres

Serverless PostgreSQL for TypeScript Apps

Developer Tools
Launch

PGlite FAQ

What is PGlite?

PGlite is a WebAssembly build of Postgres that you can embed in an app. It runs a full Postgres database locally in the browser or another JavaScript environment.

Can I use pgvector?

Yes. The site says PGlite includes pgvector and supports dynamic loading of extensions, including PostGIS.

What is the license?

PGlite is dual-licensed under the Apache 2.0 licence and the PostgreSQL License.

How do I start?

Use the Get Started guide, install the package from npm, or try the REPL on the site to run a full PGlite Postgres in your browser.

What are the best PGlite alternatives?

Popular alternatives to PGlite include pgweb, Pgpad and PowerSync: Backend DB. See all PGlite alternatives

Developer Stuff

Badges