How to Open JSON Files in Excel
JSON (JavaScript Object Notation) files are text-based data files commonly used for data interchange, APIs, and web applications. Excel cannot open JSON files directly, but you can convert them to CSV or XLSX format. This guide shows you multiple methods to work with JSON data in Excel using only Excel features and built-in Windows/Mac tools.
Table of Contents
What is a JSON File?
JSON stands for JavaScript Object Notation. It’s a plain text file format used to store and exchange structured data. JSON files use the .json extension and organize data using curly braces {}, square brackets [], and key-value pairs.
Example JSON structure:
{
"customers": [
{
"id": 1,
"name": "John Smith",
"email": "john@example.com",
"purchase_amount": 1500
},
{
"id": 2,
"name": "Sarah Johnson",
"email": "sarah@example.com",
"purchase_amount": 2300
}
]
}
JSON files are commonly used for:
- API responses (web services, data feeds)
- Configuration files
- Data exports from web applications
- Storing and sharing structured data
- Database exports
Why Excel Can’t Open JSON Directly
Excel doesn’t support JSON format because:
- JSON is a hierarchical, nested data format; Excel uses flat, tabular structure
- Excel has no JSON import filter in standard versions
- JSON’s key-value pair structure doesn’t map directly to Excel’s rows and columns
- If you try to open JSON in Excel, it either displays as plain text or shows an error
To work with JSON data in Excel, you must first convert it to a tabular format like CSV or XLSX.
Method 1: Excel Power Query (Best Method for Excel 2016+)
Power Query is Excel’s built-in data import tool that can convert JSON to Excel format. This method preserves data structure best.
Step 1: Check Excel Version
Power Query is available in:
- Excel 2016 and newer (Windows)
- Excel for Mac 2016 and newer
- Microsoft 365 (all versions)
If using older Excel (2013 or earlier), skip to Method 2.
Step 2: Open Excel
- Launch Excel (blank workbook or existing file)
Step 3: Access Power Query
- Click Data tab in the ribbon
- Look for “From JSON” button (Excel 2021+) or “From File” → “From JSON”
- If not visible, click “From Other Sources” and look for JSON option
Note: If you don’t see JSON options, your Excel version may not support it. Use Method 2 instead.
Step 4: Select JSON File
- File browser opens
- Navigate to your JSON file location
- Select the JSON file
- Click Open
Step 5: Configure JSON Import
Power Query Preview opens showing JSON structure:
- Review the preview pane showing your data
- Select which data section you want to import (if multiple arrays in JSON)
- Check that column headers are recognized
Step 6: Load Data into Excel
- Click “Load” to import into current sheet
- Or click “Load To” dropdown to choose specific location
- Data imports as table into Excel
JSON converts to proper Excel table format with column headers and data rows.
Pros: Built into Excel, converts complex JSON, preserves data types, creates live connection
Cons: Only Excel 2016+, may not handle deeply nested JSON perfectly
Method 2: Copy-Paste from Text Editor (Simple Method)
For simple JSON files with straightforward structure, you can manually copy and paste data.
Step 1: Open JSON in Text Editor
- Right-click JSON file
- Select “Open With” → Notepad (Windows) or TextEdit (Mac)
- JSON content displays as text
Step 2: Manually Extract Column Headers
Look at the JSON structure and identify field names. Example:
"name": "John",
"email": "john@example.com",
"amount": 1500
Column headers would be: name, email, amount
Step 3: Create Excel Headers
- Open Excel (blank workbook)
- In cell A1, type the first header (e.g., “name”)
- In B1, type second header (e.g., “email”)
- Continue across for all columns
Step 4: Enter Data Manually
- In cell A2, enter first data value from JSON
- Continue filling in data row by row
- For large JSON files, this becomes impractical
Only use this method for very small JSON files (5-10 records maximum)
Step 5: Save as Excel File
- File → Save As
- Select “Excel Workbook (.xlsx)”
- Save the file
Pros: No installation needed, works for simple data
Cons: Manual process, very time-consuming, error-prone, only for small files
Method 3: Convert JSON to CSV First (Practical Method)
Convert JSON to CSV format first (easier to convert), then open CSV in Excel.
Step 1: Open JSON in Text Editor
- Right-click JSON file → “Open With” → Notepad
Step 2: Identify Data Structure
Look for the array of objects. Example:
"customers": [
{"name": "John", "email": "john@example.com"},
{"name": "Sarah", "email": "sarah@example.com"}
]
In this case, you need: name, email columns
Step 3: Manually Create CSV Format
- In Notepad, create first line with headers separated by commas:
name,email- On next line, enter first record separated by commas:
John,john@example.com- Continue for each record in JSON
Step 4: Save as CSV
- File → Save As
- Change extension to .csv (e.g., “data.csv”)
- Save the file
Step 5: Open CSV in Excel
- Open Excel
- File → Open
- Select your CSV file
- Excel imports with proper column separation
Pros: Works with any Excel version, creates usable spreadsheet
Cons: Requires manual data extraction, impractical for large files
Method 4: Online JSON to CSV Converter
Web-based tools convert JSON to CSV without installing software or complex steps.
Recommended Online Converters
- CloudConvert: Supports JSON to XLSX and CSV conversion
- JSON to CSV Converter: Dedicated JSON converter (search “json to csv”)
- Convertio: Fast conversion of various formats
- Online Convert: Free JSON conversion without registration
Step-by-Step Conversion
- Open converter website in browser
- Click “Upload” or paste JSON content directly into text area
- Select output format: “CSV” or “XLSX”
- Click “Convert” button
- Wait for processing (usually 5-30 seconds)
- Click “Download” to save converted file
- Open downloaded CSV or XLSX in Excel
Security Note
- Only use for non-sensitive data: Files upload to external servers
- Privacy concern: Avoid with confidential information
- Best for: Public data, test files, non-confidential datasets
- Not for: Financial data, personal information, proprietary business data
Pros: Very fast, no software installation, simple interface
Cons: Privacy concerns, internet required, file size limits
Method 5: Manual Extraction Using Excel Text to Columns
For JSON files with simple flat structure, you can use Excel’s Text to Columns feature.
Step 1: Copy JSON Data
- Open JSON file in Notepad
- Look for lines that don’t contain brackets or braces (actual data)
- Select and copy those lines
Step 2: Paste into Excel
- Open Excel
- Click cell A1
- Paste the data (Ctrl+V)
Step 3: Use Text to Columns
- Select all pasted data
- Data tab → “Text to Columns”
- Choose “Delimited”
- Select delimiter (comma or colon, depending on JSON format)
- Click Finish
Pros: Uses built-in Excel feature, works offline
Cons: Very limited, only works for simple JSON structure, manual and error-prone
Common Issues and Solutions
Issue 1: Power Query “From JSON” Not Available
Problem: Data tab doesn’t show “From JSON” option.
Cause: Older Excel version (pre-2016) or incorrect menu location.
Solution:
- Check Excel version (File → Account → About)
- If older than 2016, use Method 4 (online converter) instead
- Look under Data tab → “From Other Sources” for JSON option
Issue 2: JSON Too Complex or Deeply Nested
Problem: Power Query imports JSON but data looks incorrect or incomplete.
Cause: JSON has complex nested structure that doesn’t convert to flat Excel table.
Solution:
- Use online converter instead of Power Query
- Request simpler JSON from data source if possible
- Manually extract only the data you need from JSON
Issue 3: JSON File Opens as Text in Excel
Problem: Double-clicking JSON file opens it as plain text in Excel, not imported as data.
Cause: Excel treating JSON as generic text file.
Solution:
- Close the text view
- Use Method 1 (Power Query From JSON) to import properly
- Do not double-click JSON files directly in Excel
Issue 4: Special Characters Display Incorrectly
Problem: Accented characters (é, ñ, ü) show garbled after conversion.
Cause: Character encoding issue during conversion.
Solution:
- Ensure JSON file saved as UTF-8 format
- Use Power Query which handles encoding better
- If using online converter, look for UTF-8 encoding option
Issue 5: Numbers Show as Text or Scientific Notation
Problem: Numeric values display as text or in format “1.23E+04”.
Cause: Column formatting didn’t convert properly.
Solution:
- Select column with numbers
- Right-click → Format Cells
- Select “Number” category
- Set decimal places and click OK
Issue 6: Dates Not Recognized
Problem: Date values display as text instead of date format.
Cause: Date format in JSON not recognized by Excel.
Solution:
- Select date column
- Data → Text to Columns
- Step 3: Select date format matching your data
- Click Finish
Issue 7: JSON File Too Large to Convert
Problem: Conversion fails or times out for large JSON files.
Cause: File exceeds online converter limits or Power Query capacity.
Solution:
- Request data in CSV format instead
- Ask for JSON split into smaller files
- Use programming tools (Python, Node.js) for very large files
Issue 8: Can’t Find “From JSON” Despite Excel Version Supporting It
Problem: Excel 2016+ installed but Data tab doesn’t show JSON option.
Cause: Power Query add-in disabled or not installed.
Solution:
- File → Options → Add-ins
- In “Manage” dropdown, select “COM Add-ins” → “Go”
- Check if Power Query listed and enabled
- If not visible, reinstall Excel or update Power Query
Best Practices for JSON Files in Excel
- Request alternative format: If you regularly receive JSON, ask senders to provide CSV or XLSX format
- Keep original JSON: Maintain backup of original JSON file in case you need to re-import
- Verify data after import: Spot-check converted data to ensure no errors during conversion
- Document source: Note that file originated as JSON for reference and troubleshooting
- Save as Excel format: Once in Excel, save as .xlsx for future work
- Check row count: Excel has 1,048,576 row limit—very large JSON files may need database tools
- Understand JSON structure before importing: Review JSON file first to anticipate conversion issues
- Use Power Query for complex JSON: Produces better results than manual methods
- Create data backup: Before making changes, save copy of converted Excel file
- Format columns immediately: Apply number, date, and text formatting right after import
Method Comparison Chart
| Method | Difficulty | Time | Excel Version | Best For |
|---|---|---|---|---|
| Power Query | Easy | 2-3 min | 2016+ | Most JSON files, automatic conversion |
| Copy-Paste | Medium | 5-10 min | All | Very small files only (<10 records) |
| JSON to CSV Manual | Medium | 10-30 min | All | Small files, simple structure |
| Online Converter | Very Easy | 1-2 min | All (any browser) | Quick conversion, non-sensitive data |
| Text to Columns | Hard | 15-30 min | All | Only flat, simple JSON |
Recommended: Use Method 1 (Power Query) if available. Otherwise, use Method 4 (online converter) for simplicity.
Quick Steps: Fastest Method (Power Query)
- Open Excel (2016 or newer)
- Data tab → From JSON (or From Other Sources → JSON)
- Select your JSON file → Open
- Review preview pane
- Click “Load”
- Data imports into Excel as table
- Format columns as needed (date, currency, etc.)
- File → Save As → Excel Workbook (.xlsx)
Total time: 2-3 minutes
Frequently Asked Questions
Q: Can Excel open JSON files directly?
A: No. Excel doesn’t support JSON format natively. You must use Power Query (Excel 2016+), online converter, or manual methods.
Q: What if I have Excel 2013 or older?
A: Power Query not available. Use Method 4 (online converter) or manually convert JSON to CSV format and open in Excel.
Q: Can I save Excel files as JSON format?
A: Excel doesn’t have native JSON export. You can use online converters to convert XLSX to JSON, but this is less common.
Q: What if JSON has nested arrays?
A: Power Query can handle nested JSON to some extent. If structure too complex, request simplified JSON or flatten manually.
Q: Is data lost when converting JSON to Excel?
A: Data is preserved, but nested structure is flattened to rows and columns. Complex hierarchies may lose some organizational context.
Q: Can I edit JSON data in Excel and convert back?
A: You can edit data in Excel, then save as CSV. Converting back to JSON is possible with online tools or programming.
Q: What if online converter asks for password or subscription?
A: Many converters are free. Avoid ones requiring payment unless absolutely necessary. Look for “free online json to csv converter”.
Q: Can very large JSON files convert to Excel?
A: Excel has 1,048,576 row limit. Very large JSON files may exceed this. Request smaller portions or use database tools instead.


