Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Extensible binary data format, like JSON but faster
Standard ML OCaml Makefile
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Changes Support for flushing output to abstract OO channels
INSTALL Source reformatting
LICENSE generate cmxs
Makefile Link to biniou-format.txt (new location) Fixed bug in Bi_dump.load (was adding invalid newlines), which allows
bi_inbuf.mli Source reformatting completed write_untagged_float32 and read_untagged_float32
bi_io.mli each *float64* thing gave birth to a *float32* equivalent Source reformatting
bi_outbuf.mli Source reformatting
bi_util.mli Source reformatting
bi_vint.mli Source reformatting
biniou-format.txt added float32 to the specification


Biniou (pronounced "be new") is a binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve. Biniou is vastly equivalent to JSON in terms of functionality but allows implementations several times faster (4 times faster than yojson), with 25-35% space savings.

Biniou data can be decoded into human-readable form without knowledge of type definitions except for field and variant names which are represented by 31-bit hashes. A program named bdump is provided for routine visualization of biniou data files.

The program atdgen is used to derive OCaml-Biniou serializers and deserializers from type definitions.

Biniou format specification:

Something went wrong with that request. Please try again.