Format Conversion
Rename, reorder, and drop Excel columns with alias matching and case/whitespace normalization
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/xlsx-column-mapper' \
-F 'file=@/path/to/excelFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/xlsx-column-mapper' \
-F 'excelFile=/public/samples/xlsx/workbook-sales.xlsx' \
-F 'sheetName=Sheet1' \
-F 'headerRow=1' \
-F 'renameMapJson={"name":"customer_name","region":"market"}' \
-F 'aliasMapJson={"first_name":["First Name","first name","FIRST_NAME"]}' \
-F 'reorderColumns=customer_name,market,amount' \
-F 'removeColumns=notes,temp_col' \
-F 'ignoreCase=true' \
-F 'ignoreSpaces=true' \
-F 'keepUnmapped=true'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/xlsx-column-mapper| Name | Type | Required | Description |
|---|---|---|---|
| excelFile | fileupload 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 result
{
"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)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client 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://api.elysiatools.com/mcp/sse?toolId=xlsx-column-mapper",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "xlsx-column-mapper",
"arguments": {
"excelFile": "/public/samples/xlsx/workbook-sales.xlsx",
"sheetName": "Sheet1",
"headerRow": 1,
"renameMapJson": "{\"name\":\"customer_name\",\"region\":\"market\"}",
"aliasMapJson": "{\"first_name\":[\"First Name\",\"first name\",\"FIRST_NAME\"]}",
"reorderColumns": "customer_name,market,amount",
"removeColumns": "notes,temp_col",
"ignoreCase": true,
"ignoreSpaces": true,
"keepUnmapped": true
}
}
}Questions or issues? Contact [email protected]