Turso is a free SQLite database platform that replicates your data to the edge. Your database runs close to your users — worldwide.
What Is Turso?
Turso is built on libSQL (an open-source fork of SQLite). It gives you the simplicity of SQLite with the scalability of distributed databases.
Key features:
- SQLite compatibility
- Edge replication (data near users globally)
- Embedded replicas (sync to your app)
- Branching (database branches like git)
- Multi-tenancy
- TypeScript, Python, Go, Rust SDKs
- Generous free tier
Quick Start
# Install CLI
curl -sSfL https://get.tur.so/install.sh | bash
# Login and create database
turso auth login
turso db create my-app
turso db tokens create my-app
JavaScript SDK
import { createClient } from "@libsql/client";
const db = createClient({
url: "libsql://my-app-username.turso.io",
authToken: "your-token"
});
await db.execute("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, email TEXT)");
await db.execute({ sql: "INSERT INTO users (name, email) VALUES (?, ?)", args: ["Alice", "alice@email.com"] });
const result = await db.execute("SELECT * FROM users");
console.log(result.rows);
Free Tier
| Feature | Free | Scaler |
|---|---|---|
| Databases | 500 | 10,000 |
| Locations | 3 | Unlimited |
| Storage | 9GB | 24GB+ |
| Rows read/mo | 1B | 100B+ |
| Rows written/mo | 25M | 100M+ |
Turso vs Alternatives
| Feature | PlanetScale | Supabase | Turso |
|---|---|---|---|
| Database | MySQL | PostgreSQL | SQLite |
| Edge | No | No | Yes |
| Embedded replica | No | No | Yes |
| Free DBs | 1 | 2 | 500 |
| Branching | Yes | No | Yes |
With libSQL as the open-source foundation. SQLite at the edge.
Store scraped data at the edge! Apify tools. Custom solutions: spinov001@gmail.com
Top comments (0)