Categories

XLSX CSV Detect Normalize

Auto-detect CSV delimiter/encoding (UTF-8/GBK), normalize the table, and import to XLSX/CSV

Normalize messy CSV before spreadsheet import. - Detects encoding (`UTF-8`/`GBK`) and delimiter automatically - Normalizes rows to a consistent column count - Exports normalized CSV, XLSX, or both

Example Results

1 examples

Detect and Normalize to CSV+XLSX

Auto-detect delimiter/encoding and export normalized CSV+XLSX with manifest

xlsx-csv-detect-normalize-example1.zip View File
View input parameters
{ "sourceFile": "/public/samples/csv/sample-utf8.csv", "sourceEncoding": "auto", "outputMode": "both", "outputDelimiter": "," }

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: text/csv, text/tab-separated-values, text/plain

API Documentation

Request Endpoint

POST /en/api/tools/xlsx-csv-detect-normalize

Request Parameters

Parameter Name Type Required Description
sourceFile file (Upload required) Yes -
sourceEncoding select No -
outputMode select No -
outputDelimiter select No -
sheetName text No -
trimWhitespace checkbox No -
includeHeader checkbox No -

File type parameters need to be uploaded first via POST /upload/xlsx-csv-detect-normalize 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-detect-normalize": {
      "name": "xlsx-csv-detect-normalize",
      "description": "Auto-detect CSV delimiter/encoding (UTF-8/GBK), normalize the table, and import to XLSX/CSV",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-csv-detect-normalize",
      "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]