How to format large JSON file easily on Windows via Notepad++

How to format large JSON file easily on Windows via Notepad++


Totorial how to format large JSON file n windows using notepad pluplus


In this tutorial, we will show you how to format large JSON files very easily on Windows operating system using Notepad++ universal editor with proper JSON plugin.

Notepad++ is a free source code editor and Notepad replacement that supports several programming languages. Running in the MS Windows environment, its use is governed by GNU General Public License.

Notepad++ is based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. 

Solving :


[ Watch on YouTube : TODO Url ]

Step 1 : Download and Install Notepad++


Download and install Notepad++ editor from official website : 

Step 1 : download and install Notepad++ from official website




Step 2 : Run Notepad++ app on Windows


Start your freshly installed ( or already installed ) Notepad++ editor app on your operating system ( I am using Windows )

Step 2 : run notepad++ by clicking on desktop icon



Step 3 : Open Plugins Admin dialog


- In the top menu bar, click on the "Plugins" menu item

- In the popup list, click on "Plugins Admin..."

Open Plugins Admin in Notepad++ menu




Step 4 : Find and Install JSON Tools 8.4 Notepad++ Plugin


- Type "JSON" in the Search field of  the "Plugins Admin" dialog

- Find JSON Tools 8.4 plugin by Mark Olson

- Enable the checkbox for JSON Tools 8.4

- Click the "Instal" button in the bottom right corner of the window

Step 4 - search and install JSON Tools 8.4 plugin for Notepad++ by Mark Olson - codingtrabla tutorial




Step 5 : Explore JSON Tools plugin in Notepad++ menu 


- Locate the newly installed plugin in the Notepad++ menu bar 
(typically located at the top of the window) 

- Navigate to Plugins -> JsonTools to explore the available commands and features

Step 5 : explore Json Tools plugin in Notepad++ menu



Step 6 : Format large JSON file using Notepad++ JsonTools

Now let's do some work ;)

- Open a large json file. I used this : 
https://github.com/json-iterator/test-data/blob/master/large-file.json

- Plugins -> JsonTools -> Pretty-print current JSON file
or press Ctrl + Alt + Shift + P

Step 6 : Format large JSON file using Notepad++ JsonTools

Hooray ! Our formatted large JSON file is awesome !

Hooray ! Our formatted in Notepad++ large JSON file is awesome !


Well Done


We made it ! We found an easy offline solution to format large JSON files.
This allows us to improve security by NOT sharing JSON data with data collection online tools.
Awesome!


No comments:

Post a Comment