You can make an Excel file smaller by removing the things Excel stores even when you cannot see them: unused formatting on whole rows and columns, hidden sheets, leftover pivot-table caches, images, embedded objects, and stale saved versions. The quickest single fix is to select every row below your data and delete it, then do the same for every column to the right, and save the workbook again. That one move often cuts a file by half or more, because Excel keeps formatting for all 1,048,576 rows on any sheet it thinks has been touched. If the file is still large after that, the steps below work through the other usual causes in order of effort to payoff.
What You'll Need
- Excel on Windows, Mac, or Excel for the web, signed in so you can save changes
- A copy of the workbook you can experiment on, so the original stays safe
- Enough free disk space to save a second, smaller version
- Roughly ten to fifteen minutes per file
Menu names below are written as they appear in recent desktop versions. Labels can differ slightly by version, device, and region, so look for the closest match if a name is not exactly the same on your screen.
Step-by-Step
- Make a copy first. Save the workbook under a new name before you start. Some of these steps remove formatting you might want back, and having the original means you can compare file sizes afterward and undo anything you regret.
- Find the real size and the culprit sheet. Right-click the file in File Explorer (Windows) or Finder (Mac) and open Properties or Get Info to see the size in MB. Then open the workbook and click through each sheet, pressing Ctrl+End (Windows) or Fn+Ctrl+Right Arrow on some Mac layouts. If the cursor jumps to a row far below your data, that sheet is carrying empty formatted cells and is likely a big part of the problem.
- Delete unused rows and columns. Go to the first empty row below your data, select that row, press Ctrl+Shift+Down Arrow to select everything to the bottom, then right-click the row header and choose Delete. Repeat on the right edge: select the first empty column after your data, press Ctrl+Shift+Right Arrow, right-click the column header, and delete. Save and compare the file size. Do not use Clear Contents here, because clearing keeps the formatting; you need Delete.
- Remove conditional formatting and data validation from unused ranges. On the Home tab, open Conditional Formatting and use Manage Rules to see how many rules exist and what ranges they cover. Delete rules that point at entire columns when you only need a few hundred rows. Do the same under Data > Data Validation. Rules that cover whole columns slow the file down and bloat it.
- Strip out cell styles that piled up. Every time you paste from another workbook, Excel can import the source's custom cell styles, and each one adds weight. Open the Cell Styles gallery on the Home tab, right-click any custom style that is not built in, and choose Delete. Built-in styles can stay.
- Check hidden sheets and defined names. Right-click any sheet tab and choose Unhide to see what is hidden; delete sheets you no longer need rather than leaving them hidden. Then open Formulas > Name Manager and remove names that point at #REF! or at ranges you have deleted. Broken names can quietly keep large ranges alive.
- Compress pictures and remove embedded objects. Select any image and use Picture Format > Compress Pictures, choosing a lower resolution and unticking apply only to this picture so it hits all of them. Delete screenshots, logos, and pasted objects you no longer need. If the workbook links to external files, check Data > Edit Links and break links you do not use.
- Refresh and then clear pivot-table caches. Pivot tables keep a copy of their source data, and a file with several pivots on the same data can hold that copy more than once. Right-click a pivot table, open PivotTable Options, and on the Data tab choose to refresh on open only if you need it, then save. Where you no longer need the pivot, delete it and rebuild a simple summary instead. Also check the PivotTable Options for a setting to save source data with the file, which you can turn off if the pivot can refresh from the sheet each time. Exact wording of these options varies by version.
- Remove duplicate formatting with a rebuild for very stubborn files. If the file is still bloated, copy each sheet's values into a brand new workbook: select your data, copy, then paste with Paste Special > Values into a clean sheet, and reapply only the formatting you actually want. A rebuild removes years of accumulated junk in one pass.
- Save in the right format. Use File > Save As and keep the .xlsx format. The old .xls format is heavier and limited, and if you have been saving as .xlsb, convert to .xlsx unless you specifically need binary for very large data. Finally, use File > Info > Check for Issues > Inspect Document to strip document properties and personal information you do not need.
- Zip it only if you are sending it. If the goal is emailing rather than opening faster, right-click the file and compress it. Excel files are already compressed internally, so the saving is usually modest, but it can be enough to slip under an attachment limit.
Common Mistakes
- Clearing instead of deleting. Clear Contents wipes the values but keeps the formatting, so the file stays big. Use Delete on the rows or columns.
- Deleting only partway down. The usual cause of a huge file is formatting applied to whole columns. Select from the first empty row all the way to the bottom, not just a few hundred rows past your data.
- Removing formatting the workbook needs. Conditional formatting may drive colour-coded status columns and data validation may power dropdowns. Delete rules that cover empty space, not the ones your users rely on.
- Ignoring hidden sheets. A hidden sheet full of pasted data can be most of the file. Unhide before you assume the visible sheets are the problem.
- Saving as .xls to stay compatible. If nothing else needs the old format, .xlsx is smaller and safer.
Tips
- Save, close, and reopen the file between big changes so the size reflects what is really stored.
- Copying and pasting between workbooks is the single most common source of style bloat. Paste as Values when you do not need the source formatting.
- Keep raw data on its own plain sheet with no formatting, and build your reports on a separate sheet that references it.
- If your file is slow to open rather than just large, the cause is often volatile formulas such as whole-column references, not size alone.
- For shared workbooks on a network drive, ask the owner before removing sheets; someone else may depend on them.
Troubleshooting
The file is still large after deleting empty rows. Press Ctrl+End again: if the cursor still lands far past your data, something is genuinely formatted there. Select everything from the first empty row downward and delete again, then check for named ranges pointing at that area in the Name Manager.
The size jumps after you paste. You almost certainly pasted with source formatting. Undo, then use Paste Special > Values, and check the Cell Styles gallery for newly imported styles afterward.
Excel warns that the file contains links or macros. Macros and links add weight but may be essential. Check the workbook's purpose before removing them, and keep a copy of the original if you are unsure.
It still will not shrink. The rebuild in step 9 is the reliable fallback. If the file is corrupt and resists rebuilding, try opening it with Excel's built-in repair option from the Open dialog's arrow next to the Open button, and expect to lose some formatting.
You need it smaller for email. Compress to a zip, or share it through cloud storage with a link instead of attaching it. OneDrive and SharePoint let you send a link to a workbook without emailing the file at all.
Frequently Asked Questions
Why does my Excel file get bigger when I hardly add anything?
Usually because formatting, styles, or validation have been applied to entire rows or columns. Excel stores that per cell, so a single whole-column fill can add a lot of hidden data.
Does deleting rows at the bottom delete my data?
No, as long as you start below your last used row and column. The cells being removed are empty; you are only removing their formatting.
Will removing formatting break my formulas?
No. Formulas watch cell values, not colours or fonts. Deleting rules only affects how cells display, so your numbers stay intact.
Is a smaller file always faster?
Not always. Speed depends mostly on formulas, volatile functions like TODAY and INDIRECT, and whole-column references. A small file with heavy formulas can still be slow.
Can I make Excel compress the file itself?
Excel already compresses the .xlsx file when it saves. There is no separate compression setting in Excel, so the fixes are about reducing what is stored, not how hard Excel squeezes it.