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.

Free tier, no credit card
SQL Console
SQLite

Tables

  • users
  • events
  • orders
  • sessions
SELECT id, name, created_at
FROM events
WHERE created_at > NOW() - INTERVAL '7 days'
ORDER BY id DESC LIMIT 5;
idnamecreated_at
1247signup2026-03-12 14:21
1246purchase2026-03-12 14:08
1245login2026-03-12 13:55
1244signup2026-03-12 13:44
1243purchase2026-03-12 13:30
5 rows · 12ms

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.

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.

Included

TLS by default

All connections encrypted. No setup required.

Included

Always-on connections

Optional keep-alive add-on prevents hibernation.

Included

Scale to zero

Hibernates when idle. Wakes on the next connection.

Included

Connection pooling

Pooled endpoint for serverless and edge workloads.

Included

Direct connections

Bypass the pooler for migrations and replication.

Included

HTTPS access

HTTP-native engines reachable over port 443.

Not available

Serverless driver

Upstash REST or PlanetScale serverless drivers supported.

Not available

IP whitelisting

Restrict access to specific IPs or CIDR ranges.

Included

Automatic backups

Scheduled point-in-time backups with one-click restore.

Included

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
bashSQLite
psql "postgresql://layerbase:password@your-host.cloud.layerbase.dev:5432/sqlite1?sslmode=require"

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.

Compare SQLite and libSQL

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.