A list of paid, free or open source C++ (C plus plus) serialization libraries, plugins and tools including encoding, decoding base64, base32 and hex and more. Sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

C++ serialization libraries, plugins and tools

  • Bitsery – Header only C++ binary serialization library. [MIT]
  • Bond – An open source, cross-platform framework for working with schematized data. [MIT]
  • Boost.Serialization – Boost Serialization Library. [Boost] website
  • Cap’n Proto – Fast data interchange format and capability-based RPC system. [MIT] website
  • cereal – A C++11 library for serialization. [BSD]
  • cista – A C++17 library for zero-copy high-performance (de-)serialization. [MIT]
  • cppcodec – Header-only C++11 library to encode/decode base64, base32 and hex with consistent, flexible API. [MIT]
  • FastBinaryEncoding – Fast Binary Encoding is ultra fast and universal serialization solution for C++, C#, Go, Java, JavaScript, Kotlin, Python, Ruby, Swift. [MIT]
  • FlatBuffers – A Memory efficient serialization library. [Apache2]
  • Kaitai Struct – A declarative language to describe various binary data structures and a compiler to generate C++ parser code. [GPLv3+][MIT][Apache2]
  • MessagePack – Efficient binary serialization format “like JSON” for C and C++. [Apache2] website
  • mrpt-serialization – Versioned serialization to binary or text formats. [BSD] website
  • nanopb – Small code-size Protocol Buffers implementation in ANSI C. [Zlib]
  • protobuf – Protocol Buffers – Google’s data interchange format. [BSD]
  • protobuf-c – Protocol Buffers implementation in C. [BSD]
  • SimpleBinaryEncoding – encoding and decoding application messages in binary format for low-latency applications. [Apache2]
  • upb – A small protobuf implementation in C. [BSD]
  • YAS – Very fast Yet Another Serialization library supports the binary/text/json formats. [Boost]
  • zpp_bits – Actually, the fastest modern Serialization library. Just check this video.

Tags: c++, open source, c plus plus, c++ tools, c++ plugins, c++ libraries, c plus plus tools, c plus plus plugins, c plus plus libraries, c++ serialization, c++ serialisation encoding, c++ serialisation decoding 

Image: Unsplash License.

Portions of this text under: MIT license