> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CSV to Excel Node

> Convert a CSV file to an Excel file

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/csv-to-excel.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=f0fc866725f50aaa613f72764daaa081" alt="CSV to Excel" width="550" height="194" data-path="images/platform/pipelines/data-transformation/csv-to-excel.png" />

This node allows you to convert a csv file to XSLX.

## Node Inputs

1. CSV to convert to Excel: The name of the CSV file to be converted
   * Type: `File`

For providing the file you have two options:

1. If toggle is on Upload: Upload a file by clicking the upload button
2. If toggle is on Variable: Reference files from other nodes.

## Node Outputs

1. XLSX File: The converted XLSX file
   * Type: `File`
   * Example usage: `{{csv_to_excel_0.xlsx_file}}`

## Example

The below example shows a pipeline that converts a CSV file to an Excel file.

1. File Node: Loads the CSV file
   * File: `File.csv` file created in the [CSV Writer Example](/platform/pipelines/data-transformation/file/csv-writer#example)
2. CSV to Excel Node: Converts the CSV file to an Excel file
   * CSV to convert to Excel: `{{file_0.file}}`
3. Output Node: Displays the Excel file
   * Output: `{{csv_to_excel_0.xlsx_file}}`

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/csv-to-excel-example.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=8ec27c9187f3b19125b4a5cb6b135c48" alt="CSV to Excel Example" width="1907" height="833" data-path="images/platform/pipelines/data-transformation/csv-to-excel-example.png" />

Outputted Excel File <img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/csv-to-excel-example-2.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=a7c374ce52bac74ffcb35390cb7c10a0" alt="CSV to Excel Example" width="1511" height="787" data-path="images/platform/pipelines/data-transformation/csv-to-excel-example-2.png" />
