Black Friday at Hostinger: 15% off yearly and longer plans with BFVPS15, until 6 Dec. See plans

Black Friday: 15% off hosting with BFVPS15

Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size1,345 projects
    • Developer Tools688
    • AI & Machine Learning557
    • Business & Productivity334
    • Web Development221
    • Security & Monitoring205
    • Communication & Collaboration173
    • IT Management166
    • Design & Creative151
    • DevOps & CI/CD145
    • LLMOps & AI Tooling144
    Browse all 21 categoriesCloud & Hosting, Product & Project Management and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools688
    • AI & Machine Learning557
    • Business & Productivity334
    • Web Development221
    • Security & Monitoring205
    • Communication & Collaboration173
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Add Open Source Alternatives as a preferred source on Google

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/Databases & Storage/Turso
icon of Turso

Turso

Open source alternative to Cloudflare D1, SQLite Cloud and PlanetScale

  • 25.4K stars
  • MIT
  • Active this week
  • Last commit 2 days ago

Last verified Nov 26, 2026

Run a SQLite-compatible, in-process SQL database in Rust with async I/O, MVCC concurrent writes, and language bindings for seven runtimes.

Visit websiteGitHub25.4K starsDeploy on Hostinger
image of Turso
TL;DR

Turso Database is an in-process SQL database written in Rust, compatible with SQLite at the SQL dialect, file format, and C API levels. For teams that need concurrent writes, async I/O, or vector search without moving to managed services like SQLite Cloud or Cloudflare D1, it extends SQLite's capabilities while keeping the same file format, SQL dialect, and MIT license terms. The project is under active development and has not yet reached 1.0; the maintainers recommend independent backups until then. Best for developers building local-first apps, AI agent memory stores, or cross-platform embedded databases who want to stay on SQLite-compatible SQL.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who Turso is for#

Developers building local-first or offline apps

Turso Database embeds directly in an application binary with no server process, reads and writes a local file, and runs on all platforms including WebAssembly in browsers. For local-first architectures where data lives on the device and syncs later, this keeps the database colocated with the app without adding network dependencies.

Skip if:

If your app requires a shared network database that multiple independent clients write to concurrently over a network, an embedded library is not the right fit. Consider a managed or self-hosted server database instead.

AI engineers embedding persistent memory in agents

The database stores vectors alongside structured data in the same file and runs exact vector search queries. An agent can persist memory, retrieve past context via semantic search, and store structured state in a single local database without a separate vector store or external service dependency.

Skip if:

If your agent workload requires approximate nearest-neighbor search at scale (millions of vectors), exact vector search will be slower than a dedicated ANN index. The roadmap includes vector indexing but it has not shipped yet.

Teams migrating SQLite apps that need concurrent writes

Applications already on SQLite with write contention problems can adopt Turso Database without changing their SQL dialect or database files. `BEGIN CONCURRENT` replaces the single-write-lock model with MVCC, and the existing language bindings stay idiomatic for each runtime.

Skip if:

If write contention is not your problem and SQLite 3.x meets your needs, adding a new dependency and accepting the pre-1.0 caveats is not worth it.

Developers integrating databases into AI coding tools

The built-in MCP server mode exposes the database to AI assistants via the Model Context Protocol, with tools for schema inspection, queries, and writes. This is useful for building database-aware agents or coding tools that can read and modify application data through natural language.

Skip if:

If you need a managed database with observability, automatic backups, and multi-region replication, the managed Turso Cloud service covers those features; the open source engine handles none of them on its own.

the problem

The problem it solves#

The SQLite reference implementation is built for simplicity and portability. Those goals produce a fast, single-file database, but they also impose hard constraints: BEGIN IMMEDIATE locks the whole database during writes, there is no native async I/O, and the C API does not ship with idiomatic bindings for modern runtimes. At scale, write contention on a single lock becomes a bottleneck. Applications that add async JavaScript or Python wrappers pay synchronous overhead on every query.

The standard answer is to move to a network-based database, which adds a round-trip to every query, a separate server to operate, and per-read billing on managed services. For use cases that fit an embedded model, such as local-first applications, edge compute, and AI agent memory, that trade-off is not worth making. A database that extends SQLite with MVCC, async I/O, and modern language bindings fills the gap without changing the SQL dialect or the file format.

how Turso solves it

How it solves it#

SQLite File Format and C API Compatibility

Turso Database reads existing SQLite `.db` files without conversion and tracks the SQLite 3.50.4 release for SQL dialect compatibility. The C API is compatible; COMPAT.md in the repository tracks the remaining differences and is updated as the gap closes toward the 1.0 requirement of full compatibility.

BEGIN CONCURRENT for Concurrent Writes

Adds `BEGIN CONCURRENT` for multi-version concurrency control, allowing multiple write transactions to proceed in parallel when they touch different rows. The SQLite reference implementation serializes all writes through `BEGIN IMMEDIATE`, which creates a bottleneck under any workload with concurrent writers. MVCC removes that constraint without changing the SQL interface.

Multi-Language Bindings

