How to Open json File in Excel?

By Rohan Vats

Updated on Sep 10, 2025 | 17 min read | 100.89K+ views

Share:

Did You Know? Modern browsers (like Chrome and Firefox) automatically format and display .json files in a readable tree structure, making debugging much easier. This helps developers quickly inspect complex nested data without needing external tools or manually formatting the file.

Today, information flows like never before, and at the heart of it all is JSON (JavaScript Object Notation),a superstar in data exchange. Whether it’s powering your favorite apps or helping systems talk to each other, JSON is everywhere! 

But here’s the catch: while JSON is fantastic for machines, it’s not exactly the friendliest format for human eyes, especially when you want to dive deep into analysis. So, what if you’re handed a JSON file and need to turn that jumble of code into something understandable in Excel

This guide is your step-by-step toolkit to open JSON file in Excel, transforming raw data into structured insights. It covers the entire process of making data visualization effortless. Let’s get started!

Enhance your data science skills with upGrad’s online data science courses. You’ll find programs to fit your specific analysis needs, whether you’re managing business reports, scientific data, or everyday numbers

Open JSON File in Excel: A Complete Guide

When dealing with structured data, JSON files are widely used across web, software, and data-driven applications. However, opening and analyzing JSON in Excel requires more than just a double-click. Excel now offers built-in tools to transform complex JSON data into readable tables, making it easier to work with nested objects and arrays.

In 2025, professionals who can use data analysis tools to improve business operations will be in high demand. If you're looking to develop relevant data analytics skills, here are some top-rated courses to help you get there:

What is a JSON File?

A JSON File—lean, fast, and incredibly useful. JSON stands for JavaScript Object Notation, a lightweight format used to store and exchange data.

JSON represents data in key-value pairs, arrays, and nested structures, making it ideal for APIs and data sharing between applications. You might see JSON files in a variety of scenarios: web apps, mobile apps, or even when you're working with third-party APIs.

Also Read: Package JSON Scripts in Node.js: A Complete Guide

Why Open JSON File in Excel?

Let’s say you’ve got a big chunk of data coming from an API in JSON format, or your colleague just sent you a file full of important information, all in JSON. 

Opening it directly in Excel allows you to organize, analyze, and visualize that JSON data, helping you see patterns, make calculations, or simply make sense of the data in a more familiar way. Excel turns that abstract data into something tangible and, most importantly, understandable.

Software Development Courses to upskill

Explore Software Development Courses for Career Progression

Coverage of AWS, Microsoft Azure and GCP services

Certification8 Months

Job-Linked Program

Bootcamp36 Weeks

If you’re wondering how to extract insights from datasets, the free Excel for Data Analysis Course is a perfect starting point. The certification is an add-on that will enhance your portfolio.

Also Read: package.json vs package-lock.json: Major Differences

Step-by-Step Guide to Open JSON File in Excel

JSON (JavaScript Object Notation) is commonly used to store and exchange structured data. Excel now allows you to directly import JSON files and convert them into readable tables using Power Query.

Example JSON File:

[
  {
    "name": "Rohit Sharma",
    "age": 32,
    "email": "rohit.sharma@example.com"
  },
  {
    "name": "Ananya Mehta",
    "age": 28,
    "email": "ananya.mehta@example.com"
  }
]

Here are the steps to open JSON File in Excel:

Step 1: Open Microsoft Excel

Make sure you’re using Excel 2016 or later (including Microsoft 365) for built-in JSON support.

Step 2: Go to the "Data" Tab

  • In the top ribbon, click on the “Data” tab.
  • Then select “Get Data” > “From File” > “From JSON.”

Step 3: Select Your JSON File

  • A file dialog box will appear.
  • Browse to the location of your .json file, select it, and click “Import.

Step 4: Use the Power Query Editor

  • The Power Query Editor will open with a preview of your JSON structure.
  • If the data appears as a List, click the “List” link.
  • Then click “To Table” in the toolbar to convert the list into a table format.
  • Click the expand icon (🔽) on the column to extract nested values (like name, age, email).
  • Make sure all fields are selected, then click OK.

