Data Converter
Convert between various data formats - Base64, Binary, JSON, XML, YAML, CSV, HTML, and more
Actions49
- Base64 Actions
- Binary Actions
- Encoding Actions
- Format Actions
- HTML Actions
- String Actions
Overview
The node converts data from CSV format into a Markdown table. This is useful when you have tabular data in CSV and want to represent it as a Markdown-formatted table for documentation, README files, or markdown-based notes. For example, converting a CSV export of user data into a Markdown table that can be embedded in GitHub README or other markdown-supported platforms.
Properties
| Name | Meaning |
|---|---|
| Input Data | The CSV data string to convert into a Markdown table. |
| CSV Delimiter | Character used to separate fields in the CSV input (default is comma ,). |
| Binary Property Name | Name for the output binary property if outputting binary data (not typical for this operation). |
Output
- The output JSON contains a single field with the Markdown table as a string.
- The field name is
result. - The Markdown table represents the CSV data converted into pipe-separated rows with header and alignment.
- No binary output is expected by default for this operation.
Example output JSON snippet:
{
"result": "| Header1 | Header2 |\n|---------|---------|\n| Value1 | Value2 |"
}
Dependencies
- No external services or API keys are required.
- Uses internal utility functions for CSV parsing and Markdown formatting.
- No special environment variables or n8n credentials needed.
Troubleshooting
- Common issues:
- Incorrect CSV delimiter may cause improper parsing; ensure the delimiter matches the CSV input.
- Malformed CSV input can lead to errors or unexpected output.
- Error messages:
- Parsing errors will throw exceptions indicating invalid CSV format.
- If the input data is empty or missing, the node will error out or produce empty output.
- Resolution:
- Verify the CSV input format and delimiter.
- Use valid CSV strings with consistent columns.