How to view Formatted JSON in Microsoft Edge Browser ?
Last Updated :
07 May, 2024
JSON ( JavaScript Object Notation) is a lightweight data exchange format that is easily readable writable and easy for machines to parse and generate. We need to view it in a formatted way to make it more readable and understandable. In this article, we will understand how to view formatted JSON in the Microsoft Edge web browser.
Microsoft Edge comes with a built-in feature that allows you to view formatted JSON. Follow the steps :
Step 1: Open a new tab or window in Microsoft Edge
.gif)
Step 2: Type a URL that returns JSON data in the address bar (Find some dummy files here) and Microsoft Edge detects the returned data is JSON and automatically formats it.

Detection of Invalid JSON on Edge:
Step 1: Open the JSON file with Error on Edge and Go to Console tab on Developer tools to check the Error
.gif)
Note : Sometimes you may need to enable JSON Formatter going to this link to view the formatted JSON data.
Different ways to view JSON in edge browser:
1. View as Text (The above Method is the example):
- Open a JSON file or navigate to a webpage that returns JSON data.
- The Edge browser will display the raw JSON data as plain text.
Example : The above mentioned steps is the good example.
2. Use Developer Tools:
- Right-click on the page, select "Inspect," and go to the "Network" tab.
- Reload the page.
- Look for the request that returned JSON data, click on it, and view the JSON content in the "Response" tab.
Example : Open some site requesting for JSON data (Filter using Fetch/XHR tab). Here is the example with jsonviewer.stack.hu opening online JSON file.
.gif)
3. Online JSON Viewer:
- Copy some JSON data.
- Go to an online JSON viewer such as jsonviewer.stack.hu.
- Paste the JSON data into the viewer to see a formatted and interactive representation.
Example : Loading https://microsoftedge.github.io/Demos/json-dummy-data/64KB.json on jsonviewer.stack.hu.
.gif)
Features and Benefits:
- Formatted JSON is easier to read and understand when dealing with complex and nested data structures.
- Formatted JSON helps quickly identify syntax errors or unexpected structures in the data.
- Developers can use formatted JSON for debugging purposes as it provides a clear overview of the data being processed.
Conclusion:
Formatted JSON in Microsoft Edge is a handy feature for web developers and anyone working with JSON data. It improves the overall experience of inspecting and understanding the structure of JSON objects. We learnt to make JSON data more accessible and save time in the process so that if you find yourself in need of inspecting JSON in Microsoft Edge these steps will make your development journey smoother.
Similar Reads
How to Use WebView2 in Microsoft Edge Browser Have you ever wanted to integrate web content into a desktop application seamlessly? With WebView2 in Microsoft Edge, developers can now embed web content directly within native Windows applications. WebView2 offers a simple way to display web-based content using the Chromium engine inside your apps
5 min read
How to View and Edit local Storage in Microsoft Edge Browser Local Storage in Microsoft Edge is a key component for web developers, allowing websites to store data locally in the user's browser. This feature is especially useful for saving preferences, session data, or even small-scale databases that need to persist between sessions. If you're looking to view
5 min read
3D View Tool in Microsoft Edge Browser The 3D View Tool is used to get a 3D visualization of the site to check the different layers and z-index of the sites, which is not easy to debug. The tool provides very clean and colorful visuals and provides good movement controls around the 3D view. The various details, such as size and memory co
9 min read
How to Install Microsoft Edge Browser on Windows ? Microsoft Edge is a cutting-edge web browser that has rapidly gained popularity among users worldwide. With its sleek interface, improved speed, and a wide array of features Edge has become a formidable player in the web browser market. Developed by tech giant company Microsoft, it boasts seamless i
2 min read
How to Browse in Microsoft Edge Browser Microsoft Edge has evolved significantly over the years and is now a powerful web browser that offers not just a fast browsing experience but a suite of advanced features for security, privacy, and productivity. With its modern Chromium-based engine, Edge is designed to provide a smoother, more effi
6 min read
How to install Microsoft Edge Browser on macOS? Microsoft Edge was launched with Windows 10 and Xbox One in 2015 and initially employed its unique EdgeHTML and Chakra JavaScript engines. This original version signified Microsoft's effort to modernize web interaction on its platforms. However, recognizing the need for broader compatibility and adv
3 min read