Step 5: Load the Data into Excel

  • Once your data looks correct in the preview, click “Close & Load” in the top-left corner.
  • Excel will now insert the data into a new worksheet as a neatly structured table.

Final Output Table in Excel:

name

age

email

Rohit Sharma 32 rohit.sharma@example.com
Ananya Mehta 28 ananya.mehta@example.com

Pro Tip:

If your JSON file is deeply nested or contains arrays within objects, you may need to use multiple rounds of "Expand" in Power Query to flatten all levels of the data.

If you want to learn more about statistical analysis using Excel, upGrad’s free Basics of Inferential Statistics course can help you. You will learn probability, distributions, and sampling techniques to draw accurate conclusions from random data samples.

Also Read: How to Start Learning Python for Data Science in 2025

Now that you know how to open JSON File in Excel, let’s go over the common methods of opening a JSON file.

What are the Methods to Open JSON File in Excel?

There are two popular ways to open JSON file in Excel, and both methods can help you manage the data quickly. Whether you prefer power query or manual conversion, the choice is yours!

Subscribe to upGrad's Newsletter

Join thousands of learners who receive useful tips

Promise we won't spam!

Method 1: Using Power Query to Import JSON into Excel

One of the easiest ways to import JSON files into Excel is by using Power Query, a powerful Excel feature designed to transform and manage data.

Step-by-Step Instructions:

1. Open Excel and go to the "Data" tab.

2. Under the Get Data option, select the JSON file from your system by clicking From File and then choosing From JSON.

3. Navigate to the location of your JSON file on your computer, select it, and hit Open.

4. Power Query will automatically process the JSON data and convert it into a readable table format. If your JSON contains nested objects, Power Query will make sense of the structure and format it accordingly.

5. Once your data looks good, click on Load to import the formatted table into Excel, where you can begin analyzing or working with it!

Key Benefits:

  • Power Query makes nested JSON data easier to read by transforming complex structures into tables.
  • It’s a hands-free process—no manual conversions or reformatting required!

Also Read: 60 Advanced Excel Formulas to Boost Professional Efficiency

Method 2: Manually Converting JSON to CSV and Importing

If you prefer a more manual approach or need more control over the data, you can convert the JSON file to a CSV format first and then import it into Excel.

Step-by-Step Instructions:

1. You can easily find online converters that allow you to upload your JSON file and convert it to CSV. Alternatively, if you’re comfortable with programming, you can write a quick Python script using libraries like JSON and Pandas to achieve the same result.

2. Once your file is converted to CSV, open Excel, navigate to the Data tab, and import the CSV just as you would with any other file.

3. CSV imports may need a little tweaking, so take a moment to adjust any columns, format dates, or clean up any data to suit your needs.

Advantages of Using CSV:

  • Comma Separated Values (CSV) is a simple, readable format.
  • Easier for manual adjustments, especially if you want to control data formatting closely.

Gaining knowledge and developing data analysis skills are essential for success, but going one step further can place you ahead of the competition. With upGrad’s Master’s Degree in Artificial Intelligence and Data Science, you will be equipped with the skills needed to lead AI transformation in your organization.

Also Read: Top 14 Free Online Excel Courses with certificate for 2025

Next, let’s look at how you can edit JSON data in Excel.

How to Edit JSON Data in Excel After Importing?

Once you open JSON File in Excel, you might need to clean or transform it. Excel offers a wide range of tools to help you manage your data.

Here’s how you can edit JSON File in Excel: 

Cleaning and Transforming JSON Data

Once your JSON is imported, you can use Excel’s features like Find and ReplaceSorting, and Filtering to fine-tune the data. For example, if some fields are cluttered or misplaced, Excel makes it a breeze to tidy things up.

  • Use Find and Replace to quickly update any specific values.
  • Sort and Filter the data to organize it by key parameters.
  • Create Pivot Tables to summarize your data for easy analysis.

