Office Guides

How to Compress an Excel File: A Practical Guide

Practical methods to reduce Excel file size without losing data—from quick fixes to advanced optimization techniques.

Stewart Celani Created Feb 4, 2026 9 min read

Quick answer: The fastest way to compress an Excel file is to save it as XLSB format instead of XLSX. This binary format typically reduces file size by 25-75% without losing any data. For a file with lots of images, use Excel's built-in "Compress Pictures" feature to reduce image resolution and remove cropped areas.

Need to compress Excel files right now? Process spreadsheets in bulk with secure, automatic optimization:

Open document compressor

Quick Ways to Compress Excel Files

When you need to make an Excel file smaller immediately, these methods work by addressing the most common causes of bloat. Each approach targets a specific type of file inflation.

Save as XLSB for Instant Size Reduction

Converting from XLSX to XLSB is the single most effective way to reduce Excel file size. XLSX files are ZIP archives containing XML text files, while XLSB uses a binary format that's more compact.

To convert: Go to File > Save As, then change the file type from "Excel Workbook (*.xlsx)" to "Excel Binary Workbook (*.xlsb)". The file size typically drops by 25-75% immediately.

Real-World Example

A 15 MB sales report with pivot tables and charts drops to 4 MB when saved as XLSB (actual results vary by file content). The file opens faster, saves quicker, and contains all the same data and functionality.

Use Excel's Built-in Image Compression

Images are often the biggest contributor to large Excel files. Excel includes a "Compress Pictures" tool that reduces image resolution and removes hidden data from cropped images.

Steps to compress pictures in Excel

  1. Click any image in your spreadsheet.
  2. Go to the Picture Format tab that appears in the ribbon.
  3. Click Compress Pictures (in the Adjust group).
  4. Select a resolution—96 PPI for screen viewing, 150 PPI for general printing.
  5. Check "Delete cropped areas of pictures" to remove hidden image data.
  6. Click OK to apply compression.

This can significantly reduce the space used by unoptimized images—often cutting image data by half or more. For more details on image optimization, see our guide on how to reduce picture megabytes.

Why Excel Files Get So Large

Understanding what makes an Excel file large helps you prevent bloat from accumulating. Usually, several factors contribute simultaneously.

High-Resolution Images Are the Primary Culprit

Pasting screenshots or photos directly into Excel can add several megabytes instantly. A single high-resolution image at 300 DPI might be 5 MB, while the same image at 96 DPI is under 500 KB.

The problem compounds when you crop an image in Excel—the original full-size data remains hidden in the background. A thumbnail-sized screenshot can still carry its original 4K resolution data.

The Problem of "Phantom Cells"

Excel tracks a "used range" that defines the boundaries of your data. When this range extends far beyond your actual content, the file size increases dramatically.

Press Ctrl + End to jump to Excel's last recorded cell. If it lands thousands of rows or columns away from your data, you've found a major source of bloat.

This commonly happens when you apply formatting to entire columns, delete data without removing the formatting, or copy data from a large range. Phantom cells can significantly increase file size—often doubling or tripling it.

PivotTable Cache Duplication

Each PivotTable stores a hidden copy of its source data called a Pivot Cache. If you create five PivotTables from the same data source, you may have five full copies of that data stored invisibly.

The solution is to copy and paste your first PivotTable to create additional ones. Copied PivotTables automatically share the same cache, eliminating duplication.

Common Causes of Large Excel Files

Component Size Contribution Best Reduction Method
High-Resolution Images High (often 50%+ of file size) Compress Pictures, reduce PPI
Phantom Cells High (can double or triple file size) Delete unused rows/columns
PivotTable Caches Medium to High Copy PivotTables instead of recreating
Hidden Worksheets Medium Delete unused hidden sheets
Excessive Formatting Low to Medium Clear formatting from unused ranges
Embedded Objects Variable (can be very high) Remove or link instead of embed

Optimizing Images and Embedded Objects

Images and embedded objects are the most visible contributors to Excel bloat. Addressing them first provides the biggest immediate impact on file size.

Understanding Resolution Settings

When you compress pictures, Excel asks you to choose a resolution measured in PPI (pixels per inch). This choice directly impacts both file size and image quality.

Resolution guidelines

  • 96 PPI — Best for screen viewing only. Smallest file size, sufficient for monitors and projectors.
  • 150 PPI — Good compromise for mixed use. Acceptable quality for printing while keeping files manageable.
  • 220 PPI — High quality for professional printing. Only necessary for print materials requiring fine detail.

Remember that higher PPI settings permanently discard less data. Once you compress to 96 PPI, you cannot recover the original quality. Always work on a copy of your file if you might need the high-resolution version later.

Finding and Removing Hidden Objects

Sometimes invisible objects contribute to file bloat. These include old charts, shapes, or text boxes that are transparent or positioned outside the visible worksheet area.

Steps to find hidden objects

  1. Press F5 to open the "Go To" dialog.
  2. Click the "Special..." button.
  3. Select "Objects" and click OK.
  4. Excel selects all objects on the sheet, including hidden ones.
  5. Review and delete any objects you no longer need.

This cleanup step often reveals forgotten charts, images, or shapes from earlier versions of the spreadsheet that were never fully removed.

Cleaning Up Data and Formatting

