> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bunny Database

> Bunny Database is a globally distributed SQLite-compatible database.

![bunny.net Database](https://mintcdn.com/bunnynet-cb9733c2/GYo51EPI6zuebYhU/images/database/database.png?fit=max\&auto=format\&n=GYo51EPI6zuebYhU\&q=85\&s=f72e07b8ed52af6208a37ee9bb50e375)

> [!NOTE]
>
> Bunny Database is currently in [Public Preview](/docs/product-release-stages#stage-2-public-preview). Features and APIs may evolve during this period.

Bunny Database is a fully managed relational database service built on libSQL, a fork of SQLite. It allows you to easily deploy simple, globally distributed SQL databases. The service automatically handles scaling and replication, and stays idle when inactive for a usage-based billing model.

> **[Database Quickstart](/docs/database/quickstart)**

## Key features

* **SQLite compatibility**: Use standard SQL syntax and leverage existing SQLite knowledge, tools, and libraries
* **Global replication**: Replicate your database across multiple regions for low-latency access worldwide
* **Multiple connection options**: Connect via HTTP API, native SDKs, or popular ORMs
* **Versioned migrations**: Track schema changes as SQL files and apply them with the Bunny CLI
* **Edge integration**: Works seamlessly with Edge Scripting and Magic Containers
* **Fully managed**: No infrastructure to maintain with automatic scaling and replication
* **Usage-based billing**: Stays idle when inactive, so you only pay for what you use

## Integrations

Bunny Database integrates with other bunny.net developer platform services:

> **[Magic Container Apps](/docs/database/connect/magic-containers)**
>
> Deploy any Docker workload without provisioning. Databases and containers
> are deployed to the same regions to minimize latency.

> **[Edge Scripts](/docs/database/connect/scripting)**
>
> Run lightweight serverless JavaScript/TypeScript logic close to your users.

## Getting started

> **[Quickstart](/docs/database/quickstart)**
>
> Create your first database and run queries in minutes

> **[Migrations](/docs/database/migrations)**
>
> Version your schema as SQL files and apply them with the Bunny CLI

> **[SQL API](/docs/database/connect/sql-api)**
>
> Connect directly using the HTTP-based SQL API

> **[TypeScript](/docs/database/connect/typescript)**
>
> Connect using the libSQL client for JS & TypeScript

> **[Go](/docs/database/connect/go)**
>
> Connect using the libSQL client for Go

> **[Rust](/docs/database/connect/rust)**
>
> Connect using the libSQL crate for Rust

> **[.NET](/docs/database/connect/dotnet)**
>
> Connect using the Bunny.LibSQL.Client for .NET


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.