Official bindings for Rust (`cargo add turso`), JavaScript (`npm i @tursodatabase/database`), Python (`uv pip install pyturso`), Go, Java (Maven Central), and .NET (NuGet). WebAssembly support runs the database in a browser. Each binding uses the native package manager for that runtime, keeping the installation path idiomatic for the language.

Async I/O on Linux via io_uring

Implements asynchronous I/O support on Linux using the io_uring kernel interface, removing the synchronous I/O overhead that the SQLite C implementation carries. This benefits applications with concurrent queries or high read throughput on Linux servers, without requiring changes to the SQL queries or schema.

Vector Storage and Exact Vector Search

Stores vectors alongside relational data in the same database file and runs exact vector search queries. This avoids the need for a separate vector database for use cases like AI agent memory or semantic search, keeping data local and query latency low. Approximate nearest-neighbor (ANN) indexing is on the roadmap but has not shipped yet.

MCP Server Mode for AI Assistant Integration

The Turso CLI includes a built-in MCP server mode (`tursodb your_database.db --mcp`) that exposes nine tools for AI assistants: list tables, describe schema, execute SELECT queries, insert, update, delete, and schema changes. Compatible with Claude Code, Claude Desktop, Cursor, and other MCP clients.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • MIT License with No Commercial RestrictionsThe MIT license allows any commercial use, modification, and distribution without restriction. You can embed Turso Database in a commercial product, run it internally at any scale, or fork and redistribute it. No enterprise tier, no dual-license gating, no usage-based fees on the self-hosted engine.
  • Full Compatibility with Existing SQLite FilesExisting `.db` files open and run without migration. The file format, SQL dialect, and C API are compatible at the SQLite 3.50.4 level. Teams can adopt the engine incrementally without rewriting data or queries, and the COMPAT.md file tracks precisely where the remaining differences lie.
  • Cross-Platform with WebAssembly SupportRuns on Linux, macOS, Windows, and in browsers through WebAssembly. A single engine and SQL interface works from local development to production, and the same database file can run in a web browser without a server-side component. This covers the full range from CLI tooling to edge deployments.
  • Pre-1.0 but Production-ProvenMultiple organizations run Turso Database in production today, including Turso Cloud itself, the Kin AI assistant, and Spice.ai. The project uses a Deterministic Simulation Testing suite and Antithesis for reliability testing, targeting SQLite-level reliability as the bar for a 1.0 declaration.

Trade-offs

  • -Pre-1.0 and Several Features Are ExperimentalThe project has not reached 1.0. Features explicitly marked experimental include the Postgres wire protocol frontend, encryption at rest, incremental computation (DBSP), full-text search via tantivy, and multi-process WAL coordination. The maintainers recommend keeping independent backups during pre-1.0. The SQLite-level reliability bar has not yet been declared met.
  • -1,431 Open IssuesThe GitHub repository carries 1,431 open issues. Active development at this scale typically means a healthy pace of bug reports alongside features, but it also signals that some edge cases remain. Review COMPAT.md before relying on specific SQLite behaviors that may differ in the current release.
  • -Postgres Frontend Is ExperimentalThe Postgres wire protocol frontend speaks the Postgres dialect and can serve Postgres clients, but it is marked experimental. Applications that need a stable Postgres-compatible interface should not rely on this feature for production use yet. The SQLite frontend is the stable, primary path.
versus alternatives

Turso vs alternatives#

Turso Database vs Cloudflare D1

Cloudflare D1 is a managed SQLite database with built-in replication and automatic backups, integrated into the Cloudflare Workers ecosystem. Turso Database is an MIT-licensed open source library you run in-process on your own infrastructure. The overlap is SQLite-compatible SQL; the difference is deployment model.

FeatureTurso DatabaseCloudflare D1
LicenseMITProprietary
DeploymentIn-process, self-hostedManaged cloud
ReplicationNot in the open source engineBuilt-in

Turso Database is the right choice when you need self-hosting, MIT licensing, or in-process deployment for local-first or edge applications not tied to the Cloudflare Workers environment. Cloudflare D1 suits teams already building on Cloudflare Workers who want managed SQLite without operating infrastructure.

Turso Database vs SQLite Cloud

SQLite Cloud is a fully managed SQLite-as-a-service with global distribution and real-time replication. Turso Database is an open source, in-process engine. The comparison is between a managed service and a self-hosted library.

FeatureTurso DatabaseSQLite Cloud
LicenseMITProprietary
DeploymentIn-process, self-hostedManaged cloud
DistributionNot in the open source engineGlobal
ReplicationNot in the open source engineReal-time

SQLite Cloud fits teams that want managed replication and global distribution without operating any infrastructure. Turso Database is the choice for teams that need a self-hosted embedded engine with MIT licensing and concurrent write support.

Turso Database vs PlanetScale

PlanetScale is a managed MySQL and PostgreSQL service with database branching and non-blocking schema changes. It is a network-based server database, not an embedded library. The two serve different architectural needs.

