How to Check Encoding of Excel File (With Easy Steps)

In this article, I will show you how to check the encoding of an Excel file. As we use Microsoft Excel regularly, we may need to check the underlying encoding of those Excel files. Knowing the encoding format of an Excel file allows us to have a deeper understanding of how Excel stores its data.


How to Check Encoding of Excel File: Step-by-Step Procedures

In this section, I will demonstrate how to check the encoding of an Excel file with 5 easy steps. To check the encoding of an Excel file, we need to see the file in XML format. An Excel file is actually a compacted form of multiple XML files that document every component and characteristic of that file in detail. In fact, an Excel file (.xlsx) has a folder structure and these folders have different files in them. These folders are compressed in ZIP format by Excel and then given the Excel file extension (.xlsx). To check the encoding of the file, we have to unzip the file first. To know more about the checking process in detail, follow the steps below:


Step 1: Changing the File Extension of the Excel File

  • First, we will rename the file extension of the Excel file as zip. Select the Excel file in File Manager for which you want to check the encoding and select the Rename option.

how to check encoding of excel file

  • Change the extension from .xlsx to .zip.

This converts the Excel file into a compressed zip file.


Step 2: Open the Zip File in Windows Explorer

  • Now, we have to open the newly converted .zip file in Windows Explorer which is the default software for opening a compressed file.
  • Select the file > Right-click on the mouse > Click on Open with > Windows Explorer.

  • Windows Explorer will open the zipped file.

how to check encoding of excel file


Step 3: Opening the Worksheets Folder

  • Go inside the xl folder.
  • From there, go to the worksheets folder.

how to check encoding of excel file

  • We will see separate XML files for every sheet.

how to check encoding of excel file


Step 4: Opening the XML Files in Notepad

  • Open the XML files in Notepad to check the encoding of the Excel file.
  • Select the sheet file you want to open and left-click on the mouse two times.
  • A window will open up asking how we want to open the file. Choose the Notepad.

how to check encoding of excel file


Step 5: Observing the First Line of the XML File

  • After opening the file in Notepad, we need to look at the first line of the code.

how to check encoding of excel file

  • Here, we can see that the file is encoded in UTF-8.
  • Similarly, we can check other sheets encoding.
  • After checking the encoding, we need to rename the file extension to .xlsx.

Read More: How to Encode Data in Excel


How to Change the Encoding of an Excel File

Sometimes we may find that some words in Excel are not showing properly. There are various reasons behind this problem but the major reason is the incorrect encoding of Excel files. In this section, I will show how to change the encoding of an Excel file.

Steps:

  • Go to the File tab.

  • In the File tab, click on Save As.

How Do I Change the Encoding of an Excel File

  • Choose the destination and formatting of the file.

How Do I Change the Encoding of an Excel File

  • On the Save As dialogue box, click on.
  • Choose Web Options from the Tools drop-down.

  • On the Web Options dialogue box, choose the Unicode (UTF-8) option from the dropdown menu under Save this document as.
  • Then click OK.

How Do I Change the Encoding of an Excel File

  • Save the file by clicking on Save.

How Do I Change the Encoding of an Excel File

Now, check if the file is displaying all the words properly or not. If this type of encoding doesn’t work, you have to try the other ones in a similar process until you get the desired result.

Read More: How to Apply UTF 8 Encoding on CSV File in Excel


Things to Remember

  • You can use any 3rd party software apart from Windows Explorer to open the zip file.

Download Practice Workbook

Download this practice workbook to exercise while you are reading this article.


Conclusion

That is the end of this article regarding how to check the encoding of an Excel file. If you find this article helpful, please share this with your friends. Moreover, do let us know if you have any further queries. Finally, please visit our website for more exciting articles on Excel.


Related Articles


<< Go Back to Excel Encoding | Excel Files | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Aniruddah Alam
Aniruddah Alam

Md. Aniruddah Alam, a graduate of Bangladesh University of Engineering & Technology, Dhaka, holds a BSc.Engg in Naval Architecture & Marine Engineering. Joining Softeko in August 2022 as an Excel and VBA content developer, he has authored 90+ articles, covering fundamental to advanced Excel topics. He actively develops VBA codes for Excel automation and offers solutions in the Exceldemy Forum. Beyond work, he finds leisure in reading books, and taking relaxing walks, showcasing well-rounded blend of professional and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo