---
description: Build serverless SQL databases on Cloudflare's global network and query them from Workers and Pages projects.
title: Cloudflare D1
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/d1/llms.txt  
> Use this file to discover all available pages before exploring further.

# Cloudflare D1

Last updated Apr 30, 2026|Copy as Markdown|[View as Markdown](https://developers.cloudflare.com/d1/index.md)|[Agent setup](https://developers.cloudflare.com/agent-setup/)

Create new serverless SQL databases to query from your Workers and Pages projects.

Available on Free and Paid plans

D1 is Cloudflare's managed, serverless database with SQLite's SQL semantics, built-in disaster recovery, and Worker and HTTP API access.

D1 allows you to create thousands of databases at no extra cost for isolation, perfect for scaling out application vibe-coding platforms. D1 pricing is based only on query and storage costs.

Create your first D1 database by [following the Get started guide](https://developers.cloudflare.com/d1/get-started/), learn how to [import data into a database](https://developers.cloudflare.com/d1/best-practices/import-export-data/), and how to [interact with your database](https://developers.cloudflare.com/d1/worker-api/) directly from [Workers](https://developers.cloudflare.com/workers/) or [Pages](https://developers.cloudflare.com/pages/functions/bindings/#d1-databases).

---

## Features

[Create your first D1 database](https://developers.cloudflare.com/d1/get-started/)

Create your first D1 database, establish a schema, import data and query D1 directly from an application [built with Workers](https://developers.cloudflare.com/workers/).

Create your D1 database

[SQLite](https://developers.cloudflare.com/d1/sql-api/sql-statements/)

Execute SQL with SQLite's SQL compatibility and D1 Client API.

Execute SQL queries

[Time Travel](https://developers.cloudflare.com/d1/reference/time-travel/)

Time Travel is D1’s approach to backups and point-in-time-recovery, and allows you to restore a database to any minute within the last 30 days.

Learn about Time Travel

[Global Read Replication](https://developers.cloudflare.com/d1/best-practices/read-replication/)

D1 read replication can lower latency for read queries and scale read throughput by adding read-only database copies, called read replicas, across regions globally closer to clients.

Scale with Read Replicas

---

## Related products

[Workers](https://developers.cloudflare.com/workers/)

Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale.

[Pages](https://developers.cloudflare.com/pages/)

Deploy dynamic front-end applications in record time.

---

## More resources

### [Pricing](https://developers.cloudflare.com/d1/platform/pricing/)

Learn about D1's pricing and how to estimate your usage.

### [Limits](https://developers.cloudflare.com/d1/platform/limits/)

Learn about what limits D1 has and how to work within them.

### [Community projects](https://developers.cloudflare.com/d1/reference/community-projects/)

Browse what developers are building with D1.

### [Storage options](https://developers.cloudflare.com/workers/platform/storage-options/)

Learn more about the storage and database options you can build on with Workers.

### [Developer Discord](https://discord.cloudflare.com)

Connect with the Workers community on Discord to ask questions, show what you are building, and discuss the platform with other developers.

### [@CloudflareDev](https://x.com/cloudflaredev)

Follow @CloudflareDev on Twitter to learn about product announcements, and what is new in Cloudflare Developer Platform.

Was this helpful?

YesNo

## On this page

[![](https://developers.cloudflare.com/_astro/logo.DMYpXs3t.svg)Docs](https://developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/d1/#page","headline":"Overview · Cloudflare D1 docs","description":"Build serverless SQL databases on Cloudflare's global network and query them from Workers and Pages projects.","url":"https://developers.cloudflare.com/d1/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-04-30","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