Exporting Modified Data Back to JSON Format

If you need to save your edited data back into JSON format, Excel doesn’t natively offer this option, but you can use Power Query or third-party tools like online JSON converters to convert the data back to JSON once you’ve finished your edits.

Also Read: Top 15 Ways to Improve Excel Skills [Actionable Tips]

Next, let’s look at some of the common issues you might face while opening or editing JSON files in Excel.

upGrad’s Exclusive Software and Tech Webinar for you –

Check Out upGrad’s Advanced Certification in Cyber Security

SAAS Business – What is So Different?

 

What are the 2 most Common Issues with JSON to Excel Conversion?

Opening JSON file in Excel isn’t always perfect, a few challenges can pop up during the conversion process.
Here’s how to solve them.

  • Problem 1: Nested JSON Objects

Sometimes, JSON files contain deeply nested objects that can make visualization in Excel challenging.

Solution:

Use Power Query to flatten out the JSON data, converting complex structures into more manageable, flat tables.

  • Problem 2: Data Types Misalignment

JSON stores data in a variety of types (e.g., strings, numbers, arrays), which may not align perfectly with Excel formats.

Solution:

You can manually adjust column data types in Excel or use Excel’s data format tools to get everything in the correct format.

Which are the most Useful Tools for Working with JSON Files

Working with JSON files doesn’t have to be complicated! Here are some super useful tools that can simplify things and make your work with JSON and Excel much easier:

1. Power Query

Power Query is an excellent feature in Excel that allows users to directly import JSON files and convert them into a table format for easy analysis. It simplifies working with complex data structures without needing any external tools or coding.

Example:

For instance, if you receive a JSON file containing sales data from an API, Power Query can quickly convert it into a well-organized table for further processing and analysis.

2. JSON to CSV Online Converters 

These online converters allow you to transform JSON files into CSV format, which is widely compatible with Excel. This option is straightforward, requiring no additional software or technical expertise.

Example:

If you have a JSON file containing a product catalog that you want to work with in Excel, using a JSON to CSV converter will let you easily turn it into a readable spreadsheet format.

3. Python Libraries 

For those comfortable with programming, Python’s JSON and pandas libraries provide powerful capabilities to manipulate and convert JSON data. They are particularly useful when dealing with large or complex datasets that need customization before importing into Excel.

Example:

Suppose you need to clean and filter a large set of customer data in JSON format. Python can help preprocess the data, making it easier to work with in Excel by ensuring only relevant data is included.

Also Read: Top 50 Excel Interview Questions & Answers in 2025

Now that you have a good understanding of how to open JSON File in Excel, let’s look at how upGrad can help you in your journey.

Upskilling with upGrad to Reach Excel Mastery!

Who knew that learning how to open a JSON file in Excel could be this simple?

With tools like Power Query and manual CSV conversion, converting JSON to Excel is easier than ever. Whether you're working with simple data or complex nested objects, Excel provides the flexibility and features needed to handle all kinds of JSON data effortlessly.

If you’re eager to become an Excel pro, why not take it a step further? upGrad’s exclusive course on Excel goes beyond the basics, equipping you with advanced data management techniques and practical skills that can boost your career opportunities in data analytics, finance, and beyond.

Here are some of the additional upGrad courses  (including free ones)  to support your Excel learning journey:

For personalized career guidance, contact upGrad’s counselors or visit a nearby upGrad career center. With expert support and an industry-focused curriculum, you'll be prepared to tackle data analysis challenges and advance your career.

References:

https://www.upgrad.com/blog/how-to-open-json-file/

Frequently Asked Questions (FAQs)

1. Why is JSON preferred over XML or CSV for data exchange in modern web applications?

