Forum Discussion

Johnsones's avatar
Johnsones
Copper Contributor
Mar 22, 2026

Excel file was damaged. How to repair an excel file?

Hi everyone, an important Excel file suddenly became damaged and can no longer be opened properly. It either shows an error message or opens with missing/corrupted data. The file contains important information, so recovering it is really important.

The challenge is not knowing what caused the corruption—could be a crash, improper shutdown, or file transfer issue. Also not sure which method is safest, since some fixes might overwrite the original file or cause further data loss.

What are the best ways to repair a damaged excel file? Are there built-in options in Excel, or should third-party repair tools be used?

7 Replies

  • Demetriun's avatar
    Demetriun
    Brass Contributor

    The SLK Format Trick is a useful technique to help repair an Excel file on a Windows PC, especially when the file is corrupted or cannot be opened normally. This method leverages saving the damaged Excel file as an SYLK (Symbolic Link) format, which can sometimes strip out the corruption and allow you to recover your data.

    Here's how you can use the SLK Format Trick to repair Excel file:

    1. Open the Damaged Excel File:

    • First, try to open your damaged Excel file directly in Excel. If it opens with errors or missing data, proceed to the next step.

    2. Save the File as SYLK Format:

    • Go to File > Save As.
    • Choose a location where you want to save the repaired copy.
    • In the Save as type dropdown menu, select Symbolic Link (. slk).
    • Click Save.

    3. Close and Reopen the SLK File:

    • Close the current Excel window.
    • Locate the saved . slk file and open it in Excel again.

    4. Save the File Back to XLSX Format:

    • Once the SLK file opens and displays your data, go to File > Save As.
    • Choose Excel Workbook (*. xlsx) as the format.
    • Save the file with a new name.

     

    This process often helps repair Excel file because saving as an SLK format can remove certain types of corruption or formatting issues. When you open the file again in the usual Excel format, it might contain the correct data and be free of the previous damage.

    Important Notes:

    The SLK format primarily supports data and some formatting, but not complex formulas or macros.

    Always work on copies of your files to prevent further data loss.

  • Zevam's avatar
    Zevam
    Iron Contributor

    To use the "Restore Previous Version" feature to help repair Excel file on your Windows PC.

    How to Use Restore Previous Version to Repair Excel File:

    1. Locate the Excel file:

    Find the file you want to repair in File Explorer.

    2. Right-click on the file:

    Select Properties from the context menu.

    3. Access Previous Versions tab:

    In the Properties window, click on the Previous Versions tab.

    Windows will display a list of available previous versions of the file, based on restore points or File History backups.

    4. Select a version:

    Choose the most recent previous version that you believe is intact.

    5. Restore or open:

    You can click Restore to replace the current file with the previous version.

    Alternatively, click Open to view the previous version before restoring, to ensure it contains the data you need.

    6. Save the repaired Excel file:

    If you open the previous version, save it with a new name to keep a backup, thus effectively repairing the Excel file.

  • Mustafoan's avatar
    Mustafoan
    Brass Contributor

    How to repair a damaged excel file? When Excel crashes unexpectedly, it may leave behind temporary backup files.

    Steps:

    1. Open File Explorer and navigate to the appropriate folder based on your Windows version :

      Windows 10/11: C:\Users\[YourUserName]\AppData\Local\Microsoft\Office\UnsavedFiles

      Windows 7/8: C:\Users\[YourUserName]\AppData\Roaming\Microsoft\Excel

    2. Look for files with . tmp or . asd extensions .

    3. Copy any promising files to your desktop and rename the extension to . xlsx or . xls.

    4. Try opening them with Excel.

    Note: You can also access this via Excel: File > Open > Recent > Recover Unsaved Workbooks

    Recovering from temporary files is a handy method to repair Excel file when the original is corrupted or inaccessible. This approach can often recover recent versions or unsaved changes of your Excel data.

    Always back up your original corrupted file before doing repair Excel file. Enable AutoSave and AutoRecover in Excel (File > Options > Save) to prevent future data loss. Avoid working on critical files from removable drives without safely ejecting them .

  • Eaopwer's avatar
    Eaopwer
    Bronze Contributor

    When an Excel workbook suffers from a corrupted internal structure, the damage typically lies not in the raw data but in the underlying XML components that define styles, charts, pivot caches, formulas, or embedded objects. These elements can become corrupted due to abrupt closures, version incompatibilities, or excessive complexity, leaving the file unopenable or displaying errors even though the core data may remain intact. Addressing this requires a methodical approach to either repair or bypass the damaged structural components.

    How to repair an excel file

    Step 1: Create a backup copy of the corrupted file before attempting any repairs to avoid irreversible data loss.

    Step 2: Go to File > Open, select the file, click the dropdown arrow next to the Open button, and choose Open and Repair. When prompted, select Repair to let Excel attempt automatic structural fixes; if that fails, choose Extract Data to recover values and formulas while discarding potentially damaged elements like charts or pivot caches.

    Step 3: If the file opens partially, immediately save it as an Excel Binary Workbook (.xlsb) or a strict Open XML (.xlsx) format to strip away problematic metadata, then re-save back to the standard format.

    Step 4: For advanced excel repair, rename the file extension from .xlsx to .zip, extract the contents, and navigate to the xl folder. Delete or replace suspect XML files (such as styles.xml, pivotCache, or charts subfolders) using a text editor or by importing into a clean workbook, then re-zip the contents and rename back to .xlsx.

    By systematically using Excel's built-in repair tools, converting file formats to bypass damaged metadata, or manually editing the underlying XML structure via the zip method, you can often recover the majority of your data. This is the most recommended trick for repairing a damaged or broken excel file.

  • Iraion's avatar
    Iraion
    Copper Contributor

    If your Excel file is damaged and you want to repair Excel file, here are some effective options you can try using Libre Office Calc. Which can be a helpful step if you are trying to repair Excel file on a Windows PC. While Libre Office Calc isn't specifically designed as a repair tool for corrupted Excel files, it can sometimes open and recover data from files that Excel itself cannot open due to corruption. Here's how it can assist:

    1. Open the corrupted Excel file in Libre Office Calc: Launch Libre Office Calc and try to open the problematic Excel file. If the file is only mildly corrupted, Calc might be able to read and display the data correctly.

    2. Save the file in a different format: If the file opens successfully, save it as an Excel file (.xlsx or .xls) again. This can sometimes repair minor issues within the file structure.

    3. Use Libre Office's recovery features: Although Libre Office doesn't have a dedicated repair tool, its ability to open and interpret various file formats sometimes helps recover data that Excel cannot.

    4. Alternative export options: You can also copy the recovered data into a new spreadsheet and save it afresh, which can help in repairing Excel file issues.

     

    Important note: If the Excel file is severely corrupted, Libre Office Calc might not be able to open it. In such cases, specialized Excel repair tools or the "Open and Repair" feature in Excel itself may be more effective.

  • Stellop's avatar
    Stellop
    Iron Contributor

    The Excel file may have become damaged due to an interruption while saving—such as a sudden power outage, system crash, or forced closure of Excel. Similarly, transferring the file via unstable networks, faulty USB drives, or email attachments that weren’t fully downloaded can corrupt the internal structure.

    To fix repair damaged excel file, try using Excel’s built-in Open and Repair feature: go to File > Open, select the file, click the arrow next to the Open button, and choose Open and Repair.

    Sometimes, third-party add-ins, macros, or links to external data sources can cause instability, especially if the file was created in an older Excel version or imported from another software. Corruption may also occur if the file is stored on a network drive with frequent sync errors.

    As a fix, open Excel in Safe Mode (hold Ctrl while launching Excel) to disable add-ins, then try opening the file. If successful, save it as a new file under a different name.