MessagePack

It's like JSON.
but fast and small.

MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.

Redis scripting has support for MessagePack because it is a fast and compact serialization format with a simple to implement specification. I liked it so much that I implemented a MessagePack C extension for Lua just to include it into Redis.

Salvatore Sanfilippo, creator of Redis

Fluentd uses MessagePack for all internal data representation. It's crazy fast because of zero-copy optimization of msgpack-ruby. Now MessagePack is an essential component of Fluentd to achieve high performance and flexibility at the same time.

Sadayuki Furuhashi, creator of Fluentd

Treasure Data built a multi-tenant database optimized for analytical queries using MessagePack. The schemaless database is growing by billions of records every month. We also use MessagePack as a glue between components. Actually we just wanted a fast replacement of JSON, and MessagePack is simply useful.

Kazuki Ohta, CTO

MessagePack has been simply invaluable to us. We use MessagePack + Memcache to cache many of our feeds on Pinterest. These feeds are compressed and very quick to unpack thanks to MessagePack while Memcache gives us fast atomic pushes.

Marty Weiner, Software Engineer

Also use MessagePack? Waiting for your testimonial!

Languages

API

 

List your implementation here!

loteixeira/as3-msgpack https://github.com/loteixeira/as3-msgpack

Click to load quickstart guide for ActionScript3...

st3v0/msgpack-as3 https://github.com/st3v0/msgpack-as3

Click to load quickstart guide for ActionScript3...

hideakitai/MsgPack https://github.com/hideakitai/MsgPack

Click to load quickstart guide for Arduino...

HEADS-project/arduino_msgpack https://github.com/HEADS-project/arduino_msgpack

Click to load quickstart guide for Arduino C...

bblanchon/ArduinoJson-msgpack.org https://github.com/bblanchon/ArduinoJson-msgpack.org

Click to load quickstart guide for Arduino/C++...

DrewMcArthur/msgpack-bal https://github.com/DrewMcArthur/msgpack-bal

Click to load quickstart guide for Ballerina...

ludocode/mpack https://github.com/ludocode/mpack

Click to load quickstart guide for C...

camgunz/cmp https://github.com/camgunz/cmp

Click to load quickstart guide for C...

clwi/CWPack https://github.com/clwi/CWPack

Click to load quickstart guide for C / Objective-C / Swift...

msgpack/msgpack-c https://github.com/msgpack/msgpack-c

Click to load quickstart guide for C/C++...

AArnott/Nerdbank.MessagePack https://aarnott.github.io/Nerdbank.MessagePack/

Click to load quickstart guide for C#...

MessagePack-CSharp/MessagePack-CSharp https://github.com/MessagePack-CSharp/MessagePack-CSharp

Click to load quickstart guide for C#...

msgpack/msgpack-cli https://github.com/msgpack/msgpack-cli

Click to load quickstart guide for C#...

mlsomers/LsMsgPack http://www.infotopie.nl/open-source/msgpack-explorer

Click to load quickstart guide for C#...

ymofen/SimpleMsgPack.Net https://github.com/ymofen/SimpleMsgPack.Net

Click to load quickstart guide for C#...

caesay/MPack https://github.com/caesay/MPack

Click to load quickstart guide for C#...

highras/msgpack-csharp https://github.com/highras/msgpack-csharp

Click to load quickstart guide for C#...

pjohalloran/com.neuecc.messagepack https://github.com/pjohalloran/com.neuecc.messagepack

Click to load quickstart guide for C#...

diy4hobby/DAL https://github.com/diy4hobby/DAL

Click to load quickstart guide for C++...

ar90n/msgpack11 https://github.com/ar90n/msgpack11

Click to load quickstart guide for C++11...

jonathonl/goodform https://github.com/jonathonl/goodform

Click to load quickstart guide for C++11...

ToruNiina/wad https://github.com/ToruNiina/wad

Click to load quickstart guide for C++11...

mikeloomisgg/cppack https://github.com/mikeloomisgg/cppack

