Categories

XLSX Range Extractor

Extract a specific sheet/range/named-range from Excel into JSON with coordinates or record objects

Extract partial spreadsheet data as JSON. - Pick a worksheet by name - Extract by explicit A1 range or by named range - Output as cell objects (with row/column/address) or records (header-based objects)

Example Results

2 examples

Extract Named Range as Cell Objects

Read a named range and keep coordinates for each non-empty cell

xlsx-range-extractor-example1.json View File
View input parameters
{ "excelFile": "/public/samples/xlsx/workbook-sales.xlsx", "mode": "cell_objects", "namedRange": "SalesRegion", "includeCoordinates": true }

Extract A1 Range as Records

Use header row and convert selected range into object array

xlsx-range-extractor-example2.json View File
View input parameters
{ "excelFile": "/public/samples/xlsx/workbook-sales.xlsx", "mode": "records", "range": "A1:C20", "headerRow": 1 }

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-range-extractor

Request Parameters

Parameter Name Type Required Description
excelFile file (Upload required) Yes -
mode select No -
sheetName text No -
range text No -
namedRange text No -
headerRow number No -
includeCoordinates checkbox No -
dropBlankCells checkbox No -

File type parameters need to be uploaded first via POST /upload/xlsx-range-extractor 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-range-extractor": {
      "name": "xlsx-range-extractor",
      "description": "Extract a specific sheet/range/named-range from Excel into JSON with coordinates or record objects",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-range-extractor",
      "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]