Format Conversion
Convert various text formats to Excel with customizable parsing and formatting options
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/text-to-excel' \
-H 'Content-Type: application/json' \
-d '{"textInput":"Enter your text data to convert to Excel:\nname,age,city\nJohn,25,New York\nJane,30,London\n\nOr paste JSON, key-value pairs, or other formats...","inputFormat":"auto","delimiter":"Custom delimiter (e.g., |, ;, \\t)","hasHeader":true,"trimValues":true,"skipEmptyLines":true,"sheetName":"Data","autoFilter":true,"freezeHeaderRow":true,"autoColumnWidth":true,"multipleSheets":false,"createSummary":false,"includeStats":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/text-to-excel| Name | Type | Required | Description |
|---|---|---|---|
| textInput | textarea | Yes | — |
| inputFormat | select | Yes | — |
| delimiter | text | No | — |
| hasHeader | checkbox | No | — |
| trimValues | checkbox | No | — |
| skipEmptyLines |
| checkbox |
| No |
| — |
| sheetName | text | No | — |
| autoFilter | checkbox | No | — |
| freezeHeaderRow | checkbox | No | — |
| autoColumnWidth | checkbox | No | — |
| multipleSheets | checkbox | No | — |
| createSummary | checkbox | No | — |
| includeStats | 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-text-to-excel": {
"name": "text-to-excel",
"description": "Convert various text formats to Excel with customizable parsing and formatting options",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=text-to-excel",
"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": "text-to-excel",
"arguments": {
"textInput": "Enter your text data to convert to Excel:\nname,age,city\nJohn,25,New York\nJane,30,London\n\nOr paste JSON, key-value pairs, or other formats...",
"inputFormat": "auto",
"delimiter": "Custom delimiter (e.g., |, ;, \\t)",
"hasHeader": true,
"trimValues": true,
"skipEmptyLines": true,
"sheetName": "Data",
"autoFilter": true,
"freezeHeaderRow": true,
"autoColumnWidth": true,
"multipleSheets": false,
"createSummary": false,
"includeStats": true
}
}
}Questions or issues? Contact [email protected]