Cloudflare D1
Databases Free key (no card)
AuthenticationFree key (no card)
Rate limitFree tier daily limits apply; queries stop (not charged) when exceeded. See the pricing page for current numbers.
Documentation: developers.cloudflare.com ยท Checked Sep 13, 2026
About
Cloudflare D1 is a database built on SQLite that runs across Cloudflare's global network, right next to your serverless code. It's included free on the Workers Free plan: when you hit the daily limit, queries simply pause instead of charging you. You write plain SQL and it feels like a tiny local database with global reach.
Details
Free to start. You may need a free key, but no credit card.
Auth: Free key (no card)
Rate limit: Free tier daily limits apply; queries stop (not charged) when exceeded. See the pricing page for current numbers.
Verified: 2026-09-13
Best for: developer
Setup
- Sign up free at cloudflare.com.
- Install Wrangler: npm install -g wrangler, then run wrangler login.
- Create a database: wrangler d1 create my-db.
- Bind it to a Worker in wrangler.toml and query it with SQL.
Example
wrangler d1 execute my-db --command="SELECT * FROM users"Use cases
- Databases for serverless apps
- Small apps that need global low latency
- SQLite-backed APIs on Cloudflare Workers