MessagePack to JSON Converter

MessagePack to JSON Converter is the world's first online tool for converting MessagePack encoded data into JSON. The input Message Pack can either be in Hex or Uint8 Array format. Each byte (in either Hex or Uint8 form) can have spaces in between them. Also, line breaks can be used to wrap long lines into view. Checkout the examples.

Converted on ToolSlick's server. Your input and its output are not stored.

Paste MessagePack in HEX, UInt8Array or Base64 format below
Converted JSON

Settings

How the input is converted. Each is explained below.

History

  • 2018-08-02Support for conversion of invalid, corrupt or partial MessagePack bytes
  • 2018-05-27Support for Escaped Hex input
  • 2018-04-01Support for Percent Encoding
  • 2017-12-30Support for selecting input types including Hex, Base64, UInt8 Array, Bracketed Binary & Auto Detect
  • 2017-11-03Support for hex input prefixed by 0x
  • 2017-10-19Array input mode
  • 2017-10-03Tool Launched

Settings explained

Input Type
How the MessagePack bytes are written in the input, or Auto Detect to work it out.
Case Conversion
How the property names are changed.
Date Format Handling
Dates written as ISO 8601 or as Microsoft's /Date()/ form.
Allow Partial Parsing
Corrupt or cut-off MessagePack converts as far as it can be read.

Background

Decode MessagePack

Despite the fact that this tool is a data converter from msgpack to JSON, the most important use case of this tool is to decode Message Pack data and visualize it in the form of JSON. Because MessagePack is a binary format, we humans cannot make sense out of it. Well, unless we convert it to a format such as JSON which is human readable. This tool aims to bridge that gap and allow you to decode msgpack data stored in various formats such as Hex, UInt8Array, Base64 encoded and Percent Encoding.

The binary data that the input message pack represents can have primitive data types such as int, float, bool, string or complex types composed of these primitives.

MessagePack

MessagePack is an efficient binary serialization format which is similar to JSON but faster and smaller in size. It is just that it is not meant for the human eye.

JSON

JavaScript Object Notation (JSON), pronounced as Jason, is the most common data interchange format on the web. Douglas Crockford first released the JSON specification in the early 2000s. It is a simple format that is easier to comprehend than XML. It is also smaller in size because it does not have closing tags. A wide variety of programming languages can parse JSON files. They also support the serialization of data structures to JSON. You can copy JSON text to JavaScript and start using them without any modifications.

Related tools