How to Open Excel on Linux: Web, Apps, and Workarounds

How-to basics · Updated November 20, 2026

The quickest way to open an Excel workbook on Linux is to use Excel for the web in a browser: sign in at Microsoft365.com, open Excel, and upload or select your file. If you want a spreadsheet app installed on your computer, LibreOffice Calc can open many Excel files. Microsoft does not provide a native desktop version of Excel for Linux, so Windows Excel requires a Windows computer or virtual machine.

Which option is best depends on whether you need to edit a workbook, use advanced Excel features, or simply view its contents. The steps below cover the online option, LibreOffice, and alternatives for people who need the Windows desktop app.

What You’ll Need

  • For Excel for the web: a current web browser, an internet connection, and a Microsoft account. A work or school account may have different access based on its license.
  • For LibreOffice Calc: a Linux computer with permission to install software, or access to a software center. You can install Calc without a Microsoft account.
  • For an existing workbook: the file saved on your computer or in cloud storage. The .xlsx format is usually the best choice for keeping an Excel workbook’s sheets and formatting together.
  • For Windows desktop Excel: a Windows installation, such as on a separate computer or in a virtual machine, plus the required Windows and Microsoft 365 or Office license.

Step-by-Step

  1. Choose the option that fits your task. Use Excel for the web if you want Microsoft’s interface and need to collaborate or work with files stored in OneDrive. Choose LibreOffice Calc for offline use, or when you want an application installed on Linux. If you depend on features that are exclusive to the Windows desktop app, plan to use Excel on Windows rather than assuming a Linux workaround will behave identically.
  2. Open Excel for the web in your browser. Start Firefox, Chrome, or another supported, up-to-date browser and go to Microsoft365.com. Sign in with your Microsoft account. On the Microsoft 365 home page, select Excel. If the page asks you to choose a plan or account, check that you are signing in with the account that has access to the workbook or Microsoft 365 service you intend to use.
  3. Upload or select your workbook. If the file is already in OneDrive, open it from Excel’s recent files or your OneDrive file list. To use a file stored on your Linux computer, open OneDrive in the browser, choose Upload > Files, and select the workbook. When the upload finishes, select the file to open it in Excel for the web. If you only need a quick look, wait for the workbook to finish loading before judging whether the contents are missing.
  4. Review the workbook before editing. Check the sheet tabs, key formulas, charts, formatting, and any warnings shown when the file opens. Excel for the web can edit many .xlsx workbooks, but not every desktop feature is available in a browser. In particular, VBA macros do not run in Excel for the web. If Excel says a feature is unsupported or the workbook opens in a limited mode, keep the original unchanged and use a desktop-compatible route for important edits.
  5. Save and download a copy when needed. Changes to a workbook stored in OneDrive are generally saved there automatically; look for the save status before closing the tab. To keep a local copy, use Excel’s download or Save As options and choose to download a copy of the workbook. Check the downloaded file’s name and location in your browser’s downloads list. If you edit a shared file, confirm that you are changing the intended copy and that other collaborators can see your changes.
  6. Install LibreOffice Calc if you prefer a Linux app. Open your distribution’s software center, search for LibreOffice Calc or LibreOffice, and install it. The names of buttons and package listings vary by Linux distribution. On many desktops, you can then find Calc in the application menu by searching for “Calc” or “LibreOffice Calc.” If LibreOffice is already installed, skip the installation and open Calc from the menu.
  7. Open the Excel file in Calc. In Calc, use File > Open, browse to the workbook, select it, and choose Open. You can also open the file manager, locate the .xlsx file, and double-click it if Calc is the assigned application. Review any import or compatibility message. When you save, Calc may ask whether to keep the Excel format or use the OpenDocument format; choose the Excel format if the file must go back to someone using Excel.
  8. Use Windows Excel when exact desktop compatibility matters. If your workbook relies on complex macros, add-ins, or specialized Excel features, open it on a Windows PC or run a licensed Windows installation in a virtual machine on Linux. A virtual machine needs adequate memory and storage, and Windows setup and activation requirements still apply. Install Excel within Windows using the Microsoft account or installer associated with your license, then open the workbook there. Back up the workbook first, especially before changing a production or shared file.