Click to load quickstart guide for C++17...

pfeatherstone/msgpack_cpp https://github.com/pfeatherstone/msgpack_cpp

Click to load quickstart guide for C++17...

getml/reflect-cpp https://rfl.getml.com

Click to load quickstart guide for C++20...

rwindegger/msgpack23 https://github.com/rwindegger/msgpack23

Click to load quickstart guide for c++23...

ar90n/msgpack23 https://github.com/ar90n/msgpack23

Click to load quickstart guide for C++23...

edma2/clojure-msgpack https://github.com/edma2/clojure-msgpack

Click to load quickstart guide for Clojure...

rosejn/msgpack-cljc https://github.com/rosejn/msgpack-cljc

Click to load quickstart guide for Clojure...

pkcsecurity/msgpack-cljs https://github.com/pkcsecurity/msgpack-cljs

Click to load quickstart guide for ClojureScript...

Rosy-iso/msgpack-clue https://github.com/Rosy-iso/msgpack-clue

Click to load quickstart guide for Clue...

crystal-community/msgpack-crystal https://github.com/crystal-community/msgpack-crystal

Click to load quickstart guide for Crystal...

msgpack/msgpack-d https://github.com/msgpack/msgpack-d

Click to load quickstart guide for D...

jpf91/msgpack-ll https://github.com/jpf91/msgpack-ll

Click to load quickstart guide for D...

knopp/msgpack_dart https://github.com/knopp/msgpack_dart

Click to load quickstart guide for Dart...

danellis/dart-msgpack https://github.com/danellis/dart-msgpack

Click to load quickstart guide for Dart...

dxflutter/dxvalue https://msgpack.org/

Click to load quickstart guide for Dart...

SeanSolberg/DynamicDataObjects https://github.com/SeanSolberg/DynamicDataObjects

Click to load quickstart guide for Delphi...

chinawsb/qmsgpack-delphi http://www.qdac.cc

Click to load quickstart guide for Delphi...

msgpack/msgpack-javascript https://msgpack.org/

Click to load quickstart guide for ECMA-262/JavaScript/TypeScript...

lexmag/msgpax https://hexdocs.pm/msgpax

Click to load quickstart guide for Elixir...

mururu/msgpack-elixir https://github.com/mururu/msgpack-elixir

Click to load quickstart guide for Elixir...

ymofen/thealchemist https://github.com/ymofen/thealchemist

Click to load quickstart guide for Elixir...

msgpack/msgpack-erlang https://github.com/msgpack/msgpack-erlang

Click to load quickstart guide for Erlang...

tihannalouise/https-github.com-msgpack-msgpack-java https://github.com/tihannalouise/https-github.com-msgpack-msgpack-java

Click to load quickstart guide for expert-carnival...

pocketberserker/MessagePack.FSharpExtensions https://github.com/pocketberserker/MessagePack.FSharpExtensions

Click to load quickstart guide for F#...

Gab-km/msgpack-fsharp https://github.com/Gab-km/msgpack-fsharp

Click to load quickstart guide for F#...

xtpor/godot-msgpack https://github.com/xtpor/godot-msgpack

Click to load quickstart guide for GDScript...

Lemorz56/glepack https://github.com/Lemorz56/glepack

Click to load quickstart guide for Gleam...

HiPhish/guile-msgpack https://gitlab.com/HiPhish/guile-msgpack

Click to load quickstart guide for GNU Guile...

vmihailenco/msgpack https://msgpack.uptrace.dev/

Click to load quickstart guide for Go...

ugorji/go https://github.com/ugorji/go

Click to load quickstart guide for Go...

tinylib/msgp https://github.com/tinylib/msgp

Click to load quickstart guide for Go...

shamaton/msgpack https://github.com/shamaton/msgpack

Click to load quickstart guide for Go...

shamaton/msgpackgen https://github.com/shamaton/msgpackgen

Click to load quickstart guide for Go...

