File converter
The File Converter node helps you easily transform files from one format to another — like CSV to JSON, Excel to CSV, or even an image to Base64 — without needing external tools.

Description
The File Converter node is designed to handle quick and reliable file format conversions directly within your workflow.
It supports multiple input types (such as .csv
, .json
, .xlsx
, .txt
, .html
, and even .jpeg
or .pdf
for Base64 encoding) and provides five conversion options.
Simply select your desired Action, provide the file content or a reference to it, and the node will return the converted result in the specified format.
A - Convert to JSON

Description: Converts structured files like CSV, Excel, plain text tables, or HTML tables into JSON format. Supported Input Types:
.csv
.xlsx
.txt
.html
Notes:
The node automatically parses tabular structures into JSON arrays/objects.
Make sure your input file contains clear headers for accurate key mapping.
B - Convert to XML

Description: Converts structured files into XML format. Supported Input Types:
.csv
.json
.xlsx
.txt
.html
Notes:
For
.json
input, the JSON structure will be translated into nested XML tags.Ensure your text or table data is well-formatted to avoid invalid XML.
C - Convert to CSV

Description: Converts JSON, Excel, plain text, or HTML tables into CSV format. Supported Input Types:
.json
.xlsx
.txt
.html
Notes:
When converting from JSON, arrays of objects will be flattened into rows and columns.
Non-tabular JSON data may require pre-formatting to avoid column mismatches.
D - Convert to XLSX

Description: Converts structured files into Excel format (.xlsx
).
Supported Input Types:
.csv
.json
.txt
.html
Notes:
Each dataset will be placed in a single sheet by default.
For multi-sheet output, additional logic outside this node is required.
E - Convert to Base64

Description: Encodes any supported file into a Base64 string, useful for embedding files in JSON, HTML, or APIs. Supported Input Types:
.csv
.json
.xlsx
.txt
.html
.jpeg
.png
.pdf
.docx
Notes:
The Base64 output is a text string representation of your file, not human-readable.
Particularly useful for transmitting files via systems that only accept text formats.
Last updated
Was this helpful?