Applies To
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web

As you work on your worksheet, the file can get larger, depending on what you're adding. Here are a few things that you can do. 

You can reduce your file size by saving your spreadsheet as a binary workbook (.xslb) instead of the default XML format (.xslx). As an open standard, XML based files are important if you're using your data with third-party programs. However, for most purposes, the binary format is sufficient and saves to a smaller file.

  1. On the File tab, select Options and choose Save.

  2. Under Save workbooks, select Excel Binary Workbook from the Save files in this format list.

    Save files in this format as binary

This option sets binary format as the default. If you want to keep the default to Excel Workbook (.xlsx) but save the current file as binary, select the option in the Save As dialog. 

Note: If the file is located in a SharePoint library, you might not see the Save As option. If this is the case, you can save a copy to your local drive, save that copy as a binary, and then replace the original file with the new binary.

  1. Go to the File tab and select Save As or Save a Copy. If you're saving for the first time, pick a location.

  2. Select Excel Binary Workbook (*.xlsb) from the list of file types,

    Save as binary file screen

If you have worksheets with data that you're not using—and that don't contain any formulas you're using—delete them from the spreadsheet. 

The more data points you have in your workbook, the larger your file size will be. Removing unused data will reduce your file size.

  1. Go to the File tab, select Options and choose Advanced.

  2. Under Image Size and Quality, do the following:

    • Select Discard editing data. This option removes stored data that's used to restore the image to its original state after it's been edited in Excel. Note that if you discard the editing data, you won't be able to restore the image in Excel.

    • Clear Do not compress images in file.

    • In the Default resolution list, select a resolution of 150ppi or lower. In most cases, you won't need the resolution to be higher than that.

Image size and quality settings screen

  1. Select a picture in your document. The Picture Format tab appears on the ribbon.

  2. On the Picture Format tab, select Compress Pictures in the Adjust group.

  3. Under Compression options, do the following:

    • To compress all the pictures in the file, clear Apply only to this picture. If this option is selected the changes only affect the selected picture.

    • Select Delete cropped areas of pictures. This option removes the cropped picture data, but note that you won't be able to restore it.

  4. Under Resolution, do the following:

    • Select Use default resolution.

      Compress pictures dialog box

If your spreadsheet contains a pivot table, you can reduce the file size by not saving the pivot table source data cache with the file and instead having the data cache refresh when you open the spreadsheet.

  1. Select any cell in the pivot table.

  2. On the PivotTable Analyze tab, in the PivotTable group, select Options.

  3. In the PivotTable Options dialog box, select the Data tab, and do the following:

    • Uncheck Save source data with file.

    • Select Refresh data when opening the file.Pivot table options for not saving the pivot cache

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.