How To Import JSON To Excel (2024)

If you're looking to view JSON in Microsoft Excel, you've come to the right place! In this post we'll provide step-by-step instructions to view JSON in Excel. First, it's worth explaining why Excel can't simply open JSON like any other spreadsheet. JSON (JavaScript Object Notation) is a format type widely used in front- and back-end programming and databases, but it's not natively readable by Microsoft Excel. The JSON format is straightforward to work with, but often you may feel the need to access data in tabular form, or in other words use an Excel to JSON Maybe you are more comfortable with spreadsheets while working with data.

Whatever the case, you can easily convert JSON into a CSV file and open it in the spreadsheet software of your choice. So, here are the steps to import a JSON file into Excel. Let us dive straight in.

6 Steps: Import JSON In Excel

Want to automatically convert JSON to CSV for Excel online? Skip ahead.

MS Excel, as you know, is one of the most accessible spreadsheet software options in the world. It is readily available on most modern MS Windows devices and has an estimated 850 million users globally. If you're using Windows and MS Excel 2016 and newer versions, and want to import a JSON file follow these steps below. (If you are using MS Excel 2010 – 2013, skip to the next section.)

1. Open MS Excel

Open the Start Menu using Windows Keys or Clicking the Start Menu icon on your Task Bar. Search and open MS Excel.

2. Create New Workbook

Next, you need to create a blank spreadsheet. Once you have MS Excel’s welcome page in front of you, click on Blank Workbook in the New section. It will create a new spreadsheet for you to work with.

How To Import JSON To Excel (1)

3. Locate the Data Tab

Find and click on the Data tab in the Ribbon menu of MS Excel.

4. Import Data

When you click on the Data tab, it brings up several sections, and one of them is Get & Transform Data. In the section, Click on Get Data, select From File option and then select From JSON option.

How To Import JSON To Excel (2)

5. Select your JSON File

Clicking on From JSON option will bring up an import window. You have to select the drive or folder where your JSON file is located and select the file. Click on Import, and Excel will open the Power Query Editor window. Here, you have the option to choose the way you want data in JSON to appear in a spreadsheet.

6. Convert Data Into Table

At last, to convert JSON into a table, select the option Into Table. And then click Close & Load option in Home tab of Power Query Editor. That’s it. You have a JSON file in a tabular format open in MS Excel.

How To Import JSON To Excel (3)

Now all you have to do is open the File menu and save your spreadsheet. Optionally you can export the data as a CSV file.

Import JSON To MS Excel 2010 – 2013

The steps mentioned above will work on MS Excel 2016 and newer versions. If you are using MS Excel 2010 – 2013, follow the following steps to import JSON to Excel:

a. Open MS Excel from Start Menu.

b. Open New Spreadsheet.

c. In the Power Query tab, click From Other Sources and select Blank Query.

d. In the Query Editor, select Advanced Editor.

e. Enter your query string as given below.

Note: Replace “C:\Users\XYZ\Desktop\examplefile.json” with the path to your JSON file.

let Source = Json.Document(File.Contents(“C:\Users\XYZ\Desktop\examplefile.json”)), # “Converted to Table” = Record.ToTable(Source)in # “Converted to Table”

Limitations & Troubleshooting JSON in Excel

Flattening JSON Structure

JSON is a lightweight data-interchange format. It is easy to read and write and can be used in almost all programming languages, but it can be difficult to get a usable format imported into Excel. This is especially true if you're working with a highly complex file. As we've detailed above, there are ways to import JSON into Excel, but if you're unfamiliar with the data schema, and unsure how best to flatten a large JSON, you can be at a deadend. At Gigasheet we believe that a better approach is to use algorithms to aumatically convert JSON to CSV.

JSON & Excel's Max File Size

Like all spreadsheets in Excel, JSON imports are subject to Excel's row limits. Excel's maximum row limit is 1,048,576, and columns are limited to 16,384. If your JSON file is large, say more than a few megabytes, it's likely that Excel will crash. JSON is an ideal format for larger data sets that have a hierarchical structured relationship, but this structure also makes it more difficult to work with in Excel. If you're looking to get around Excel's max row limit, read ahead to learn how to convert JSON to Excel compatible formats online.

Convert JSON for Excel - Online

If you're struggling to get JSON imported to Excel, Gigasheet can help. You do not need to know the code or need to install any spreadsheet software to convert JSON files to CSV, which can easily be read by Excel. Gigasheet is a cloud-based big data spreadsheet web application, and it will automatically convert JSON to a tabular format.

Here is how:

1. Create a free account

If you do not have a Gigasheet account, you can create one for free here. It's free forever and we support files up to 1 GB, but you can upgrade to a paid plan for larger files.

2. Upload your JSON File

Click on "Upload," and you will get the option to locate your file. You can upload JSON files from your computer's local storage or cloud storage.

3. View online and export

Once the upload is complete, Gigasheet will automatically parse and flatten the JSON file and present it in the tabular format without requiring you to write any code or query. You can filter, sort, split columns, and more with the data.

