Data Import & Export

How to Import XML Files into Excel for Mac 2016 or 2019

John WilsonJohn Wilson Nov 20, 2026 869 views

Question details

Import data from an XML file into Excel for Mac 2016 or 2019.

How to Import XML Files 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.
Before you start

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.

Solution 1Recommended

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.

1
Check the Excel version

Select Excel > About Excel and check whether the version is 16.31 or later.

2
Choose the import command

Open a workbook, select the Data tab, and choose From Text.

3
Select the XML file

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.

Check your version and try importing the XML as text
If the file cannot be selected: If From Text does not accept the XML file or displays only raw tags, convert the data to CSV first. Do not assume this command provides XML mapping.
Free Microsoft Office alternative

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.

Open and review CSV data converted from XMLCompatible with Microsoft Excel XLS and XLSX formatsFamiliar spreadsheet interface for everyday editingFree and lightweight office suite
microsoft office alternative - wps office

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.