XLSX CSV Batch Converter

Batch convert CSV/TSV to XLSX or convert XLSX back to CSV/TSV with delimiter and encoding handling

Batch conversion for spreadsheet text formats.

  • CSV/TSV/TXT -> XLSX
  • XLSX/XLS -> CSV/TSV
  • Auto mode detects direction by extension

Designed to reduce delimiter and text-encoding problems in cross-platform workflows.

Example Results

2 examples

Batch CSV and TSV to XLSX

Convert multiple CSV/TSV files to XLSX and return a zip package

xlsx-csv-batch-converter-example1.zip View File
View input parameters
{ "sourceFiles": [ "/public/samples/csv/sample-utf8.csv", "/public/samples/csv/sample-tab.tsv" ], "mode": "auto", "sourceEncoding": "auto", "alwaysZip": true }

XLSX to UTF-8 BOM CSV

Convert Excel sheets to CSV with UTF-8 BOM to avoid mojibake in spreadsheet apps

xlsx-csv-batch-converter-example2.csv View File
View input parameters
{ "sourceFiles": [ "/public/samples/xlsx/workbook-sales.xlsx" ], "mode": "xlsx_to_csv", "outputDelimiter": ",", "outputEncoding": "utf-8-bom", "alwaysZip": false }

Click to upload files or drag and drop files here

Maximum file size: 100MB Maximum files: 50
Supported formats: text/csv, text/tab-separated-values, text/plain, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel

Key Facts

Category
Conversion & Encoding
Input Types
file, select, text, checkbox
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The XLSX CSV Batch Converter is a professional utility designed to streamline spreadsheet format transitions, allowing you to convert between CSV, TSV, and XLSX files in bulk while managing complex text encodings and delimiters.

When to Use

  • When you need to convert multiple CSV or TSV files into a single Excel workbook format.
  • When you need to export large Excel datasets into CSV format for database imports or legacy system compatibility.
  • When you encounter character encoding issues or incorrect column separation in your spreadsheet data.

How It Works

  • Upload your source files and select the conversion mode, or use 'Auto' to let the tool detect the format based on file extensions.
  • Configure your preferred text encoding and delimiters to ensure data integrity during the conversion process.
  • Choose whether to output individual files or a compressed ZIP archive for efficient batch handling.
  • Execute the conversion and download your processed files instantly.

Use Cases

Standardizing data exports from multiple sources into a unified Excel format for reporting.
Preparing clean CSV files for SQL database ingestion by setting specific delimiters and encodings.
Archiving large sets of spreadsheet data into a single, compressed ZIP file for easier storage and transfer.

Examples

1. Batch CSV to XLSX Conversion

Background
A data analyst has 20 separate CSV files exported from a web tool that need to be compiled into a single Excel report.
Problem
Manually opening and copying data from 20 files is inefficient and prone to error.
How to Use
Upload all 20 CSV files, set the mode to 'CSV/TSV to XLSX', and enable 'Always Return ZIP'.
Outcome
The tool processes all files and returns a single ZIP archive containing the converted XLSX files, ready for immediate use.

2. Excel to CSV for Database Import

Background
A marketing manager needs to upload a customer list from an Excel file into a CRM system that only accepts CSV.
Problem
Standard Excel exports often cause encoding issues with non-English characters in the CRM.
How to Use
Upload the XLSX file, select 'XLSX to CSV/TSV', and set the 'Output Encoding' to 'UTF-8 with BOM'.
Outcome
A clean CSV file is generated that maintains character integrity, ensuring a successful import into the CRM.

Try with Samples

csv, xml, xlsx

Related Hubs

FAQ

Can I convert multiple files at once?

Yes, the tool supports batch processing for up to 50 files simultaneously.

How do I fix mojibake or garbled text?

Select the correct 'Source Text Encoding' (e.g., UTF-8, GBK, or Shift_JIS) that matches your original file to resolve character display issues.

Does it support tab-separated values?

Yes, you can specify 'Tab' as the input or output delimiter to handle TSV files correctly.

Why should I use UTF-8 with BOM?

Using UTF-8 with BOM is recommended when exporting to CSV to ensure that spreadsheet applications like Excel correctly recognize the file encoding and display special characters properly.

What is the maximum file size?

The tool supports individual file uploads up to 100MB.

API Documentation

Request Endpoint

POST /en/api/tools/xlsx-csv-batch-converter

Request Parameters

Parameter Name Type Required Description
sourceFiles file (Upload required) Yes -
mode select Yes -
sourceEncoding select No -
outputEncoding select No -
inputDelimiter select No -
outputDelimiter select No -
sheetName text No -
includeHeader checkbox No -
alwaysZip checkbox No -

File type parameters need to be uploaded first via POST /upload/xlsx-csv-batch-converter to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-xlsx-csv-batch-converter": {
      "name": "xlsx-csv-batch-converter",
      "description": "Batch convert CSV/TSV to XLSX or convert XLSX back to CSV/TSV with delimiter and encoding handling",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-csv-batch-converter",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]