dchenk/msgp https://github.com/dchenk/msgp

Click to load quickstart guide for Go...

nnabeyang/go-msgpack https://github.com/nnabeyang/go-msgpack

Click to load quickstart guide for Go...

viettrungluu/umsgpack https://github.com/viettrungluu/umsgpack

Click to load quickstart guide for Go...

ybkimm/msgpack https://godoc.org/github.com/ybkimm/msgpack

Click to load quickstart guide for Go...

PeerDB-io/gluamsgpack https://github.com/PeerDB-io/gluamsgpack

Click to load quickstart guide for gopher-lua...

msgpack/msgpack-haskell http://hackage.haskell.org/package/msgpack

Click to load quickstart guide for Haskell...

rodrigosetti/messagepack http://hackage.haskell.org/package/messagepack

Click to load quickstart guide for Haskell...

aaulia/msgpack-haxe https://github.com/aaulia/msgpack-haxe

Click to load quickstart guide for Haxe...

reeze/msgpack-hhvm https://github.com/reeze/msgpack-hhvm

Click to load quickstart guide for HHVM...

jonghough/msgpack-j https://github.com/jonghough/msgpack-j

Click to load quickstart guide for J...

komamitsu/jackson-dataformat-msgpack https://github.com/komamitsu/jackson-dataformat-msgpack

Click to load quickstart guide for Jackson-dataformat...

msgpack/msgpack-java https://github.com/msgpack/msgpack-java

Click to load quickstart guide for Java...

kawanet/msgpack-lite https://www.npmjs.com/package/msgpack-lite

Click to load quickstart guide for JavaScript...

ygoe/msgpack.js https://github.com/ygoe/msgpack.js

Click to load quickstart guide for JavaScript...

textbook/express-msgpack https://www.npmjs.com/package/express-msgpack

Click to load quickstart guide for JavaScript...

CodeSmith32/msgpack-js-micro https://github.com/CodeSmith32/msgpack-js-micro

Click to load quickstart guide for JavaScript...

kriszyp/msgpackr https://github.com/kriszyp/msgpackr

Click to load quickstart guide for JavaScript/NodeJS...

davalapar/what-the-pack http://npmjs.com/package/what-the-pack

Click to load quickstart guide for Javascript/NodeJS...

artyomliou/msgpack-nodejs https://www.npmjs.com/package/msgpack-nodejs

Click to load quickstart guide for JavaScript/NodeJS...

JuliaIO/MsgPack.jl https://github.com/JuliaIO/MsgPack.jl

Click to load quickstart guide for Julia...

davethomas11/MoshiPack https://github.com/davethomas11/MoshiPack

Click to load quickstart guide for Kotlin...

dedee/kompack https://github.com/dedee/kompack

Click to load quickstart guide for Kotlin Multiplatform...

kropp/kotlinx.serialization.msgpack https://github.com/kropp/kotlinx.serialization.msgpack

Click to load quickstart guide for Kotlin Serialization...

esensar/kotlinx-serialization-msgpack https://www.ensarsarajcic.com/kotlinx-serialization-msgpack/

Click to load quickstart guide for kotlinx.serialization...

mradziwo/MsgPack_LabVIEW https://github.com/mradziwo/MsgPack_LabVIEW

Click to load quickstart guide for LabVIEW...

kieselsteini/msgpack https://github.com/kieselsteini/msgpack

Click to load quickstart guide for Lua...

markstinson/lua-MessagePack http://fperrad.github.io/lua-MessagePack/

Click to load quickstart guide for Lua...

bastibe/matlab-msgpack https://github.com/bastibe/matlab-msgpack

Click to load quickstart guide for Matlab...

douglasr/msgpack-monkeyc https://github.com/douglasr/msgpack-monkeyc

Click to load quickstart guide for Monkey C...

suiyunonghen/moonvalue https://www.moonbitlang.cn/

Click to load quickstart guide for MoonBit...

suzukaze/mruby-msgpack MessagePack for mruby

