Categories

XLSX Column Mapper

Rename, reorder, and drop Excel columns with alias matching and case/whitespace normalization

Map table columns by rules. - Rename columns by mapping or alias dictionary - Reorder columns in a target sequence - Remove columns safely - Match headers with optional case-insensitive and space-insensitive normalization

Example Results

1 examples

Map Headers with Alias Rules

Rename and reorder columns while handling header aliases and whitespace differences

xlsx-column-mapper-example1.xlsx View File
View input parameters
{ "excelFile": "/public/samples/xlsx/workbook-sales.xlsx", "renameMapJson": "{\"name\":\"customer_name\",\"region\":\"market\"}", "reorderColumns": "customer_name,market,amount" }

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel

API Documentation

Request Endpoint

POST /en/api/tools/xlsx-column-mapper

Request Parameters

Parameter Name Type Required Description
excelFile file (Upload required) Yes -
sheetName text No -
headerRow number No -
renameMapJson textarea No -
aliasMapJson textarea No -
reorderColumns text No -
removeColumns text No -
ignoreCase checkbox No -
ignoreSpaces checkbox No -
keepUnmapped checkbox No -

File type parameters need to be uploaded first via POST /upload/xlsx-column-mapper 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-column-mapper": {
      "name": "xlsx-column-mapper",
      "description": "Rename, reorder, and drop Excel columns with alias matching and case/whitespace normalization",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-column-mapper",
      "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]