Convert
AI-generatedSummary
Converts data between HTML tables, CSV, JSON, and n8n objects. Configure the source and target formats, provide the input, and optionally select HTML tables or manipulate the data before conversion.
Inputs
- Source Format (required) — Input format: HTML, CSV, JSON, or n8n Object. Defaults to JSON.
- Target Format (required) — Output format: HTML, CSV, JSON, or n8n Object. Defaults to CSV.
- Input Data (required) — Data to convert. For n8n Object input, leaving this empty uses data from the incoming items.
- Process All Items At Once — For n8n Object input with Input Data empty, combine incoming items into one conversion; otherwise process each item separately. Defaults to false.
- CSV Delimiter (Input) — Delimiter used to parse CSV input. Defaults to a comma.
- CSV Delimiter (Output) — Delimiter used for CSV output. Defaults to a comma.
- Table Selection Mode and selectors — For HTML input, choose simple presets (all, first, last, after a heading, by caption, or custom CSS selector) or advanced element and table selectors. Heading level/text and table index, caption text, and heading detection settings apply to their corresponding selection modes.
- Include Table Headers — Whether table headers are included when converting to HTML or CSV. Defaults to true.
- Pretty Print Output — For HTML output, format with indentation and spacing. Defaults to false.
- Multiple Tables/Objects — For HTML or JSON input, indicate that the input contains multiple tables or JSON objects.
- Show Data Manipulation — Expose options to sort rows by a field and include/reorder selected fields. Field matching is case-insensitive; fields may be quoted when their names contain spaces.
- Cell Content Format — For HTML input with data manipulation enabled, choose plain text or Markdown for rich content in table cells. Defaults to plain text.
- Wrap Output — Wrap the result under an output field when enabled; defaults to true.
- Output Field Name — Field used to wrap the result when wrapping is enabled. Defaults to convertedData.
Output shape
One or more n8n items containing the converted result.
With wrapping enabled, the result is placed under the configured output field; with wrapping disabled, it is returned directly. Incoming n8n Object items can be processed individually or combined into one output. Exact result representation depends on the target format.