Click to load quickstart guide for mruby...

Asmod4n/mruby-simplemsgpack https://github.com/Asmod4n/mruby-simplemsgpack

Click to load quickstart guide for mruby...

tagomoris/msgpack-inspect https://github.com/tagomoris/msgpack-inspect

Click to load quickstart guide for msgpack-inspect...

jangko/msgpack4nim https://github.com/jangko/msgpack4nim

Click to load quickstart guide for Nim...

akiradeveloper/msgpack-nim https://github.com/akiradeveloper/msgpack-nim

Click to load quickstart guide for Nim...

mcollina/msgpack5 https://github.com/mcollina/msgpack5

Click to load quickstart guide for Node...

sschizas/msgpack-response https://github.com/sschizas/msgpack-response

Click to load quickstart guide for Node...

msgpack/msgpack-objectivec https://github.com/msgpack/msgpack-objectivec

Click to load quickstart guide for Objective-C...

gabriel/MPMessagePack https://github.com/gabriel/MPMessagePack

Click to load quickstart guide for Objective-C...

forzafootball/msgpack-objc https://github.com/forzafootball/msgpack-objc

Click to load quickstart guide for Objective-C...

msgpack/msgpack-ocaml https://github.com/msgpack/msgpack-ocaml

Click to load quickstart guide for OCaml...

PejmanNik/packlens https://packlens.pejmannik.dev/

Click to load quickstart guide for PackLens...

ymofen/msgpack-delphi https://github.com/ymofen/msgpack-delphi

Click to load quickstart guide for Pascal...

msgpack/msgpack-perl https://github.com/msgpack/msgpack-perl

Click to load quickstart guide for Perl...

pierre-vigier/Perl6-Data-MessagePack https://github.com/pierre-vigier/Perl6-Data-MessagePack

Click to load quickstart guide for Perl 6...

msgpack/msgpack-php https://github.com/msgpack/msgpack-php

Click to load quickstart guide for PHP...

rybakit/msgpack.php https://github.com/rybakit/msgpack.php

Click to load quickstart guide for PHP...

CodeSmith32/msgpack-php-micro https://github.com/CodeSmith32/msgpack-php-micro

Click to load quickstart guide for PHP...

seantallen-org/msgpack https://github.com/seantallen-org/msgpack

Click to load quickstart guide for Pony...

patriksimek/msgpack-postgres https://github.com/patriksimek/msgpack-postgres

Click to load quickstart guide for PostgreSQL...

royratcliffe/msgpackc-prolog https://msgpack.org/

Click to load quickstart guide for Prolog...

msgpack/msgpack-python https://msgpack.org/

Click to load quickstart guide for Python...

aviramha/ormsgpack https://github.com/aviramha/ormsgpack

Click to load quickstart guide for Python...

vsergeev/u-msgpack-python https://github.com/vsergeev/u-msgpack-python

Click to load quickstart guide for Python...

polyglotted/msgpack-python https://github.com/polyglotted/msgpack-python

Click to load quickstart guide for Python...

lekma/mood.msgpack https://github.com/lekma/mood.msgpack

Click to load quickstart guide for Python...

TLCFEM/msglc https://tlcfem.github.io/msglc/

Click to load quickstart guide for Python...

jakm/txmsgpackrpc https://github.com/jakm/txmsgpackrpc

Click to load quickstart guide for Python/Twisted...

romixlab/qmsgpack https://github.com/romixlab/qmsgpack

Click to load quickstart guide for Qt...

eddelbuettel/rcppmsgpack https://github.com/eddelbuettel/rcppmsgpack

Click to load quickstart guide for R...

crowding/msgpack-r https://github.com/crowding/msgpack-r

Click to load quickstart guide for R...

skyformat99/msgpack2R https://github.com/skyformat99/msgpack2R

Click to load quickstart guide for R...

HiPhish/msgpack-racket https://gitlab.com/HiPhish/MsgPack.rkt

