How to open .XLSX files on Linux
To open .XLSX files on Linux, open with LibreOffice Calc by right-clicking and selecting 'Open with'.
Step-by-step instructions
- Open with LibreOffice Calc by right-clicking and selecting 'Open with'.
- Ensure locale settings match for accurate data representation.
Recommended software
- LibreOffice Calc (free)
- OnlyOffice Desktop Editors (free)
Common issues
Formulas return errors
This can occur due to different locale settings or unsupported functions.
- Verify the locale settings in your application.
- Re-enter the formulas manually if necessary.
File won't open
This might happen if the file is corrupted or the application is outdated.
- Try opening the file in another application like Google Sheets.
- Check for updates for your spreadsheet software.
"We found a problem with some content in file.xlsx. Do you want us to try to recover as much as we can?"
Excel shows this when parts of the workbook, such as a sheet, formula or style, are damaged or created by a tool that wrote invalid XML.
- Click "Yes" and save the recovered workbook under a new name; Excel lists what it repaired.
- Alternatively open it via File → Open → Browse and use "Open and Repair".
- Try LibreOffice Calc or Excel for the web, which are sometimes more tolerant.
- If the file came from an export or script, export it again, for example as CSV.
"Excel cannot open the file because the file format or file extension is not valid"
The extension says .xlsx, but the content is something else, such as a renamed .xls, CSV or HTML export, or the file is corrupt.
- Make a copy and try changing the extension to .xls or .csv, then open it again.
- Open the file in a text editor: if you see readable text or HTML tags it is not a real .xlsx file.
- Use our header analyzer to check what the file really is.
Still can’t open your .XLSX file?
Repair a damaged .XLSX file
If the file opens with errors or not at all, a dedicated repair tool can often rebuild it. Work on a copy and keep the original file untouched.
Recover a deleted or lost .XLSX file
If the file was deleted by mistake or the drive was formatted, data recovery software may be able to get it back. Stop writing to that drive right away, because new data can overwrite what you want to recover.
Windows software that recovers deleted or lost files from PCs and external drives such as HDDs, SSDs, USB drives and memory cards, after deletion, formatting or a crash.
Wondershare RecoveritWindows and Mac software that recovers deleted or lost files from computers and external drives such as HDDs, SSDs, USB drives and SD cards.
We may earn a commission when you use affiliate links. This supports our free file extension guides.
Security note
Be cautious with external links and data connections.