PlanetScale suits teams building server-side applications on MySQL or PostgreSQL that need database branching and non-blocking schema changes at scale. Turso Database suits teams embedding a SQLite-compatible engine in-process, where network round-trips are unacceptable or the deployment environment does not support a separate database server.

install · quick start

Quick start#

bash
Install the Turso Database CLI to access an interactive SQL shell and explore a local database.

```bash
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tursodatabase/turso/releases/latest/download/turso_cli-installer.sh | sh
```
tech stack · detected from GitHub

What it's built on#

Languages
CC#GoJavaJavaScriptPythonRustTypeScript
Frameworks
React
Runtimes
WebAssembly
frequently asked

FAQ#

Is Turso Database the same as Turso Cloud?

No. Turso Database is the open source, MIT-licensed database engine you install locally or embed in your application. It runs in-process with no server dependency. Turso Cloud is the vendor's separate managed service that adds provisioning, embedded replication, per-database encryption, observability, and multi-region hosting. The open source engine is what you install when you run the CLI installer or add a package to your application.

Is Turso Database ready for production use?

Yes, with caveats. Multiple organizations run Turso Database in production today, including Turso Cloud itself, the Kin AI assistant, and Spice.ai. The project uses Deterministic Simulation Testing and Antithesis for reliability testing. That said, the project has not declared 1.0, and several features are explicitly marked experimental. The maintainers recommend keeping independent backups until 1.0 is reached, as you would with any database under active development.

How compatible is Turso Database with SQLite?

Turso Database is compatible with SQLite at the SQL dialect, file format, and C API levels, tracking SQLite version 3.50.4. Existing SQLite .db files open without conversion. The compatibility gap is tracked in COMPAT.md in the repository and is updated as it closes. Full compatibility is a stated requirement for 1.0. Some SQL dialect differences still exist; check COMPAT.md before relying on a specific SQLite behavior.

Does Turso Database support Postgres clients?

An experimental Postgres frontend is in development. It speaks the Postgres SQL dialect and wire protocol, so Postgres clients can connect to a Turso Database without modification. The feature is marked experimental and is not recommended for production use yet. The SQLite frontend remains the stable, primary path. The two frontends share the same storage, concurrency, and query compiler underneath.

What is libSQL and how does it relate to Turso Database?

libSQL is an earlier Turso project that evolved SQLite through a fork approach. Turso Database takes a different direction: a Rust rewrite aimed at building the next evolution of SQLite. Both run in production today, but due to the success of the rewrite, Turso Database replaces libSQL as the intended long-term direction. libSQL has been battle-tested longer; Turso Database is where active development is focused and is evolving more rapidly. The maintainers published details on the transition at turso.tech/blog.

also worth a look

Similar open-source tools#

Dolt

Alternative toPlanetScale

Git-native SQL database with branching, merging, and row-level diffs.

  • 25,002 GitHub stars
  • Apache-2.0Licence Apache-2.0

Dbos Transact Java

Alternative toTemporal Cloud

Postgres-native durable workflows for Java, no orchestrator required.

  • 250 GitHub stars
  • MITLicence MIT

AWS Emulator

Alternative toLocalStack Enterprise

Local AWS API emulator for offline development and CI/CD

  • 10,170 GitHub stars
  • CC0-1.0Licence CC0-1.0

Iceberg

Alternative toDatabricks

Open table format for concurrent multi-engine analytics.

  • 9,457 GitHub stars
  • Apache-2.0Licence Apache-2.0

Solid Queue

Alternative toSSidekiq

SQL-backed Active Job backend for Rails, no Redis required.

  • 2,510 GitHub stars
  • MITLicence MIT

Aspire

InDeveloper Tools

Code-first distributed app orchestration with built-in observability.

  • 6,456 GitHub stars
  • MITLicence MIT
by category

Open source tools in these categories#

79

Databases & Storage

Immich, Supabase, Redis
94

Backend Development

dify, graphify, Rust
137

Cloud & Hosting

RuView, dify, OmniRoute
Black Friday offerHostinger

Self-host Turso on a Hostinger VPS

Keep it running 24/7, even when your laptop is off. A Hostinger VPS gives it a server of its own.

  1. 01

    Choose a plan

    Starts from $6.49/mo

  2. 02

    Apply

    15% off yearly and longer plans, until 6 Dec

  3. 03

    Install Turso

    On a server that stays on

  4. 04

    Start building

    Focus on the app, not the server

Deploy on Hostinger

Sponsors

SnitchFeed

Live monitoring on LinkedIn, X, Reddit & more. Agentic social listening for startups.

Marketing & Growth

Windshift

Alternative toJira

Self-hosted work management for teams leaving Jira

  • 481 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

Nuphos

Alternative toConductor

Agent workspace for teams running Claude Code or Codex

  • 821 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents
Advertise your product

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • 1Password to KeePassXC
  • Zapier to n8n
  • Pinecone to Qdrant
  • Contentful to Strapi
  • Firebase to Supabase
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • 1Password to KeePassXC
  • Zapier to n8n
  • Pinecone to Qdrant
  • Contentful to Strapi
  • Firebase to Supabase