Common Mistakes

  • Expecting a native Linux Excel installer. Microsoft does not offer the standard Windows desktop Excel application as a native Linux program. Searching for a Linux installer can lead to unofficial downloads; do not enter account details or install software from an untrusted source.
  • Assuming every workbook behaves the same in Calc. Calc opens many Excel workbooks, but differences in fonts, chart rendering, formulas, macros, and workbook controls can affect the result. A file opening successfully does not guarantee that every feature has transferred perfectly.
  • Overwriting the only copy. Compatibility conversions and edits can change how a workbook behaves. Keep an untouched original, particularly when a file contains business-critical calculations or macros.
  • Choosing CSV for a multi-sheet workbook. A CSV file stores plain tabular data for one sheet; it does not preserve the workbook’s other sheets, formulas as formulas in all cases, charts, or much of its formatting. Use .xlsx when you need a complete workbook.
  • Confusing a browser app with desktop Excel. Excel for the web is useful, but it is not a Linux installation of the Windows desktop program. Its available controls and features can differ, so check before relying on it for a specialized task.

Tips

  • Keep an original .xlsx copy. Before opening a workbook in another application, duplicate it or use a separate working copy. This makes it easy to return to the source if formatting or formulas change.
  • Test important features, not just the first sheet. Check formulas, named ranges, charts, data validation, external links, and print layout if the workbook uses them. For a shared template, compare the edited copy with the original before sending it back.
  • Use the browser option for collaboration. A workbook stored in OneDrive can be shared with collaborators, subject to account permissions. Confirm that the file is in the right OneDrive location and that you have edit access rather than view-only access.
  • Do not assume macros work outside desktop Excel. Excel for the web does not run VBA macros, and Calc’s macro support is not a drop-in replacement for Excel VBA. If a macro performs essential work, use Windows desktop Excel and test on a copy.
  • Keep Linux and browser software current. Updates can fix security issues and improve compatibility with websites and file types. Use your distribution’s normal update process and install browser updates from its trusted source.

Troubleshooting

  • The Excel page will not load or sign-in loops. Check your internet connection, allow cookies and JavaScript for Microsoft 365, and try a current browser version. If you use privacy extensions, temporarily disable them for the Microsoft site or try a private window. Make sure you are not mixing a personal and work account during sign-in.
  • The uploaded workbook does not appear. Check OneDrive’s upload status and confirm that you uploaded to the account currently signed in. Use the OneDrive file list to search for the filename. If the upload failed, retry with a stable connection and check that the file is not open in a way that prevents access.
  • Calc is missing from the application menu. Confirm that LibreOffice is installed using your distribution’s software center, then search again for “Calc.” If it is installed but the file opens in another program, right-click the workbook in the file manager and choose the option to open it with LibreOffice Calc.
  • The workbook looks different or shows an error in Calc. Reopen the untouched copy in Excel for the web or desktop Excel and compare the affected sheet. If the file uses a feature Calc does not support exactly, perform the final edit in Excel. Avoid saving over the original until you have confirmed the result.
  • A macro or add-in does not work. Check whether you are using Excel for the web or Calc; neither is a substitute for the Windows desktop environment for every VBA macro or Excel add-in. Open the workbook in licensed Windows desktop Excel, enable content only when you trust the workbook’s source, and consult the workbook’s owner if a required add-in is unavailable.

Frequently Asked Questions

Can I install Microsoft Excel directly on Linux?
No native Linux desktop release of Microsoft Excel is provided by Microsoft. You can use Excel for the web in a browser, use a compatible spreadsheet app such as LibreOffice Calc, or run Windows with Excel in a suitable environment.

Can I use Excel for free on Linux?
Excel for the web has features available with a Microsoft account, but access to particular features and services may depend on the account or license. Check the options shown after signing in; a Microsoft 365 subscription may be needed for other capabilities.

Can LibreOffice open .xlsx files?
Yes. LibreOffice Calc can open and edit many .xlsx workbooks. Complex formulas, macros, charts, or formatting may not behave exactly as they do in Excel, so check the results before relying on a converted or edited file.

Can I run Excel macros on Linux?
Excel for the web does not run VBA macros, and LibreOffice does not provide complete compatibility with Excel VBA. For a workbook that depends on macros, the most dependable option is usually desktop Excel running in Windows.

Will Wine run Microsoft Excel?
Some users try Wine or other compatibility layers, but results depend on the Excel version, dependencies, and Linux setup, and Microsoft does not provide a standard supported Linux desktop installation through Wine. It is a less predictable choice than Excel for the web, Calc, or a Windows environment.

Which option should I choose for an .xlsx file?
Choose Excel for the web for convenient access and collaboration, Calc for a free local app and general spreadsheet work, and Windows desktop Excel when you need closer compatibility with advanced Excel features. Keep a backup whichever route you choose.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.