SQLite Adapter

Official SQLite database adapter that stores Payload collections and globals in SQLite

Official 45,915 119.5k/wk MIT v3.94.0

Installation

pnpm add @payloadcms/db-sqlite

About

The SQLite adapter lets a Payload project keep its data in a SQLite database file instead of a server database such as Postgres or MongoDB. Collections, globals, and their relationships are saved in tables that Payload manages, and the adapter handles schema changes through migrations. It fits small sites, prototypes, and single-server deployments where a separate database service is more than the project needs.

The adapter connects through a standard SQLite URL, so a local file or a hosted libSQL-compatible endpoint can serve as the store. Payload's admin panel and API work the same way as with other database adapters, so switching later is a matter of changing the adapter, not rewriting the content model.

Package info

Package name
@payloadcms/db-sqlite
Latest version
3.94.0
Unpacked size
63 kB
License
MIT
Weekly downloads
119.5k
Last publish
Nov 17, 2026

More from payloadcms

View profile

Stores Payload upload files in Cloudflare R2 buckets instead of local disk

Adds a parent field and breadcrumbs to collections so documents can nest inside each other

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds an SEO tab with meta title, description, image and search preview to collections

Stores collection uploads in Vercel Blob Storage instead of local disk

Lets one Payload admin panel manage content for many separate tenants

Similar adapters

More in Database

Database adapter that runs Payload on SurrealDB through its PostgreSQL-compatible SQL interface

Stores Payload data in a Postgres database, with migrations and read replica support

Vercel Postgres database adapter that stores Payload collections and globals in Postgres

Stores Payload data in Cloudflare D1 SQLite databases from Workers

Stores Payload collections and globals in a MongoDB database

Database adapter that maps Payload collections onto an existing Prisma schema