ShrinkExcel

Sixteen real workbooks, measured

Each one was attached by a real person to a public bug report about size or slowness. None is a sample dataset or a generated fixture. Every row links to the thread it came from, so you can download the same file and check.

Run on September 19, 2026 with the default set of reductions, and again with every reduction on.2 of the 16 came back under one per cent smaller, and those rows are still here. Six were written by an export library rather than by Excel: the excelize, ClosedXML, NPOI and ImportExcel rows.

Saving as a share of the original file. Sorted largest file first.
WorkbookWhat was taking the spaceSizeDefaultAll on
excelize stream-writer exportqax-os/excelize #1142A package written without compression48.7 MB96.6%96.6%
ClosedXML 50,000-row reportClosedXML #183850,000 rows by 245 columns, styled cell by cell34.5 MB3.0%3.0%
Airports datasetLibreOffice #117366Millions of styled blank cells past the data26.1 MB71.8%71.8%
NPOI large exportnissl-lab/npoi #560Real data. No output, original untouched25.8 MB0.0%0.0%
500,000-row sheetONLYOFFICE DocumentServer #116Worksheet data, then the calculation cache11.1 MB36.5%36.5%
ClosedXML border reproClosedXML #2517One border written on every cell of a column10.4 MB99.9%99.9%
Temperatures workbookONLYOFFICE DocumentServer #3315Worksheet data beside a heavy chart layer9.2 MB27.6%27.6%
ImportExcel 1,700-column mergedfinke/ImportExcel #506A column-heavy worksheet7 MB23.3%23.3%
Search performance testONLYOFFICE DesktopEditors #2451Shared strings holding real text4.7 MB0.4%0.4%
17-pivot workbookLibreOffice #90129Seventeen pivot tables, each with its own source copy3.1 MB36.0%57.0%
Univer import crashdream-num/univer #4100Worksheet data, then the calculation cache2.4 MB29.5%29.7%
Huge drawing layerLibreOffice #105036Invisible shapes left in the drawing parts626.7 KB89.5%89.5%
1,784 conditional formatsLibreOffice #81765Fragmented conditional formatting and images425.3 KB3.0%3.0%
Formula range bloatClosedXML #457A formula range written out cell by cell378 KB2.4%2.4%
15,612 invisible rectanglesLibreOffice #126185Invisible shapes left in the drawing parts89.4 KB91.5%91.5%
1,500 cell commentsLibreOffice #119636Comment anchors, kept on purpose61.5 KB18.8%18.8%

Together they weighed 184.6 MB, and the default set took 47.6% off that. Drop your own file and see what it says about yours.