UnQLite
activeby Symisc Systems · since 2013
Embedded, transactional key-value and JSON document engine in a single C file, with Jx9 scripting.
Overview
UnQLite is a self-contained, serverless database engine for C and C++ that stores data in a single portable file. It has two layers: a binary-safe key-value store with cursors, and a JSON document store driven by Jx9, a small embedded scripting language with a JavaScript-like syntax. It is ACID-transactional, ships as an amalgamation (unqlite.c and unqlite.h) like SQLite, and runs on everything from servers to embedded devices. After years of slow activity, Symisc resumed releases in 2026 (1.2.1 in May). It fits native apps that want a key-value or document store with SQLite-style deployment.
Strengths & trade-offs
Strengths
- +Single-file amalgamation, easy to vendor into any C/C++ project
- +ACID transactions on a portable single-file database
- +Both raw key-value and JSON document APIs
- +Permissive BSD license
Trade-offs
- −Jx9 is a niche language with little tooling
- −No secondary indexes for documents
- −Small maintainer team and sparse community
Great for
- +Embedded devices and firmware needing local storage
- +Desktop or game apps storing JSON state
- +Local caches inside native services
Think twice for
- −Multi-user servers
- −Complex querying
Capabilities
Native or official first-party support · 5 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Embedded, In memory
- Query languages
- Jx9, Key-value C API
Deployment
Ecosystem
Alternatives to UnQLite
The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
unqlite vs sqlite →Embeddable JSON document database in C, with a JQL query language and optional HTTP/WebSocket server.
unqlite vs ejdb →Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.
unqlite vs lmdb →Google's original small, fast LSM key-value library, now in limited-maintenance mode.
unqlite vs leveldb →The 1990s-era embedded key-value library, now Oracle-owned, AGPL-licensed and rarely updated.
unqlite vs berkeley-db →Embedded BSON document database for Rust with a MongoDB-like API and optional wire-protocol server.
unqlite vs polodb →UnQLite FAQ
What is UnQLite?
UnQLite is a key-value database by Symisc Systems, first released in 2013. UnQLite is a self-contained, serverless database engine for C and C++ that stores data in a single portable file. It has two layers: a binary-safe key-value store with cursors, and a JSON document store driven by Jx9, a small embedded scripting language with a JavaScript-like syntax. It is ACID-transactional, ships as an amalgamation (unqlite.c and unqlite.h) like SQLite, and runs on everything from servers to embedded devices. After years of slow activity, Symisc resumed releases in 2026 (1.2.1 in May). It fits native apps that want a key-value or document store with SQLite-style deployment.
Is UnQLite open source?
Yes. UnQLite is open source. License: BSD 2-Clause.
Does UnQLite support ACID transactions?
Yes. UnQLite supports full ACID transactions, with strong consistency.
Does UnQLite scale horizontally?
UnQLite does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run UnQLite?
You can self-host it and embed it in your application.
What is UnQLite best for?
UnQLite is a strong fit for embedded devices and firmware needing local storage; desktop or game apps storing JSON state; and local caches inside native services. Think twice for multi-user servers.
What are the best alternatives to UnQLite?
Common alternatives to UnQLite include SQLite, EJDB, LMDB, LevelDB and Oracle Berkeley DB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is UnQLite?
UnQLite ranks #419 of 844 databases on the WhichDB Score (4.1/100), and #61 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

