Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Convert to File

core.convert_to_file · version 1.1 · Transform

Turn items into a CSV, spreadsheet, JSON, text or calendar file.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"csv"Convert to. One of csv, xlsx, ods, html, toJson, toText, toBinary, iCal.
binaryPropertyNamestring"data"Output binary property.
modeoptions"once"JSON mode. One of once, each.
sourcePropertystring"data"Source field.
optionscollection{}
options.fileNamestringFile name.
options.headerRowbooleantrueHeader row.
options.sheetNamestring"Sheet"Sheet name.
options.delimiterstring","
options.encodingstring"utf8"
options.addBOMbooleanfalseAdd byte order mark.
options.formatbooleanfalsePretty-print JSON.
options.mimeTypestringMIME type.
options.dataIsBase64booleantrueSource is Base64.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.convertToFile1unverified