81

How can I view the XML form of an Excel *.xlsx file?

0

3 Answers 3

153

XLSX files are just ZIP files, so unzip them using your favourite ZIP tool.

Sign up to request clarification or add additional context in comments.

3 Comments

What about XLS files?
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.
27

The following procedure worked for me:

  1. Change the extension of the file from .xlsx to .zip
  2. Unzip with winzip

Comments

6

You can do this easily using the tar command:

tar -xf pathtofile\excel_file.xlsx

This works on Windows 10 and Linux

1 Comment

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.