Skip to main content

Serverless SQLite · Backend & Databases

No cardNo end date

Cloudflare D1 free tier

SQLite databases that run alongside Cloudflare Workers on the free Workers plan.

Checked against Cloudflare D1's official pages on 1 Nov 2026. Free tiers change, so confirm before you commit.

What Cloudflare D1's free plan gives you

Up to 10 databases with 5 GB total storage, 5 million row reads and 100,000 row writes per day.

Cloudflare D1 free plan limits
LimitFree plan
Databases10
Storage5 GB total
Row reads5M / day
Row writes100K / day

The catch

Only 100,000 row writes per day, which resets daily.

Pros and cons

Good

  • Runs next to Workers
  • No card
  • Generous read quota

Watch out

  • Daily write cap
  • Tied to Cloudflare
  • SQLite feature set

How to start on Cloudflare D1

  1. 1

    Create a Cloudflare account

  2. 2

    Run npx wrangler d1 create my-db

  3. 3

    Bind it in wrangler config

  4. 4

    Run SQL with wrangler d1 execute

  5. 5

    Deploy your Worker with wrangler deploy

Cloudflare D1: questions

Is Cloudflare D1 free?

Up to 10 databases with 5 GB total storage, 5 million row reads and 100,000 row writes per day. Free plan ends: Never.

Does Cloudflare D1 need a credit card?

No, you can sign up for Cloudflare D1's free plan without a card.

What is the catch with Cloudflare D1's free plan?

Only 100,000 row writes per day, which resets daily.

Can I use my own domain on Cloudflare D1 for free?

Yes, you can connect your own domain on the free plan. You also get a free address at *.workers.dev (via Workers).

What are the best free alternatives to Cloudflare D1?

Firebase (Spark plan), Turso, Upstash. Compare their limits on this page or open each one for details.

Alternatives to Cloudflare D1

  • Firebase (Spark plan)

    BaaS + hosting

    100

    Google's app backend: static hosting, auth and Firestore on the free Spark plan.

    Hosting
    10 GB storage, 360 MB/day transfer
    Firestore
    1 GiB, 50K reads / 20K writes per day
    Realtime DB
    1 GB, 100 connections

    The catch: Cloud Functions, App Hosting and (for new projects) Cloud Storage need the pay-as-you-go Blaze plan.

    No cardNo end date
    Paid from Usage-based
  • Turso

    Edge SQLite

    92

    Hosted SQLite (libSQL) with many small databases and edge replicas.

    Databases
    100
    Storage
    5 GB
    Row reads
    500M / month

    The catch: Only one day of point-in-time restore on the free plan.

    No cardNo end date
    Paid from $4.99/mo (Developer)
  • Upstash

    Serverless Redis

    92

    Serverless Redis you call over HTTP, priced per request.

    Data size
    250 MB
    Commands
    500K / month
    Bandwidth
    10 GB / month

    The catch: 500K commands a month runs out fast if you poll or cache every request.

    No cardNo end date
    Paid from $10/mo (Fixed 250 MB (or pay as you go $0.20 per 100K commands))
  • MongoDB Atlas

    Managed MongoDB

    87

    Hosted MongoDB with a free shared cluster that has no end date.

    Storage
    512 MB
    Throughput
    Up to 100 ops/sec
    Connections
    500

    The catch: 512 MB fills quickly, and there is a 100 ops/sec cap.

    No cardNo end dateSleeps when idle
    Paid from Usage-based
  • Neon

    Serverless Postgres

    87

    Serverless Postgres with branching that scales to zero when unused.

    Compute
    100 CU-hours / project / month, up to 2 CU (8 GB RAM)
    Storage
    1 GB per project, 20 GB total
    Projects
    100

    The catch: Only 1 GB of storage per project.

    No cardNo end dateSleeps when idle
    Paid from Usage-based
  • Supabase

    Postgres BaaS

    87

    Open-source backend built on Postgres, with auth, storage and edge functions.

    Projects
    2 active
    Database
    500 MB per project
    File storage
    1 GB

    The catch: Free projects pause after a week without activity.

    No cardNo end dateSleeps when idle
    Paid from $25/mo (Pro)

Tools for your new site