Categories

XLSX Unpivot Normalizer

Unpivot wide tables (e.g., month columns) into normalized long-form records for database ingestion

Convert wide tables to long format. - Keep identifier columns as-is - Convert value columns into key-value pairs - Typical use case: `Jan,Feb,Mar` -> `month,value` - Export as XLSX or JSON

Example Results

1 examples

Unpivot Monthly Wide Table

Convert Jan/Feb/Mar columns into normalized month/value rows

xlsx-unpivot-normalizer-example1.xlsx View File
View input parameters
{ "excelFile": "/public/samples/xlsx/workbook-sales.xlsx", "idColumns": "name,region", "valueColumns": "Jan,Feb,Mar", "keyColumnName": "month", "valueColumnName": "value" }

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-unpivot-normalizer

Request Parameters

Parameter Name Type Required Description
excelFile file (Upload required) Yes -
sheetName text No -
headerRow number No -
idColumns text Yes -
valueColumns text No -
keyColumnName text No -
valueColumnName text No -
outputMode select No -
dropEmptyValues checkbox No -
parseNumbers checkbox No -

File type parameters need to be uploaded first via POST /upload/xlsx-unpivot-normalizer 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-unpivot-normalizer": {
      "name": "xlsx-unpivot-normalizer",
      "description": "Unpivot wide tables (e.g., month columns) into normalized long-form records for database ingestion",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-unpivot-normalizer",
      "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]