JSON’s lightweight, human-readable text format and seamless compatibility with JavaScript make it faster and easier to parse compared to XML or CSV. Its ability to represent nested and hierarchical data structures with key-value pairs allows complex objects to be transmitted without losing relationships, which is vital for APIs and modern web apps.

2. Can I open and work with large JSON files directly in Excel without performance issues?

Excel can open large JSON files using Power Query, but performance depends on the file’s nesting depth and size. Highly nested JSON may slow down Excel or cause crashes. For very large or complex JSON datasets, specialized tools like Python or database imports are recommended to handle parsing and transformation efficiently.

3. How do I resolve errors like “We couldn’t parse the JSON file” when importing into Excel?

This error usually occurs due to malformed JSON, such as missing commas, unquoted keys, or improper nesting. Validate your JSON with online tools before importing. Also, ensure the file encoding is UTF-8, as Excel may fail to parse files with incompatible encodings.

4. Why does Excel sometimes display only a single column after importing JSON, and how can I fix it?

Excel’s Power Query may import nested JSON objects as a single column of records or lists. To fix this, use the expand icon (🔽) in Power Query to flatten nested fields into separate columns, enabling you to work with each attribute individually.

5. How can I automate recurring imports of JSON data into Excel without manual intervention?

Use Power Query’s refresh feature to re-import JSON data from a static file or URL on demand or schedule automatic refreshes with Excel Online or Power BI. For fully automated workflows, integrating Excel with Microsoft Power Automate or writing custom scripts is recommended.

6. Can Excel convert JSON arrays with varying object structures into a consistent table?

Excel’s Power Query attempts to standardize columns by union of all keys, but if objects have highly inconsistent schemas, columns may appear sparse or incomplete. Preprocessing JSON with scripts to normalize or flatten data before importing improves table consistency.

7. How do I maintain data types (dates, numbers, booleans) accurately when importing JSON into Excel?

Power Query may import all JSON values as text by default. After loading, explicitly convert columns to the correct data types (e.g., Date, Number, Boolean) in Power Query or Excel to prevent calculation errors and enable proper data analysis.

8. Is it possible to import JSON data from a web API directly into Excel?

Yes, Excel’s Power Query can fetch JSON from APIs by selecting Get Data > From Web and providing the API endpoint URL. You may need to handle API authentication and pagination separately to import large or secured JSON responses successfully.

9. How do I export edited Excel data back to JSON format?

Excel does not natively support exporting to JSON. You can use Power Query to transform data or rely on external tools like Python scripts or online converters. Alternatively, Excel add-ins and VBA macros can be employed to automate JSON export.

10. What are common issues when importing deeply nested JSON files into Excel, and how do I overcome them?

Deeply nested JSON often results in complex lists or records inside columns, which Power Query cannot flatten automatically. Overcome this by performing multiple expand operations step-by-step or flattening the JSON with preprocessing scripts before import.

11. How can I ensure data privacy and security when importing JSON files into Excel, especially with sensitive information?

Always validate and sanitize JSON data before import to prevent malicious code or corrupt files. Use Excel’s Protected View, disable macros from untrusted sources, and ensure files come from secure locations. For sensitive data, consider using encrypted connections or data masking prior to import.

Rohan Vats

408 articles published

Rohan Vats is a Senior Engineering Manager with over a decade of experience in building scalable frontend architectures and leading high-performing engineering teams. Holding a B.Tech in Computer Scie...

Get Free Consultation

+91

By submitting, I accept the T&C and
Privacy Policy

India’s #1 Tech University

Executive PG Certification in AI-Powered Full Stack Development

77%

seats filled

View Program

Top Resources

Recommended Programs

upGrad

upGrad

AI-Driven Full-Stack Development

Job-Linked Program

Bootcamp

36 Weeks

upGrad

upGrad KnowledgeHut

Professional Certificate Program in UI/UX Design & Design Thinking

#1 Course for UI/UX Designers

Bootcamp

3 Months

IIIT Bangalore logo
new course

Executive PG Certification

9.5 Months