Excel says the file is corrupt and cannot be opened. How can I repair it?
Resolved File Viewers
RU
Rory Underwood
November 21, 2026
4 replies
112 views
Reviewed by moderators
3 participants

My Excel workbook will not open. It says the file format or extension is not valid or the file is corrupt. It has months of work.

Accepted answer
Marked as the solution to this question

Try in order:

1. Open Excel first, select File > Open, select the file, click the small arrow beside Open and select Open and Repair. Choose Repair, and if that fails, Extract Data.
2. Copy the file to another folder or drive and open the copy.
3. Rename the file from XLSX to ZIP, open the archive and check if the xl\worksheets folder has your sheets. This can show the data is there.
4. Open the file in another app like LibreOffice Calc.
5. Look for older versions in File History or OneDrive version history.

Stop saving over the file until you have a good copy.

Open and Repair worked. I copied the data to a new workbook. Thanks.

Good. Enable AutoRecover and keep the version history on.

Will do.