Why Your Excel File Gets Large and What You Can Do About It

Excel files grow large when they contain lots of data, images, formatting, or hidden content you may not realize is there. A file that started small can balloon to several megabytes if you've pasted images, used complex formulas across thousands of rows, or left deleted data sitting in the file's memory. The good news is that most bloated Excel files can be cut down to half their size or smaller using built-in tools and a few straightforward cleanup steps.

The fastest wins come from removing images, deleting unused worksheets, and clearing out formatting from cells you're no longer using. If your file is still large after that, you can compress it further by saving it in a different format or removing features Excel no longer needs to keep track of.

Key Takeaways

  • Remove or compress images embedded in your spreadsheet, since images are usually the biggest space-takers in an Excel file.
  • Delete entire worksheets you're not using, and clear formatting from empty cells that Excel is still storing data about.
  • Save your file as an Excel Binary Workbook (.xlsb) instead of the standard format (.xlsx) to cut size by 20 to 40 percent with no loss of features.
  • Use the built-in Compress Pictures tool to shrink image resolution without changing how they look on screen.
  • Remove external links and cached data from pivot tables if your file contains them, since these add hidden bulk.

Remove or Compress Images in Your Spreadsheet

Images are almost always the reason an Excel file balloons in size. A single photo pasted into a cell can add 500 kilobytes to a megabyte or more, depending on resolution. If your file contains multiple images, removing them or compressing them down is the fastest way to shrink the file.

To compress images that you want to keep, click on any image in your spreadsheet. A Picture Format tab will appear in the ribbon at the top. Click that tab, then look for a button labeled Compress Pictures. A dialog box will open with options to reduce resolution. Choose Email (which compresses to 96 pixels per inch) or Screen (150 pixels per inch) depending on how the file will be used. Click OK, and Excel will shrink that image. Repeat for every image in the file.

If you have many images and want to compress them all at once, select all cells by pressing Ctrl+A, then follow the same steps. Excel will compress every image in the file in one action. If an image is purely decorative or you don't need it, simply click it and press Delete to remove it entirely.

Delete Unused Worksheets and Clear Excess Formatting

Excel files often contain worksheets (tabs at the bottom) that you created for testing, backup, or old versions of your data. Each worksheet adds to the file size, even if it's mostly empty. Right-click on any worksheet tab you don't need and select Delete Sheet. Confirm the deletion, and that worksheet is gone.

Formatting also takes up space. If you've formatted cells with colors, fonts, borders, or number formats and then deleted the content, Excel still remembers all that formatting. To clear it, select the cells that look empty but may contain old formatting. Press Ctrl+H to open Find and Replace. Leave the Find what field empty, make sure Replace with is also empty, then click Options and select Format under the Find field. Choose Clear Format and click Replace All. This removes formatting from empty cells without touching your actual data.

Another source of hidden bulk is merged cells. If you've merged cells for titles or headers and no longer need them merged, select those cells, go to the Home tab, click Merge & Center, and choose Unmerge Cells. Merged cells force Excel to store extra information about how they're connected.

Save Your File in Excel Binary Format

The standard Excel format (.xlsx) is actually a compressed folder of XML files. Excel Binary Workbook format (.xlsb) compresses the same data even further, often cutting file size by 20 to 40 percent with no loss of features or data. The tradeoff is that .xlsb files are slightly slower to open and some older versions of Excel may not recognize them, but for most modern uses this is not a problem.

To save in binary format, click File, then Save As. In the dialog that opens, find the dropdown labeled Save as type and select Excel Binary Workbook (.xlsb). Click Save. Your file will now be stored in the smaller format. If you need to share it with someone using an older version of Excel, you can always save it back as .xlsx when you're ready to send it.

Do not use the older .xls format (Excel 97-2003 Workbook), as it has limitations on the amount of data you can store and may lose formatting or formulas from newer Excel versions.

Remove External Links and Pivot Table Cache

If your spreadsheet contains pivot tables, Excel stores a copy of the original data inside the file even after the pivot table is created. This cached data can be large. To remove it, right-click on the pivot table and select Pivot Table Options. Go to the Data tab and uncheck Save source data with file. Click OK. The pivot table will still work, but Excel will no longer store the backup data.

External links are connections to data in other files. If your spreadsheet pulls numbers from another workbook, Excel stores information about that link even if you're not actively using it. To see and remove external links, click File, then Info, then Edit Links to Files (if the button appears). Select any link you don't need and click Break Link. This converts the linked data to static values, which takes up less space.

Check Your File Size and Verify the Reduction

Before and after you make changes, it's useful to know exactly how much space you've saved. To see your file size, open File Explorer (Windows) or Finder (Mac), navigate to where your Excel file is stored, right-click the file, and select Properties (Windows) or Get Info (Mac). The size will be listed in kilobytes or megabytes.

After you've removed images, deleted worksheets, and saved in binary format, check the size again. Most files shrink noticeably after these steps. If your file is still larger than you'd like, open it again and look for any remaining images, or check whether you have multiple copies of the same data on different worksheets that could be consolidated into one.

Save your file after each major change so you don't lose your work. Use Ctrl+S frequently, or turn on AutoSave if you're using Excel through Microsoft 365 by clicking the toggle at the top left of the window.

When to Use Zip Compression Instead

If you've done all the above and your file is still too large to email or upload, you can compress the file using your operating system's built-in zip tool. This is different from the steps above — it doesn't change the Excel file itself, but it wraps it in a compressed container that's smaller to move around.

On Windows, right-click your Excel file, hover over Send to, and select Compressed (zipped) folder. Windows will create a .zip file in the same location. On Mac, right-click the file and select Compress. The zip file will be significantly smaller than the original. The person receiving it will need to unzip it before opening it in Excel, but the file itself is unchanged.

Zip compression works well for one-time sharing, but if you're sending the file regularly, it's better to fix the underlying size problem using the methods above so you don't have to zip it every time.

Frequently Asked Questions

Will compressing images make them look blurry or pixelated?

No, not noticeably. The Email compression setting (96 pixels per inch) is designed for screen viewing and looks fine for most purposes. If your images are charts or text that need to be printed in high quality, use the Screen setting (150 pixels per inch) instead, which compresses less but still saves significant space.

Can I undo changes if I accidentally delete a worksheet?

Yes, immediately after deletion. Press Ctrl+Z to undo, and the worksheet will come back. If you've already saved the file, the undo history is lost and you cannot recover it. Always save a backup copy before deleting large sections of your file.

What's the difference between .xlsb and .xlsx?

.xlsx is the standard format and works with all versions of Excel. .xlsb is binary format and is smaller but may not open in very old versions of Excel (pre-2007) or in some third-party spreadsheet programs. For most modern use, .xlsb is fine and saves 20 to 40 percent of space.

Why is my file still huge after I deleted all the images?

Check for pivot tables with cached data, external links to other files, or very large amounts of data with complex formulas. You can also try opening the file in a text editor to see if there's hidden XML data, but this is rarely necessary. If the file contains thousands of rows with formulas, the data itself may simply be large.

Can I reduce file size without changing the file format?

Yes. Removing images, deleting unused worksheets, and clearing formatting will shrink most files significantly while keeping them as .xlsx. Switching to .xlsb saves additional space but requires the newer format. Do the cleanup steps first, then decide if you need to change the format.