Click to load quickstart guide for Racket...

owenthereal/msgpack_rails https://github.com/jingweno/msgpack_rails

Click to load quickstart guide for Rails...

komamitsu/retrofit-converter-msgpack https://github.com/komamitsu/retrofit-converter-msgpack

Click to load quickstart guide for Retrofit converter (Java)...

msgpack/msgpack-ruby https://github.com/msgpack/msgpack-ruby

Click to load quickstart guide for Ruby...

BertramScharpf/ruby-mplight https://github.com/BertramScharpf/ruby-mplight

Click to load quickstart guide for Ruby...

mneumann/MessagePack https://github.com/mneumann/MessagePack

Click to load quickstart guide for Ruby/C++...

3Hren/msgpack-rust https://github.com/3Hren/msgpack-rust

Click to load quickstart guide for Rust...

codx-dev/msgpacker https://msgpack.org/

Click to load quickstart guide for Rust...

msgpack/msgpack-scala https://github.com/msgpack/msgpack-scala

Click to load quickstart guide for Scala...

msgpack4z/msgpack4z-core https://github.com/msgpack4z/msgpack4z-core

Click to load quickstart guide for Scala...

msgpack4z/msgpack4z-argonaut https://msgpack4z.github.io/graph.svg

Click to load quickstart guide for scala-native...

msgpack4z/msgpack4z-circe https://github.com/msgpack4z/msgpack4z-circe

Click to load quickstart guide for Scala.js...

ktakashi/r6rs-msgpack https://github.com/ktakashi/r6rs-msgpack

Click to load quickstart guide for Scheme...

jakm/msgpack-cli https://github.com/jakm/msgpack-cli

Click to load quickstart guide for Shell...

dankogai/swift-sion https://github.com/dankogai/swift-sion

Click to load quickstart guide for SION,Swift...

msgpack/msgpack-smalltalk https://github.com/msgpack/msgpack-smalltalk

Click to load quickstart guide for Smalltalk...

tkob/mlmsgpack https://github.com/tkob/mlmsgpack

Click to load quickstart guide for SML...

a2/MessagePack.swift https://github.com/a2/MessagePack.swift

Click to load quickstart guide for Swift...

briandw/SwiftPack https://github.com/briandw/SwiftPack

Click to load quickstart guide for Swift...

hirotakan/MessagePacker https://github.com/hirotakan/MessagePacker

Click to load quickstart guide for Swift...

fumoboy007/msgpack-swift https://swiftpackageindex.com/fumoboy007/msgpack-swift/documentation/messagepack

Click to load quickstart guide for Swift...

michael-yuji/YSMessagePack https://github.com/michael-yuji/YSMessagePack

Click to load quickstart guide for Swift...

swiftstack/messagepack https://github.com/swiftstack/messagepack

Click to load quickstart guide for Swift...

couchdeveloper/messagepack https://github.com/couchdeveloper/messagepack

Click to load quickstart guide for Swift...

cherrywoods/swift-msgpack-serialization https://github.com/cherrywoods/swift-msgpack-serialization

Click to load quickstart guide for Swift, java compatibel...

jdc8/msgpack http://wiki.tcl.tk/37718

Click to load quickstart guide for Tcl...

ludocode/msgpack-tools https://github.com/ludocode/msgpack-tools

Click to load quickstart guide for UNIX Shell...

vvvv/VL.StandardLibs https://vvvv.org

Click to load quickstart guide for VL...

zigcc/zig-msgpack https://ziglang.cc/zig-msgpack/

Click to load quickstart guide for zig...

theseyan/mpack-zig https://github.com/theseyan/mpack-zig

Click to load quickstart guide for Zig...

lalinsky/msgpack.zig https://github.com/lalinsky/msgpack.zig

Click to load quickstart guide for Zig...

rockorager/msgpack-zig https://github.com/rockorager/msgpack-zig

Click to load quickstart guide for Zig...

JSON

MessagePack (hex)