Beyond images, data structure and formatting choices significantly impact file size. Cleaning these up can remove megabytes of bloat.

Eliminate Phantom Cells

When Excel thinks your worksheet is larger than it actually is, the file size balloons. Resetting the used range fixes this.

Steps to remove phantom cells

  1. Press Ctrl + End to see where Excel thinks your data ends.
  2. If the cursor lands far beyond your actual data, click the first empty row below your data.
  3. Press Ctrl + Shift + Down Arrow to select all rows below.
  4. Right-click and select Delete (not Clear Contents).
  5. Repeat for columns to the right of your data.
  6. Save the file to reset the used range.

Why

Clearing contents removes the data but keeps the formatting, which still counts toward your used range. Deleting the rows/columns entirely removes both data and formatting.

Reduce Formatting Bloat

Excessive formatting inflates file size. This includes unused custom cell styles, conditional formatting applied to entire columns, and formatting on empty cells.

  • Conditional Formatting — Go to Home > Conditional Formatting > Manage Rules. Check for rules applied to entire columns (like A:A) and narrow them to your actual data range.
  • Cell Styles — On the Home tab, right-click unused custom styles in the gallery and delete them.
  • Named Ranges — Press Ctrl + F3 to open the Name Manager. Delete old, broken, or irrelevant named ranges.

Consolidate PivotTable Caches

Multiple PivotTables based on the same data source often create duplicate caches. This silently doubles or triples your file size.

To avoid duplication: Create your first PivotTable, then copy and paste it to create additional ones. The copies automatically share the same cache, dramatically reducing file size.

XLSX vs XLSB: Choosing the Right Format

Changing your file format from XLSX to XLSB is one of the most effective ways to compress Excel files. Understanding the trade-offs helps you choose wisely.

How XLSB Achieves Smaller Files

XLSX files are ZIP archives containing XML text files. While human-readable, XML is verbose. XLSB uses a binary format that's more compact and faster for Excel to process.

The binary format eliminates the XML overhead, typically reducing file size by 25-75%. Excel also reads and writes XLSB faster, improving open and save times for large workbooks.

When to Use XLSB

XLSB is ideal for workbooks with complex formulas, many worksheets, or large datasets. It's also the preferred format for macro-enabled workbooks since it handles VBA code efficiently.

Best scenarios for XLSB

  • Large datasets — Spreadsheets with hundreds of thousands of rows perform better in XLSB.
  • Complex models — Workbooks with extensive formulas and calculations benefit from faster processing.
  • Internal use — When all users have Excel, XLSB is a safe choice with clear benefits.

Understanding the Limitations

XLSB has one major drawback: compatibility. As a proprietary binary format, many third-party applications and data analysis tools cannot read it.

If your workflow involves importing Excel data into other systems, stick with XLSX. Similarly, if you share files with users who might have older spreadsheet software, XLSX ensures broader compatibility.

XLSX vs XLSB Comparison

Feature XLSX (XML-based) XLSB (Binary)
File Size Larger Smaller (25-75% reduction)
Open/Save Speed Slower with large files Faster
Compatibility High. Readable by most third-party tools. Limited. Primarily for Microsoft Excel.
Macros/VBA Supported (.XLSM) Supported natively and efficiently
Best For Sharing, collaboration, data export Large files, complex models, internal use

For more information on Office file formats, see our guide to office file compression formats.

Your Excel Compression Questions Answered

Here are direct answers to common questions about how to compress Excel files.

Will I lose data if I compress my Excel file?

No, most compression methods are lossless. Converting to XLSB format, removing phantom cells, and cleaning up formatting all preserve your data completely.

The exception is image compression, which is lossy. When you reduce image resolution from 220 PPI to 96 PPI, you permanently discard some image data. The original quality cannot be recovered, so work on a copy if you might need the high-res version later.

My Excel file is still large after compression. Why?

If your file remains large, check for embedded objects. A hidden PowerPoint presentation, Word document, or PDF embedded within your Excel file won't be affected by standard compression techniques. You may need to compress these files separately before embedding them.

To identify the culprit: Make a copy of your workbook, delete worksheets one by one, and check the file size after each deletion. This pinpoints which sheet contains the oversized element.

Can I compress an Excel file without opening it?

Standard Excel compression requires opening the file. However, dedicated compression tools can process Excel files without you manually opening them.

These tools apply optimization algorithms to reduce file size automatically. They're particularly useful for batch processing multiple files or when you need to reduce Excel file size programmatically.

Does XLSB format work with all versions of Excel?

XLSB works with Excel 2007 and later. However, third-party spreadsheet applications have limited or no support—Google Sheets does not support XLSB at all, LibreOffice Calc has limited support, and Numbers cannot open XLSB files.

If you share files with users who might not have Excel, or if your workflow involves importing data into other systems, XLSX remains the safer choice despite its larger file size.

Compress.FAST handles Excel and Office document optimization on encrypted EU-based servers and deletes your files automatically—fast, simple, and secure.

Stewart Celani

Stewart Celani

Founder

15+ years in enterprise infrastructure and web development. Stewart built Tools.FAST after repeatedly hitting the same problem at work: bulk file processing felt either slow, unreliable, or unsafe. Compress.FAST is the tool he wished existed—now available for anyone who needs to get through real workloads, quickly and safely.

Read more about Stewart