Serverless SQLite
The world's most-deployed database, on a connection string. Free tier, the same SQL you already know, every standard SQLite tool works.
Tables
- users
- events
- orders
- sessions
| id | name | created_at |
|---|---|---|
| 1247 | signup | 2026-03-12 14:21 |
| 1246 | purchase | 2026-03-12 14:08 |
| 1245 | login | 2026-03-12 13:55 |
| 1244 | signup | 2026-03-12 13:44 |
| 1243 | purchase | 2026-03-12 13:30 |
Where to run it
Cloud, desktop, or self-host
One database, three places it can live. Pick the speed you want and move between them when you outgrow it.
What you get
Production features, free tier included
Every SQLite database ships with the same primitives: TLS, web console, hibernation, and a real dashboard. No tiered features hidden behind a sales call.
Web IDE
Query console in the dashboard, no extra client to install.
TLS by default
All connections encrypted. No setup required.
Always-on connections
Optional keep-alive add-on prevents hibernation.
Scale to zero
Hibernates when idle. Wakes on the next connection.
Connection pooling
Pooled endpoint for serverless and edge workloads.
Direct connections
Bypass the pooler for migrations and replication.
HTTPS access
HTTP-native engines reachable over port 443.
Serverless driver
Upstash REST or PlanetScale serverless drivers supported.
IP whitelisting
Restrict access to specific IPs or CIDR ranges.
Automatic backups
Scheduled point-in-time backups with one-click restore.
Quick start
Connect with any SQLite client
Embedded-style data layers exposed over the network, prototypes, edge-friendly workloads, and apps that want SQLite ergonomics without managing a file.
- Spin up a network-addressable SQLite for a side project without provisioning anything
- Hand a SQLite endpoint to a serverless app instead of managing local files
- Prototype a schema in SQLite, deploy the same SQL elsewhere later
- Per-developer SQLite databases backed by the same shape as production
- Self-host on your own hardware with SpinDB when needed
psql "postgresql://layerbase:password@your-host.cloud.layerbase.dev:5432/sqlite1?sslmode=require"Sibling engine
Looking for the SQLite-compatible serverless driver?
libSQL is the Turso-backed fork of SQLite with HTTP, WebSocket, and edge-friendly drivers. If you want SQLite semantics from an edge runtime, point your client at libSQL instead.
Questions
Common SQLite questions
Is hosted SQLite still really SQLite?+
Yes. The endpoint speaks standard SQLite SQL and behaves like a normal SQLite database, just reachable over the network. Standard tooling, standard schema, standard SQL.
How does it compare to libSQL?+
SQLite is the upstream embedded engine; libSQL is Turso's fork with HTTP and WebSocket drivers, designed for edge runtimes that cannot speak SQLite's native protocol. If you need an HTTP-friendly client, pick libSQL.
Does it scale?+
SQLite's strength is single-writer simplicity, not horizontal scale. For high write throughput, pick Postgres or MySQL. For typical app workloads SQLite scales further than people expect.
What about backups?+
Free databases hibernate but persist their data; paid plans add scheduled snapshots. Manual snapshot and restore are available from the dashboard.
Can I use sqlite3 CLI and standard tooling?+
Yes. The endpoint exposes a standard connection format compatible with sqlite3, better-sqlite3, sqlx, Drizzle, Prisma, and other SQLite-aware tooling.