Convert CSV to CBOR
Turn CSV files into CBOR. The same structure and key order in CBOR, with integers, floats, booleans, null, text, arrays 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 binary CBOR.Each row keeps its structure and key order, with typed values.
What you get
One CBOR file with the same structure and key order as the CSV. Integers, floats, booleans, null, text, arrays and maps keep their types in the output.
Dates are written as text, not as a special date type.
Choosing a delimiter
When Delimiter is left out, it is guessed from the rows. Set Delimiter if the guess is wrong. The choices are comma, semicolon, tab and pipe.
Spreadsheets in many European locales use semicolons, so pick semicolon for files exported from them.
Going back
To turn CBOR into a table again, use CBOR to CSV. For other formats, see every CSV conversion.
CSV and CBOR.What each format is, and the options this conversion takes.
- 01 · delimiter
Delimiter
The character between fields. It is guessed from the rows when left out. Spreadsheets in many European locales use semicolons.
commaA comma.semicolonA semicolon.tabA tab.pipeA vertical bar.
The formats
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
CBOR
Concise Binary Object Representation, the binary JSON of IoT and web standards.
- Extensions
- .cbor
- MIME type
- application
/cbor - Kind
- Text and data
In your code.The same CSV to CBOR conversion through the API, for your app or your agent.
$ cv convert sheet.csv sheet.cbor$ cv convert sheet.csv sheet.cborQuestions.What people ask about CSV to CBOR.
Yes. Integers and floats keep their types in the CBOR file. Booleans and null are kept as well.
Dates are kept as text. CBOR gets the same date string, not a date type.
Set Delimiter to semicolon. If you leave it out, the delimiter is guessed from the rows.
Yes. The structure and key order stay the same in the CBOR file.