CSV to candump converter

Convert CSV CAN logs to Linux candump, 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. candump 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 .log 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 candump file keep?

One frame per line in candump -l form, with absolute timestamps, R or T for the direction, and ## for CAN FD frames. All frames go on interface can0, so channel numbers are not kept, and error frames are left out.

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 candump file is dated with the time you convert it.

Can I play the result back on Linux?

Yes: canplayer from can-utils replays candump -l files onto a SocketCAN interface. The Replay page here can also send any log onto a real bus.

Can I convert many CSV files at once?

Yes. Drop them together: each becomes its own .log 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 candump converter: Convert Vector BLF CAN logs to Linux candump, one file or many at once, optionally keeping only some IDs.
  • MF4 to candump converter: Convert ASAM MDF 4 CAN logs to Linux candump, one file or many at once, optionally keeping only some IDs.
  • ASC to candump converter: Convert Vector ASC CAN logs to Linux candump, one file or many at once, optionally keeping only some IDs.
  • TRC to candump converter: Convert PEAK PCAN TRC CAN logs to Linux candump, 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 candump, open csv file, excel, spreadsheet, can-utils, socketcan, savvycan.