dbc-to-csv

Convert CAN DBC files to and from unified CSV format.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/Delay-n-days/dbcjson5 --skill dbc-to-csv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dbc-to-csv
Source: https://github.com/Delay-n-days/dbcjson5/tree/main/.github/skills/dbc-to-csv
Command: npx skills add https://github.com/Delay-n-days/dbcjson5 --skill dbc-to-csv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cantools, typer, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the conversion of CAN DBC files into a standardized CSV format, enabling easier editing and analysis of automotive communication data, and vice-versa.

Core Features & Use Cases

  • DBC to CSV Conversion: Extracts all messages, signals, comments, and enum values from a DBC file into a Unified CSV format.
  • Bidirectional Support: Facilitates a complete round-trip conversion (CSV to DBC and back to CSV) ensuring data integrity.
  • Use Case: Convert a complex DBC file into a CSV for easier signal editing in spreadsheet software, then convert it back to DBC without data loss.

Quick Start

Convert the DBC file 'my_can_bus.dbc' to a CSV file named 'my_can_bus.csv' using GB2312 encoding.

Frequently Asked Questions about dbc-to-csv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a CAN DBC file to CSV for easier signal editing?

To convert a CAN DBC file to CSV, this Skill extracts messages, signals, comments, and enum values into a unified CSV format. You can then easily edit your automotive communication data in spreadsheet software.

Can I convert a CSV back to a DBC file without losing signal data?

Yes, you can convert a CSV back to a DBC file without data loss. The Skill supports bidirectional conversion, ensuring a complete round-trip from DBC to CSV and back to DBC while preserving all signal information.

Does the DBC to CSV conversion support different file encodings like GB2312?

Yes, the DBC to CSV conversion supports different file encodings including GB2312. The Skill handles various encoding types for DBC files, allowing you to specify the correct encoding during the extraction and conversion process.

What specific CAN bus data is extracted when converting a DBC to CSV?

When converting a DBC to CSV, the Skill extracts all CAN bus messages, signals, comments, and enum values. This comprehensive signal extraction ensures all critical automotive communication data is captured in the unified CSV format.

Do I need cantools installed to extract DBC information to CSV?

Yes, cantools is required to extract DBC information to CSV. The Skill relies on the cantools dependency to parse the automotive CAN bus data and facilitate the bidirectional DBC and CSV conversion process.