CSV to MF4 converter

Convert CSV CAN logs to ASAM MDF 4, one file or many at once, optionally keeping only some IDs.

How to use it

  1. Drop your CSV logs on the page, or choose them. Several at once is fine.
  2. MF4 is already chosen as the output. To keep only some frames, list their IDs or ranges, for example 7E0-7EF.
  3. Press Convert, then download each .mf4 file, or all of them as one ZIP.

Questions

Is my CSV file uploaded?

No. The file is read by your browser in this tab and never sent anywhere; there is no server that could receive it.

Which CSV files can it read?

CSV with a header row naming at least an ID column and a data column (data as hex bytes), usually a time column too; comma or semicolon separated. python-can’s CSV logs work as they are.

What does the MF4 file keep?

Every frame, as ASAM MDF 4 bus logging (CAN_DataFrame): channel, direction, extended IDs, remote, error and CAN FD frames. It is binary and much smaller than a text log.

Are the timestamps kept?

Times relative to the first frame are kept to the microsecond. The recording date in a CSV file is not read, so the MF4 file is dated with the time you convert it.

Can the MF4 hold signal values instead of frames?

Yes: add the DBC for the bus, and the MF4 becomes a measurement with a group per message and a channel per signal.

Can I convert many CSV files at once?

Yes. Drop them together: each becomes its own .mf4 file, which you can download alone or all together as one ZIP. Logs in other formats can be mixed in.

What about very large logs?

A log too big to hold in this tab at once is converted up to the limit for this device (one to five million frames), and its row says so. Open it in the Log viewer to move through all of it in parts.

Related tools

  • CAN log converter: BLF, MF4, ASC, TRC, CSV: Convert many CAN logs at once to ASC, MF4, candump or CSV, or decode them with a DBC into signal values; keep only some IDs; download a ZIP.
  • BLF to MF4 converter: Convert Vector BLF CAN logs to ASAM MDF 4, one file or many at once, optionally keeping only some IDs.
  • ASC to MF4 converter: Convert Vector ASC CAN logs to ASAM MDF 4, one file or many at once, optionally keeping only some IDs.
  • TRC to MF4 converter: Convert PEAK PCAN TRC CAN logs to ASAM MDF 4, one file or many at once, optionally keeping only some IDs.
  • candump to MF4 converter: Convert Linux candump CAN logs to ASAM MDF 4, one file or many at once, optionally keeping only some IDs.
  • CAN log viewer (BLF, ASC, MF4): ASC, BLF, MF4, candump, TRC or CSV: decode with a DBC, plot signals, timing statistics and every diagnostic session explained.
  • Measurement file viewer (MDF 3 / MDF 4): Channels of an MDF 3 (.dat, .mdf) or MDF 4 (.mf4) measurement with conversions, text tables and rasters; plot, statistics, CSV export; MDF 3 ↔ MDF 4 conversion.

Also useful for: convert csv to mf4, open csv file, excel, spreadsheet, mdf4, mdf, canedge, asammdf.