vs

Cloudflare D1 vs SQLite Cloud

Cloudflare D1: Serverless SQLite for Cloudflare Workers, priced per row read and written, with read replicas and time travel. SQLite Cloud: Managed, distributed SQLite with pub/sub, edge functions and CRDT sync to on-device databases.

key differences

  • Horizontal scaling is manual in Cloudflare D1 and none in SQLite Cloud.
  • Only Cloudflare D1 has encryption at rest, time travel.
  • Only SQLite Cloud has vector search, pub/sub, role-based access, offline sync.

choose cloudflare-d1 for

  • +Database-per-tenant SaaS on Workers
  • +Edge apps, blogs and CMS backends
  • +Configuration and feature metadata near users
  • +Prototypes needing SQL without managing servers

best at · OLTP, Edge, Content

choose sqlite-cloud for

  • +Backends for apps already standardised on SQLite
  • +Offline-first mobile apps syncing local SQLite
  • +Edge and IoT data collection

best at · OLTP, Edge, Local-first

overview
Primary model
Relational
Relational
Also supports
Document
Vector
Type
Managed service
Managed service
Status
Active
Active
Developer
Cloudflare
SQLite Cloud, Inc.
First release
2022
2023
Latest version
–
–
License
ProprietaryProprietary (Cloudflare service)
ProprietaryProprietary service; client drivers MIT
Free tier
✓
✓
popularity
WhichDB Score
5.8
13.8
Rank
#373
#246
GitHub stars
–
595
Stack Overflow questions
–
–
scale & guarantees
Comfortable data size
Small (≤ 100 GB)
Small (≤ 100 GB)
Horizontal scaling
Manual
None
Multi-region
Read replicas
Read replicas
ACID
Full
Full
Consistency
Strong, Causal
Strong
Schema
Strict
Strict
Architecture
Serverless, Primary replica
Distributed, Serverless
deployment
Self-hosted
—
—
Vendor-managed cloud
✓
✓
Serverless
✓
✓
Embedded
—
—
Edge
✓
✓
Clouds
Cloudflare
–
capabilities
Transactions
✓
✓
Joins
✓
✓
Secondary indexes
✓
✓
Full-text search
✓
✓
Vector search
—
✓
Geospatial
—
—
JSON
✓
✓
Change data capture
—
—
Triggers
✓
✓
Stored procedures
—
—
Materialized views
—
—
TTL / expiry
—
—
Pub/Sub
—
✓
Columnar storage
—
—
In-memory
—
—
Durable persistence
✓
✓
Compression
—
—
Encryption at rest
✓
—
Role-based access
—
✓
Time travel
✓
—
Branching
—
—
Online schema changes
—
—
Streaming ingest
—
—
Offline sync
—
✓
Runs in WebAssembly
—
—
interfaces
Query languages
SQL
SQL
Client languages
JavaScript, TypeScript, Python, Rust
JavaScript, Python, Swift, Kotlin, C, PHP, Go
Best for
OLTP, Edge, Content, Coordination
OLTP, Edge, Local-first, Mobile/offline

Cloudflare D1 vs SQLite Cloud: FAQ

What is the difference between Cloudflare D1 and SQLite Cloud?

Cloudflare D1: Serverless SQLite for Cloudflare Workers, priced per row read and written, with read replicas and time travel. SQLite Cloud: Managed, distributed SQLite with pub/sub, edge functions and CRDT sync to on-device databases. Horizontal scaling is manual in Cloudflare D1 and none in SQLite Cloud. Only Cloudflare D1 has encryption at rest, time travel. Only SQLite Cloud has vector search, pub/sub, role-based access, offline sync.

When should I choose Cloudflare D1 over SQLite Cloud?

Choose Cloudflare D1 for database-per-tenant SaaS on Workers; edge apps, blogs and CMS backends; and configuration and feature metadata near users. Choose SQLite Cloud for backends for apps already standardised on SQLite; offline-first mobile apps syncing local SQLite; and edge and IoT data collection.

Is Cloudflare D1 or SQLite Cloud more popular?

SQLite Cloud ranks #246 on the WhichDB Score (13.8/100) and Cloudflare D1 ranks #373 (5.8/100). Popularity is not fit: check the requirements that matter for your project.

Are Cloudflare D1 and SQLite Cloud open source?

No. Cloudflare D1 is proprietary, closed-source software. No. SQLite Cloud is proprietary, closed-source software.