Convert CSV to MSGPACK

Turn CSV files into MessagePack. The same structure and key order in MessagePack, with integers, floats, booleans, null, text, lists and maps keeping their types and dates as text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop CSV files on the dialor turn it to pick what to do

A CSV table as compact MessagePack.Each row keeps its structure and key order, with typed values.

  1. What you get

    One MessagePack file with the same structure and key order as the CSV. Integers, floats, booleans, null, text, lists and maps keep their types instead of all becoming text.

    MessagePack is binary JSON: the same values as JSON in a compact byte encoding.

  2. What changes

    Dates are written as text. MessagePack gets the date as a string, not as a date type.

  3. Setting the delimiter

    The Delimiter option sets the character between fields. When you leave it out, it is guessed from the rows. Choose comma, semicolon, tab or pipe if the guess is wrong.

    Spreadsheets in many European locales use semicolons, so Set Delimiter to semicolon for those files.

CSV and MSGPACK.What each format is, and the options this conversion takes.

  1. 01 · delimiter

    Delimiter

    The character between fields. It is guessed from the rows when left out. Spreadsheets in many European locales use semicolons.

    • comma A comma.
    • semicolon A semicolon.
    • tab A tab.
    • pipe A vertical bar.
    comma · semicolon · tab · pipe

The formats

From · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data
To · MSGPACK

MessagePack

Binary JSON: the same values as JSON in a compact byte encoding.

Extensions
.msgpack .mpk
MIME type
application/msgpack
Kind
Text and data

In your code.The same CSV to MSGPACK conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.csv sheet.msgpack
$ cv convert sheet.csv sheet.msgpack

Questions.What people ask about CSV to MSGPACK.

01OF 04

Yes. Integers and floats keep their types in the MessagePack file, as do booleans and null.

As text. They are not converted to a date type.

No. It is guessed from the rows when you leave it out. Set Delimiter if your file uses a character the guess misses.

Yes. MSGPACK to CSV turns the file back into rows.

More conversions.Other ways in and out of CSV and MSGPACK.