jed
Embeddable. Capable. Safe for untrusted SQL.
One file, no server — types and behavior modeled on PostgreSQL.
v0.3.0 preview — not ready for production use. Heavily tested, but not yet proven by real-world use, and the on-disk format may still change. Read the preview status →
A live database, in your browser
no server — the engine is running on this pageNo results yet. Run a query to see output.
Embeddable
A library you link into your program — no server, no daemon. Just your app and a file.
Single file
One database is one file on disk. Close all database handles before copying the file. Commits are atomic, with durable flushing enabled by default.
Rich type system
Exact decimals, timestamps, UUID, JSON/JSONB, arrays, ranges, and composite types — and a value is never silently reinterpreted at runtime.
PostgreSQL-modeled behavior
Modeled on PostgreSQL — not just the syntax it accepts, but the semantics a query actually observes. The everyday SQL you already write behaves the same.
Safe for untrusted SQL
Memory-safe cores and pure built-ins, with configurable cost, scalar-allocation, query-memory, and storage budgets.
Many native cores
Built from scratch in Rust, Go, and TypeScript in lockstep — byte-identical, no reference implementation.
Built for
Running untrusted SQL
Let your users write and run their own queries with memory-safe cores, pure built-ins, and configurable work, scalar-allocation, and query-memory budgets. See resource coverage and remaining memory limits.
Local dev & test
For applications using jed’s supported SQL surface, keep development and tests in process, with no database server to provision.
An embedded PostgreSQL companion
Use familiar SQL and PostgreSQL-modeled behavior in an embedded library. Check the documented differences when sharing queries with PostgreSQL.
How it works here
This whole site is static — no backend. The jed engine is compiled to run in your browser: a native TypeScript core executes in a Web Worker, and the database tool persists real single-file databases to your browser’s origin-private file system (OPFS). The same engine ships as native Rust, Go, and TypeScript cores.