Bill Segall edited this page Feb 6, 2017 · 33 revisions

Welcome to the simple-binary-encoding wiki. Here you will find details of how to use the SBE (Simple Binary Encoding) tool for encoding and decoding SBE messages in binary format based on schemas. Messages are the units of information which get composed via protocols for communication between systems. The systems communicating may be the same system which is communicating with itself by persisting a message from the past for future use.

The SBE tool can be used as a library enabling on-the-fly decoding of messages, or for ultimate performance it can generate compilable stubs to directly encode or decode messages.


  1. Change Log
  2. History of SBE
  3. Why Low-Latency?
  4. Principles behind the design of the SBE Codecs
  5. How to use the SBE Tool
  6. Java Users Guide
  7. C++ Users Guide
  8. Golang Users Guide
  9. FIX/SBE XML Primer
  10. Message Extension/Versioning
  11. Intermediate Representation
  12. Java OTF User Guide
  13. C++ OTF User Guide
  14. Frequently Asked Questions

History of SBE

SBE originates from the "High Performance Work Group" within the FIX Protocol Limited (FPL) organisation. The goal was to produce a binary encoding representation suitable for low-latency financial trading. The statement below is from the working group at the outset.

Date 2013-06-03 13:21

Name FPL Program Office

Subject Simple Binary Encoding specification Release Candidate 1

This proposal from the High Performance Working Group entails the use of an FPL designed Simple Binary Encoding to produce fast and compact encodings of FIX messages. Simple Binary Encoding (SBE) provides different characteristics than other binary encodings. It is optimized for low latency. This new FPL binary encoding complements the existing only binary encoding developed in 2005 (FAST) with a focus on reducing bandwidth utilization for market data. In addition, the encoding is also defined and controlled within FPL only in contrast to the binary encodings proposals to encode FIX with Google Protocol Buffers and ASN.1.

Further details of the discussions behind SBE can be found here.