How to Import XML Files into Excel for Mac 2016 or 2019
Question details
Import data from an XML file into Excel for Mac 2016 or 2019.

- Product
- Microsoft Excel for Mac 2016 and 2019
- Device & OS
- macOS
- Scenario
- A user wants to bring XML data into an Excel workbook on a Mac.
- Observed behavior
- XML import options depend on the Excel version, and Excel 2016 for Mac does not offer the same XML import support as later versions.
In Excel, select Excel > About Excel and note the version number. Check whether you need the XML data arranged into columns or only need to view the raw XML text.
Check your version and try importing the XML as text
Use this method to check whether your Excel for Mac installation can open the XML file through its text import option.
XML import availability is reported for Excel for Mac version 16.31 and later, including supported Excel 2019 and Microsoft 365 installations. Excel 2016 for Mac does not have the same XML import support.
Importing an XML file through From Text may show raw XML rather than map its elements into a table. The available file types and import options can vary by version.
Select Excel > About Excel and check whether the version is 16.31 or later.
Open a workbook, select the Data tab, and choose From Text.
In the file picker, select the XML file if it is available, then follow the import prompts. Review the result to see whether the data appears in usable columns.

Convert XML data to CSV before importing it
Use a CSV conversion when Excel cannot import the XML file directly or when you need data arranged in rows and columns.
Upgrade Excel 2016 for Mac to a newer version
Consider upgrading if you need the import options available in later Excel for Mac releases.
Work with converted XML data in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. After converting XML data to CSV, open it in WPS Spreadsheets and continue working with compatible Excel files for an easier transition.

Frequently Asked Questions
How do I check my Excel for Mac version?
Open Excel and select Excel > About Excel. The dialog shows the version number and edition.
Can Excel 2016 for Mac import XML directly?
Excel 2016 for Mac does not have the same XML import support as later versions. Convert the XML data to CSV, then use Data > From Text to import the CSV.
Why does my XML file appear as tags instead of columns?
From Text may read the file as plain text rather than map XML elements into a table. Convert the relevant elements to CSV and import that file through Data > From Text.
Does upgrading to Excel 2019 guarantee XML mapping?
No. Check the installed version under Excel > About Excel and test the available import options. Importing through From Text does not necessarily map XML elements into columns.




