# bbolt

> An embedded key/value database for Go

Source: https://talira.ai/catalog/bbolt-jd8aba9j
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Database
- Categories: [databases / embedded](https://talira.ai/categories/databases/embedded)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Creator: Ben Johnson (original Bolt)
- Funding: non-profit[^3][^4]

bbolt is a pure [Go](https://talira.ai/catalog/go-ed2kmsvk.md) embedded key/value store, the etcd project's maintained fork of Ben Johnson's Bolt (archived in 2018), keeping Bolt's API while adding bug fixes, performance improvements and features. Inspired by LMDB, it keeps everything in a single file for programs that don't need a database server such as Postgres or MySQL: keys and values live in buckets, which can be nested, with cursors for ordered iteration and range and prefix scans, and transactions where one read-write transaction runs at a time alongside any number of read-only ones, each seeing a consistent snapshot. It also has a bbolt command-line tool for inspecting database files. It's maintained under the [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md) project.

## Links

- GitHub: https://github.com/etcd-io/bbolt
- Docs: https://pkg.go.dev/go.etcd.io/bbolt

## Problems it solves

- an embedded key/value database for a Go program with no server to run
- store data in a single file from Go with ACID-style transactions
- a maintained replacement for the archived BoltDB

## Features

- Pure Go, single-file storage
- Buckets, nested buckets and auto-incrementing sequences
- Cursors for ordered, range and prefix iteration
- One read-write transaction alongside many read-only ones, with consistent snapshots
- Batch read-write transactions
- bbolt command-line utility

## Limitations

- Only one read-write transaction at a time[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.71 out of 1.
Signals: maintenance 0.75, adoption 0.80, momentum 0.59, community 0.96, backing 0.75, extensibility 0.20.

- last commit 6 days ago
- 23 commits in the last 90 days
- latest release v1.5.0 5 months ago
- 9.9k GitHub stars
- 252 contributors
- backed by Cloud Native Computing Foundation
- created by Ben Johnson (original Bolt)
- funding: non-profit

## Alternatives

- [Pebble](https://talira.ai/catalog/pebble-856q9yyk.md): RocksDB/LevelDB inspired key-value database in Go
- [Badger](https://talira.ai/catalog/badger-jjgdn1k6.md): Embeddable, persistent key-value database in pure Go
- [ObjectBox](https://talira.ai/catalog/objectbox-j4dx8s5d.md): The edge vector database for on-device AI
- [LMDB](https://talira.ai/catalog/lmdb-mmsatwjv.md): Lightning Memory-Mapped Database: a tiny, crash-proof embedded key-value store

## Sources

[^1]: https://github.com/etcd-io/bbolt (checked 25 Nov 2026)
[^2]: https://github.com/etcd-io/bbolt/blob/main/LICENSE (checked 25 Nov 2026)
[^3]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^4]: https://www.cncf.io/ (checked 20 Nov 2026)
