In this blog post, a free solution for converting Excel to JSON is presented.
Excel-to-JSON add-in
Excel to JSON is a Microsoft Excel add-in which can convert Excel to JSON.
Works with
- Excel 2016 or higher, or
- Office 365, or
- Excel Online
Advantage
- Free
- No download
- No installation
- Load only when needed
- Load within Excel
- No need coding in Python/JavaScript (for example)
Excel-to-JSON add-in
How to load this add-in
Documentation
Video guide
Steps
- Go to Excel 2016, Office365 or Excel Online.
- Insert Tab > My Add-ins.
- In the popup window, go to Office Store
- Search “Excel-to-JSON”.
- Add this add-in
- After loading, go to the “Excel-to-JSON” tab.
- Now you are ready to use this add-in.
How to use this add-in
Documentation
Video guide
Example
Example Excel sheet — Source
Name | Age | Company |
---|---|---|
David | 27 | WTSolutions |
Ton | 26 | WTSolutions |
Kitty | 30 | Microsoft |
Linda | 30 | Microsoft |
Joe | 40 | Github |
Example JSON — Output
[
{
"Name": "David",
"Age": 27,
"Company": "WTSolutions"
},
{
"Name": "Ton",
"Age": 26,
"Company": "WTSolutions"
},
{
"Name": "Kitty",
"Age": 30,
"Company": "Microsoft"
},
{
"Name": "Linda",
"Age": 30,
"Company": "Microsoft"
},
{
"Name": "Joe",
"Age": 40,
"Company": "Github"
}
]
Enter fullscreen mode
Exit fullscreen mode
The users have different requirements, e.g., convert the excel data to JSON format. It needs to do the mapping of Excel worksheet columns to object keys. An Excel to JSON converter helps to convert the .xls file data to .JSON file format.
These Excel files can contain text, charts, graphs, formatting, functions, and more data.
There is no predefined method in Excel to convert the Excel data to JSON. You can either use online Excel to JSON conversion software or download an add-in from the Microsoft store for this task to get done.
Why Excel to JSON?
Excel files are heavy weighted files that may contain text, charts, graphs, formatting, functions, and more data.
While the JSON files are light-weighted text-based documents. It stores the data in a simple data structure. Hence, JSON files can be opened on any text software like Notepad or Wordpad.
There are several tools available to convert the Excel data to JSON.
- Altova MapForce
- White Town XLS to JSON Converter
- Oxygen JSON Editor
- WTSolution Excel to JSON Converter
Here, we will brief about these tools with their download links.
Tip: WTSolution Excel to JSON Converter is also known as Excel to JSON add-in. Microsoft offers this tool.
For the last tool — Excel to JSON, we will also show you the steps to download and use this software.
Altova MapForce
Altova MapForce is a data mapping and conversion tool as well. It is a useful software to convert various sets of data. Using this tool, you can convert the Excel data to JSON, XML to JSON, and vice versa.
IMAGE
Additionally, this tool also allows the users to convert the JSON to CSV, EDI, Google protocol buffer, and more. This tool is easy to use as it provides a drag and drop interface. It also supports advanced data processing.
Altova MapForce is not free software but comes with 30 days of a free trial. Download the Altova MapForce tool from the following link.
White Town xls to JSON converter
This software is an xls to JSON converter. As the name implies, it allows the users to convert the Excel data into JSON format. However, it only allows the Excel data to be changed into JSON format. This software supports both formats (.xls and .xlsx formats) of Excel.
IMAGE
One of the biggest advantages of using this software, it is free of cost. Although you can also buy the personal or business license of it. It is very easy to use that is why it is very popular, mostly for those who transfer their data online.
You can download the White Town xls to JSON converter tool from the following link.
Oxygen JSON Editor
Oxygen JSON Editor is software used to convert the Excel file data to JSON format by mapping the Excel columns to JSON object key. This software is complex software than the other ones we have described above.
As Oxygen JSON Editor is a complex software, it has complex features too. Complex features, such as — structure validation, indent, format, and content completion. Additionally, this software also allows us to convert the XML document to JSON format.
IMAGE
Oxygen JSON Editor works differently than the other Excel to JSON converters. It uses XSLT stylesheet template for the conversion. Most professionals prefer this software to convert their data. It is a paid software whose personal, business, and academic versions are available on its official website.
Check out its official site to download the Oxygen JSON Editor.
WTSolution Excel to JSON converter
This one is the last Excel to JSON converter of this chapter by using which one can perform Excel to JSON conversion on their data. It is a simple application for this task to perform. This software supports two types of conversions on Excel data: Row and Nested.
You have also listened its name as Excel to JSON add-in. Microsoft offers this add-in named Excel to JSON that helps the users to convert their Excel data into JSON format. Now, let’s know something about Excel to JSON add-in and also see the downloading steps for it.
Excel to JSON add-in
Excel to JSON is an add-in offered by Microsoft to convert the Excel sheet data to JSON format. When the data is converted to the JSON format, Excel sheet columns are changed to object keys in JSON. It costs no charge from the user to download and use it.
You can download this add-in from the Office store.
Requirement
Excel to JSON add-in will work only on Excel 2013 or higher versions. Hence, your Excel version must be 2013 or higher.
Limitation
This add-in has a limitation.
It can convert the selected Excel data to JSON format.
Currently, two types of conversions are supported by this add-in.
- Row
- Nested
Row conversion
In row type conversion, the first row is treated as header, and rest of the rows are interpreted as data.
Nested conversion
In nested type conversion, you can define a JSON schema. This add-in will do the conversion accordingly, the schema you have provided.
Download add-in
Excel to JSON add-in is available in Office store; you can download it from there. For step by steps learning, follow this chapter below —
Step 1: Download the Excel to JSON add-in from the following link.
Step 2: A webpage of the Office store will open, where click on the Get it now button.
Step 3: Before start downloading, it will ask you to log in to your Microsoft account with valid credentials.
If you do not have a Microsoft account, signup for free to create new account.
Step 4: When you login to your Microsoft account. It will ask for some basic information required by this app before download. Here, provide these details and click the Continue button.
Tip: The fields that are marked with * sign are required fields and others are optional.
Step 5: Now, click the Open in Excel button here.
If you don’t have any MS Excel 2013 or above version downloaded in your system, you can go for office online. By clicking on this link.
We have clicked on the Open in Excel.
Step 6: On this popup, leave the checkbox unmarked and click on Open Excel here.
Step 7: Your Excel will be opened on your system, but it requires an internet connection. If it is not available, you may get this type of warning error.
Step 8: When you click on OK, it will show you one more panel that shows you some reason why this error can occur. This error can be because of the following reasons.
So, connect your system with the internet and close the currently opened Excel workbook.
Step 9: Follow Step 5 and step 6 again, where click on the Open the Excel button.
This time your system is connected to the internet. So, it will not show any error and interruption while installing the add-in.
Step 10: An interface on the Excel file will open like this with Excel to JSON add-in. Now, add this add-in to your Excel tab by clicking on Trust this add-in button present on the right panel.
Step 11: Excel to JSON add-in is successfully added to the Excel ribbon as a tab in the end. See here —
Step 12: Your Excel to JSON add-in is ready to launch. It is available inside the Excel-to-JSON tab by the name Launch Excel-to-JSON button.
Note: The Excel file, which is currently opened, is read-only that contains a few instructions about this tool. Hence, open the targeted file first, which you want to convert Excel to JSON.
Step 13: Prepare a new Excel sheet or open that one whose data you want to change in format. We have opened an existing file of person details and click on the Launch Excel-to-JSON button.
Step 14: Once you click on it, you may get this error. Ignore it and click OK to move forward.
Tip: While using this add-in to convert your data, your system must be connected to the internet. Otherwise, you may face problems.
Step 15: Now, select at least first two row’s data or all where first one is considered as header and the other as data. Then click on GO in the right panel.
Step 16: You will see that the selected data is converted into JSON format and available below the Go button.
Step 17: Copy this data from here, paste this JSON data into a file and save it. Hence, click on the Copy to clipboard button here.
Step 18: JSON data is successfully copied to the clipboard.
Step 19: Now, paste this copied clipboard data to a Word file and save it. The copied data will look like as shown below —
Excel to JSON using VBA code editor
Besides using all these tools, you can use the in-built feature of Excel (VBA code editor) to convert the Excel data to JSON format. Make a code for it and execute the code; it will do the mapping of Excel columns to JSON object keys and convert the data into JSON.
If you are comfortable in doing coding, then it’s a good way for you. Thus, you do not need to explicitly download the above discussed tools to convert your Excel data to JSON format. While you can do it without downloading any software on your system using Excel VBA code Editor.
Tip: Your Excel data must have column names because the first row is always considered as a header.
VBA Code
Following is the complete code for the conversion of the Excel file data to JSON format. Copy this following code and paste this to your respective VBA code editor.
In this VBA code, we have defined a function named ExcelToJSON that will later be used in an Excel file for converting Excel data to JSON format. Let’s see how it will execute.
Syntax
Now, go back to the Excel file and write the following ROUND() formula in an Excel cell where you want to place the converted JSON result. For example,
=ExcelToJSON(A1:F3)
Currently, we are converting the first two Excel rows data into JSON format only.
Press the Enter key and get the result and see that the data is successfully converted into JSON form. Similarly, you can use this function for more conversion.
For the detailed description of this code, see our next tutorial, where we have explained this code and variables created and used in it.
by Milan Stanojevic
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He’s a PC enthusiast and he… read more
Updated on February 19, 2023
XINSTALL BY CLICKING THE DOWNLOAD FILE
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:
- Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
- Click Start Scan to find Windows issues that could be causing PC problems.
- Click Repair All to fix issues affecting your computer’s security and performance
- Restoro has been downloaded by 0 readers this month.
An Excel to JSON converter software is used to change the .xls file (or other format supported by Microsoft Excel) extension to .JSON file extension.
An XLS file is usually a spreadsheet created by Microsoft Excel. These files can store charts, formatting and mathematical functions.
On the other hand, a JSON file is a light-weight, text-based document that stores simple data structures in JavaScript Object Notation (JSON) format.
So, these ones can be opened with a simple Notepad or Wordpad on a Windows 10 PC.
Still, to convert an Excel file to a JSON file is another matter that requires software which you can choose from the list below.
Altova MapForce
This software is both a data mapping and a conversion tool. It is easy to use by anyone, but is still a powerful tool which allows the user to convert various sets of data.
With Altova MapForce you not only can convert XLS or XML to JSON files, but you can also do the opposite. Moreover, you can convert JSON to/from EDI, CSV, Google protocol buffers, various databases and more.
As we said above, it is easy to use software. You simply drag and drop data across the program’s interface and that’s it. It’s also worth mentioning that the application supports advanced data processing.
The software offers support for JSON, JSON5, and JSON Schema and it has an instant data conversion.
It doesn’t come free, but you can download a 30-day trial version.
- Check Altova MapForce from the official website
White Town XLS to JSON Converter
This is a straightforward software that allows you to convert the Excel files to JSON format.
Still, it has some interesting features, such as the ability to let you choose the format of JSON: Compact, Pretty Printed or a combination of both.
Also, the program supports .xls format, as well as the .xlsx format.
Because of its simplicity, this is a very popular product for those who transfer their data online, allowing them to do this quickly and easily.
Another useful feature for those users limited by time is the command line interface. You can run the program with the relevant parameters in a batch mode or from Windows scheduler, without the need to interfere with it.
The software has a free version, but you can also buy a personal or business license.
- Get White Town XLS to JSON Converter from the official website
You lost your Microsoft Excel password? Recover it with these tools!
Oxygen JSON Editor
Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.
JSON editor from Oxygen is a more complex software than the simple converters described above.
With it, you can work with JSON documents, and it provides standard editing capabilities such as copy/paste, find/replace, undo/redo, and drag/drop.
Also, it has more complex features, like structure validation, content completion, format, and indent.
Still, it can be used for converting JSON documents to XML format, that can be used as Excel files.
Here are 4 ways to open Excel worksheets in separate windows at the same time
The way in which it converts the formats are not so straightforward as those previously discussed. The program uses XSLT stylesheet templates for that.
This software is more for professionals and can be bought from the official website. It includes Academic, Personal and Business version, each with its own price.
- Check Oxygen JSON Editor now
WTSolutions Excel to JSON Converter
This is a very simple application that will help you convert Excel data to JSON format.
There are two types of conversion supported: row and nested.
In the row type of conversion, the first row is interpreted as the header, and the following rows will be considered data.
In the nested type of conversion, you can provide the program with a JSON schema, and the converter will do the rest of the work.
The program can also be an add-in for various versions of Microsoft Excel, such as Excel 2013 SP1+, Excel 2016+, Excel 2016 for Mac, and Excel Online.
When it is used like this, the program can send data over the Internet and can read and modify your documents.
This software can be bought from the Microsoft AppSource or you can try a free trial.
- Check WTSolutions Excel to JSON Converter now
READ ALSO:
- What software can I use to fix corrupted Excel documents?
- How to fix corrupted Excel cells in 4 quick steps
Still having issues? Fix them with this tool:
SPONSORED
If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.
Newsletter
-
Это программное обеспечение является одновременно картографированием данных и инструментом преобразования. Его легко использовать любому, но он все еще является мощным инструментом, который позволяет пользователю преобразовывать различные наборы данных.
С Altova MapForce вы можете не только конвертировать XLS или XML в файлы JSON, но вы также можете делать и обратное. Кроме того, вы можете конвертировать JSON в / из EDI, CSV, буферы протокола Google, различные базы данных и многое другое.
Как мы уже говорили выше, это простое в использовании программное обеспечение. Вы просто перетаскиваете данные через интерфейс программы и все. Также стоит отметить, что приложение поддерживает расширенную обработку данных.
Программное обеспечение поддерживает JSON, JSON5 и JSON Schema и обеспечивает мгновенное преобразование данных.
Это не бесплатно, но вы можете скачать 30-дневную пробную версию.
- Проверьте Altova MapForce с официального сайта
-
2
Конвертер White Town XLS в JSON
Это простое программное обеспечение, которое позволяет конвертировать файлы Excel в формат JSON.
Тем не менее, он обладает некоторыми интересными функциями, такими как возможность выбора формата JSON: Compact, Pretty Printed или их комбинация.
Также программа поддерживает формат .xls, а также формат .xlsx.
Из-за своей простоты, это очень популярный продукт для тех, кто передает свои данные онлайн, что позволяет им делать это быстро и легко.
Еще одной полезной функцией для тех пользователей, которые ограничены по времени, является интерфейс командной строки. Вы можете запустить программу с соответствующими параметрами в пакетном режиме или из планировщика Windows, без необходимости вмешиваться в нее.
Программное обеспечение имеет бесплатную версию, но вы также можете купить личную или бизнес-лицензию.
- Получить Конвертер White Town XLS в JSON с официального сайта
Вы потеряли свой пароль Microsoft Excel? Восстановите это с помощью этих инструментов!
-
3
Кислородный редактор JSON
JSON-редактор от Oxygen — более сложное программное обеспечение, чем простые преобразователи, описанные выше.
С его помощью вы можете работать с документами JSON, и он предоставляет стандартные возможности редактирования, такие как копирование / вставка, поиск / замена, отмена / повтор и перетаскивание.
Кроме того, он имеет более сложные функции, такие как проверка структуры, завершение содержимого, формат и отступ.
Тем не менее, его можно использовать для преобразования документов JSON в формат XML, который можно использовать как файлы Excel.
Вот 4 способа одновременно открыть листы Excel в разных окнах
Способ преобразования форматов не так прост, как обсуждалось ранее. Для этого программа использует шаблоны стилей XSLT.
Это программное обеспечение больше для профессионалов и может быть куплено с официального сайта. Он включает в себя академическую, личную и деловую версии, каждая со своей ценой.
- Проверьте Oxygen JSON Editor сейчас
-
4
Конвертер WTSolutions Excel в JSON
Это очень простое приложение, которое поможет вам конвертировать данные Excel в формат JSON.
Поддерживаются два типа преобразования: рядное и вложенное.
В типе преобразования строки первая строка интерпретируется как заголовок, а следующие строки будут считаться данными.
В случае вложенного типа преобразования вы можете предоставить программе схему JSON, и преобразователь выполнит остальную работу.
Программа также может быть надстройкой для различных версий Microsoft Excel, таких как Excel 2013 SP1 +, Excel 2016+, Excel 2016 для Mac и Excel Online.
Когда это используется таким образом, программа может отправлять данные через Интернет и может читать и изменять ваши документы.
Это программное обеспечение можно купить в Microsoft AppSource или попробовать бесплатную пробную версию.
- Проверьте WTSolutions Excel в JSON Converter сейчас
ЧИТАЙТЕ ТАКЖЕ:
- Какое программное обеспечение можно использовать для исправления поврежденных документов Excel?
- Как исправить поврежденные ячейки Excel за 4 быстрых шага