Converts CSV text into an Excel file (XLSX). Separator and headers are detected automatically and the result is returned as a spreadsheet file.
Convert CSV to Excel| Property | Name | Type | Description |
|---|---|---|---|
csv | CSV required | string | CSV minLength: 1 |
delimiter | Separator advanced | string (dropdown) | Field separator (delimiter). Default = 'Auto-detect separator' dynamic dropdown |
mayHaveQuotedFields | Auto-detect Quote Delimiter? advanced | boolean | Auto-detect quote delimiter? default: true |
hasHeader | CSV has Headers? advanced | boolean | CSV has headers? default: true |
autoDetectHeaderLine | Auto-detect Header? advanced | boolean | Automatically detect the header line based on content. Default = true |
headerLineIndex | Header Row Index advanced | integer (int32) | Use specific row index as header. Ignored if Auto-detect is true. Default = 0 |
autoDiscoverFieldTypes | Auto-detect Field Types? advanced | boolean | Auto-detect field types? default: false |
detectionAccuracy | Detection Accuracy advanced | string (dropdown) | Scans rows to detect headers and formats — more rows improve accuracy. Default = 'Fast' dynamic dropdown |
nullValue | Null Value advanced | string | Treats this value (e.g. '-', 'N/A') as null (if Auto-detect field type is true). Default = empty |
skipRows | Rows to skip advanced | string | Skip a range or specific rows e.g.: '2-5', '2', '2,4'. |
skipLast | Stop at Row advanced | integer (int32) | Stop at a specific row number. Default = convert all rows |
ignoreEmptyLine | Remove Empty Rows? advanced | boolean | Remove empty rows default: true |
quoteCharacter | Quote Character advanced | string | Character used to quote values. Default = '"' |
escapeCharacter | Escape Character advanced | string | Character used to escape special characters. Default = '\' |
autoDetectWrappedLines | Auto-detect Wrapped Lines? advanced | boolean | Try to detect and unwrap multi-line values. Default = true |
columnRenames | Rename Columns advanced | string | Use 'Old=New' pairs, separated by ';'. Example: OrderID=ID;Total=Amount |
columnsToInclude | Include Columns advanced | string | Comma-separated list of columns to include e.g.: OrderID,Total. Empty = all |
adjustColumnToContent | Adjust Excel Column to Content advanced | boolean | Adjust Excel column to content. default: true |
wrapColumnText | Wrap Excel Column Text advanced | boolean | Wrap Excel text of column. default: false |
maxColumnWidth | Max Excel Column Width advanced | integer (int32) | Maximum of Excel column width. Default = 15 |
| Property | Name | Type | Description |
|---|---|---|---|
excel | Excel response | file (base64) | Excel response |
{
"csv": "Name,Age\nAlice,30\nBob,25"
}
Example taken from the automated test suite.