What you can do when an Excel file won't open
A corrupted Excel file usually won't open at all, or opens with missing data, formulas that show errors, or sheets that display garbled text. The file itself is still there — the problem is that Excel can't read its internal structure. You have several repair routes, starting with built-in tools that come with Excel, moving to manual recovery methods, and ending with extracting what you can if the file is too damaged to fix completely.
The fastest approach depends on which version of Excel you use and whether you have a backup. If you don't have a backup, don't panic — Excel includes a repair feature that works on many corrupted files without any special software.
Key Takeaways
- Excel's built-in Open and Repair tool can fix many corrupted files without additional software — access it through File > Open > Browse, then select the file and click the dropdown arrow next to Open.
- If Open and Repair doesn't work, try opening the file in a different program like Google Sheets or LibreOffice Calc, which sometimes read damaged files that Excel cannot.
- Manual recovery methods include disabling add-ins, opening Excel in Safe Mode, or copying the file to a different location and renaming it to force a fresh read.
- If the file is severely damaged, you can extract data by opening it as a ZIP archive (Excel files are compressed folders) and pulling the XML data directly.
- Prevention is simpler than repair — enable AutoSave in OneDrive or SharePoint, keep local backups, and save copies before making major changes.
Using Excel's built-in Open and Repair feature
Excel includes a repair tool designed specifically for corrupted files. This is your first step because it requires no downloads and works on most corruption types. The process differs slightly between Windows and Mac, but both are straightforward.
On Windows: Open Excel and go to File > Open. Click Browse to navigate to your file. When you see the file in the dialog, do not double-click it. Instead, click once to select it, then click the small dropdown arrow next to the Open button at the bottom right. Select "Open and Repair" from the menu. Excel will attempt to recover the file and show you what it found.
On Mac: Open Excel and go to File > Open. Navigate to your file, select it, then hold down Shift and click Open. This triggers the repair process. If that doesn't work, try File > Open and look for an "Open and Repair" option in the dialog itself — the location varies by Excel version.
If the repair succeeds, Excel will open the recovered file and show you a dialog listing what was recovered and what was lost. Save this recovered version immediately with a new filename so you don't overwrite the original if something went wrong.
Opening the file in a different program
Excel files are actually structured data formats that other programs can read. Google Sheets, LibreOffice Calc, and even some online converters can sometimes open files that Excel itself rejects. This works because different programs handle corruption differently — what crashes Excel might be readable to another application.
Google Sheets: Upload the corrupted file to Google Drive, right-click it, and select "Open with > Google Sheets." Google's servers will attempt to convert and open it. If it works, you can download the recovered version as an Excel file or work with it directly in Sheets. This is often the fastest method because you don't need to install anything.
LibreOffice Calc: This free program (available for Windows, Mac, and Linux) often recovers files that Excel cannot. Download it, install it, then open your corrupted file directly in Calc. If Calc can read it, save the file as an Excel format (.xlsx) and try opening it again in Excel.
The tradeoff is that these programs may not recover everything perfectly — formatting might change, some formulas might convert differently, or hidden sheets might not appear. But you'll usually get your data back, which is the priority.
Disabling add-ins and using Safe Mode
Sometimes the file itself is fine, but an add-in (a third-party extension) is interfering with how Excel reads it. Disabling add-ins forces Excel to open the file with only its core functions, which can bypass the corruption error.
On Windows: Hold Ctrl while starting Excel. A dialog will appear asking if you want to start in Safe Mode. Click Yes. Open your corrupted file in this mode. If it opens successfully, the problem was an add-in. Save the file, close Excel normally, and the file should open without Safe Mode next time.
On Mac: Hold Shift while starting Excel. This disables add-ins for that session. Try opening your file. If it works, the issue was an add-in conflict.
If the file opens in Safe Mode, you can also try disabling specific add-ins permanently. Go to File > Options > Trust Center > Trust Center Settings > Disabled Items (Windows) or Excel > Preferences > Security (Mac) and see if any add-ins are listed. Re-enable them one at a time to find which one caused the problem.
Extracting data from severely damaged files
If none of the above methods work, you can extract the raw data directly from the file because Excel files (.xlsx) are actually ZIP archives containing XML files. This is a manual process, but it recovers data even from files that are too corrupted to open normally.
Step 1: Make a copy of your corrupted file and rename the copy to end in .zip instead of .xlsx. For example, change "report.xlsx" to "report.zip".
Step 2: Open the ZIP file using your computer's built-in archive tool (Windows Explorer on Windows, Finder on Mac). You'll see folders including "xl" and "worksheets".
Step 3: Navigate to xl > worksheets. You'll see files named sheet1.xml, sheet2.xml, and so on. These are your actual data sheets in XML format.
Step 4: Open sheet1.xml in a text editor (Notepad on Windows, TextEdit on Mac). You'll see raw XML code, but your data is in there — look for text between tags. Copy the data you need and paste it into a new Excel file.
This method is tedious and requires reading XML, but it works when everything else fails. You won't recover formatting or formulas perfectly, but your numbers and text will be there.
Preventing corruption in the first place
Corruption usually happens when Excel crashes during a save, when a file is stored on a failing hard drive, or when it's transferred over a network connection that drops. You can't prevent all corruption, but you can make recovery much easier by keeping backups and using cloud storage with version history.
Enable AutoSave: If you store your file in OneDrive or SharePoint, turn on AutoSave (the toggle is at the top of the Excel window). Excel saves your work every few seconds, and you can recover earlier versions by going to File > Info > Version History.
Keep local backups: Save a copy of important files to an external drive or second location on your computer. Before making major changes to a file, save a copy with today's date in the filename.
Avoid network transfers: Don't move Excel files over email or slow network connections while they're open. Close the file first, transfer it, then open it on the destination computer.
Check your hard drive: If you see corruption repeatedly, your hard drive may be failing. Run a disk check (Windows: right-click the drive > Properties > Tools > Check; Mac: Disk Utility > First Aid) and consider backing up all your files to a new drive.
When to accept data loss and start over
Some files are too damaged to recover anything useful. If you've tried Open and Repair, alternative programs, Safe Mode, and data extraction and still have nothing, the file is likely beyond recovery. At this point, the decision is whether to recreate the file from scratch, use an older backup, or accept the loss.
Before you give up, check whether you have an older version. Windows stores previous versions of files automatically if you have System Restore enabled — right-click the file, select Properties, and look for a Previous Versions tab. Mac users can check Time Machine. Cloud storage services like OneDrive and Google Drive keep version history for 30 to 93 days depending on your plan.
If no backup exists and recovery fails, document what data was in the file so you can rebuild it. This is frustrating, but it's also a signal to set up backups for the future so this doesn't happen again.
Frequently Asked Questions
Can I recover an Excel file I deleted by accident?
Yes, if you deleted it recently. Check your Recycle Bin (Windows) or Trash (Mac) first — if it's there, restore it. If you emptied the bin, you can still recover the file using data recovery software like Recuva (Windows) or EaseUS Data Recovery (Mac and Windows), though success depends on how long ago you deleted it and whether the disk space has been reused.
What if the file opens but shows #REF! or #VALUE! errors everywhere?
This usually means formulas are broken, not the file itself. Try using Open and Repair first. If that doesn't work, the formulas may reference cells or sheets that no longer exist. You can manually fix individual formulas by clicking the cell and editing the formula bar, or you can copy the data to a new file and rebuild the formulas from scratch.
Is it safe to open a corrupted file, or will it damage my computer?
Opening a corrupted Excel file won't damage your computer or infect it with malware. The worst that happens is Excel crashes or the file won't open. However, if the file is corrupted because of a virus, opening it could trigger the virus. If you're unsure about the source of the file, scan it with antivirus software before opening it.
Why does my file keep getting corrupted?
Repeated corruption usually points to one of three causes: your hard drive is failing, you're using an outdated version of Excel, or the file is stored on an unreliable network drive. Run a disk check on your hard drive, update Excel to the latest version, and if the file is on a network, try copying it to your local computer and working there instead.
Can I recover data from an Excel file that won't even open in Safe Mode?
Yes — use the ZIP extraction method described above. Even if Excel can't read the file at all, the underlying XML data is usually still intact. You'll need to read the raw XML code, but your numbers and text are recoverable in most cases.