Keep the scope narrow
This workflow is for analysts, operations teams, and developers preparing one workbook or one worksheet for a JSON consumer. Keep an untouched source copy and produce a reviewed JSON array or a bounded range preview. Batch ingestion, API or S3 intake, multi-workbook merging, SQL, Parquet, and warehouse delivery are not part of this path.
Inspect the boundary before cleaning
Write down the worksheet name, the A1 or named range, the header row, and the expected number of data rows. Use xlsx-range-extractor in records mode when each row should become an object, or cell_objects mode when addresses and coordinates are evidence. Turn on blank dropping only when blank cells are not meaningful to the review. A partial range is an important boundary: the mapper and JSON transformer operate on a worksheet, so do not present them as range-aware stages.
Map fields with an explicit contract
On a working copy, use xlsx-column-mapper with the actual header row. Put canonical names in renameMapJson, aliases in aliasMapJson, the desired sequence in reorderColumns, and intentional removals in removeColumns. Decide whether keepUnmapped is true before running it. Inspect the new XLSX header row and keep the original file; the mapping output is a new workbook, not a replacement for the source.
Convert and review JSON behavior
Use xlsx-json-transformer in xlsx_to_json mode when the mapped worksheet has its header on row one. Keep the sheet name and path separator stable. restoreTypes can turn numeric-looking, boolean-looking, null-looking, array-looking, or object-looking text into other JSON values, while blank cells are omitted in XLSX-to-JSON mode. Compare the output with representative source rows, expected fields, types, blank behavior, and duplicate keys. The tools do not make duplicate or business-type decisions for you.
Accept the result only when every difference is explained and the excluded batch, external intake, multi-workbook, SQL, Parquet, and warehouse concerns have not slipped into this single-workbook handoff.