How can I view the XML form of an Excel *.xlsx file?
3 Answers
XLSX files are just ZIP files, so unzip them using your favourite ZIP tool.
3 Comments
pmor
What about XLS files?
RB.
XLS files are not XML-based, so it's not possible to view the XML form of them, because no such form exists. They are a proprietary binary format.
pmor
For all who may be interested: here is a description of in Microsoft Office Excel 97-2003 Binary File Format (.xls, BIFF8, BIFF5).
You can do this easily using the tar command:
tar -xf pathtofile\excel_file.xlsx
This works on Windows 10 and Linux
1 Comment
a693673
If you are on windows, 7-ziip does a very good job of this from explorer with no need to get open up a git-bash terminal or windows console. If it's installed, right click the xlsx file and select from the 7-zip options. Just, FYI for any readers who come across your solution.