To save the file as CSV, simply click the File option in the menu and export the file as a CSV.

How To Import JSON To Excel (4)

Why Use Gigasheet Convert JSON to CSV?

  • Comparing the processes above shows that using Gigasheet to convert JSON to CSV for Excel is much easier than the other two, especially if the file is large or if you aren't intimately familiar with the data structure. There are some other very significant advantages of using Gigasheet over other options...
  • First of all, Gigasheet is a web application that you can access from the web browser on your PC, laptop, and even a mobile device.
  • Gigasheet allows you to upload files from different sources - local storage or the cloud storage services like Google Drive, Dropbox, SFTP, and AWS S3.
  • Even though MS Excel is easily accessible on modern PCs, it cannot process more than 1,048,576 rows of data. Gigasheet, on the other hand, has no such constraints so you can process large multi-gigabyte JSON files.
  • Often JSON files are too large, and users compress them to ZIP format to save storage. Gigasheet, by default, supports ZIP format, so you can directly upload compressed JSON files without having to un-compress them first.
  • Gigasheet is a no-code big data worksheet. So, when working with big data in Gigasheet, you do not have to write a single line of code or set up a database.

To Conclude

There are ways to import your JSON files into Excel and work with data in tabular spreadsheet format. You can follow any of the processes that best fit your workflow. However, if you work with large JSON files with millions of rows of data, we think Gigasheet is the best way to convert them into CSVs which can then be used in Excel.

Gigasheet does what Excel can't. It's free to use, and offers much higher limits on size of files you can upload (we support up to 1 billion rows). Also, you do not have to write any code to process, define any JSON scheme and no database is required. Sign up today for free.

I am a seasoned professional with a comprehensive understanding of data management, particularly in the context of spreadsheet software such as Microsoft Excel. Over the years, I have actively engaged with diverse data formats, including JSON (JavaScript Object Notation), and have honed my expertise in converting and manipulating data for efficient use in Excel.

In the provided article on viewing JSON in Microsoft Excel, the author outlines a step-by-step guide for importing JSON files into Excel, emphasizing the importance of converting JSON to a CSV file for better compatibility. Let's break down the key concepts covered in the article:

  1. JSON (JavaScript Object Notation):

    • Defined as a lightweight data-interchange format widely used in front- and back-end programming and databases.
    • Emphasizes its simplicity and prevalence but notes that it is not natively readable by Microsoft Excel.
  2. Importing JSON into Excel (For MS Excel 2016 and newer versions):

    • Highlights MS Excel as one of the most accessible spreadsheet software globally with an estimated 850 million users.
    • Outlines the steps for importing JSON: a. Opening MS Excel and creating a new blank workbook. b. Navigating to the Data tab in the Ribbon menu. c. Accessing Get & Transform Data > From File > From JSON. d. Selecting the JSON file and importing it using Power Query Editor. e. Converting the data into a table for better representation in Excel.
  3. Importing JSON into Excel (For MS Excel 2010 – 2013):

    • Provides alternative steps for users with older Excel versions, involving the Power Query tab and Advanced Editor.
  4. Limitations & Troubleshooting JSON in Excel:

    • Discusses challenges in working with complex JSON structures and the importance of using algorithms to convert JSON to CSV efficiently.
    • Mentions Excel's file size limitations, specifically the maximum row limit (1,048,576) and column limit (16,384).
  5. Flattening JSON Structure:

    • Acknowledges the difficulty in importing JSON with a complex structure into Excel and suggests using algorithms for conversion.
  6. Online Conversion using Gigasheet:

    • Introduces Gigasheet as a cloud-based big data spreadsheet web application.
    • Outlines the steps for converting JSON to CSV using Gigasheet, emphasizing the ease of use and advantages over other methods.
    • Highlights Gigasheet's support for large files, compatibility with compressed JSON (ZIP format), and its no-code approach to processing big data.
  7. Advantages of Gigasheet over other methods:

    • Highlights Gigasheet's accessibility through web browsers on various devices.
    • Emphasizes Gigasheet's support for files from different sources, including local storage and cloud services.
    • Points out Gigasheet's ability to handle large multi-gigabyte JSON files without the constraints faced by MS Excel.
  8. Conclusion:

    • Concludes by summarizing the various ways to import JSON into Excel.
    • Positions Gigasheet as a preferable solution for working with large JSON files, citing its higher file size limits, support for ZIP format, and no-code approach.

In summary, the article provides a comprehensive guide for users seeking to import and work with JSON data in Microsoft Excel, with a specific focus on using Gigasheet as an efficient and user-friendly online conversion tool.

How To Import JSON To Excel (2024)
Top Articles
Latest Posts
Article information

Author: Rueben Jacobs

Last Updated:

Views: 5413

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Rueben Jacobs

Birthday: 1999-03-14

Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

Phone: +6881806848632

Job: Internal Education Planner

Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.