Beautify JSON in Notepad++ Pretty Print JSON in Notepad++ Now Easily Format JSON in Notepad++

By Grace

How to Pretty Print JSON in Notepad++

12+ DIY Notepad Ideas That Are Easy and Fun
12+ DIY Notepad Ideas That Are Easy and Fun

JSON, or JavaScript Object Notation, is a lightweight data-interchange format that is easy for humans to read and write and easy for machines to parse and generate. However, when you're working with JSON data in a text editor like Notepad++, it can become a daunting task to read and understand due to its lack of structure. This is where JSON pretty printing comes in handy. Here's a step-by-step guide to help you pretty print JSON in Notepad++.

How To Make A Notepad In Canva For Free - Mommy By Trade
How To Make A Notepad In Canva For Free - Mommy By Trade

Before we dive into the steps, ensure you have the latest version of Notepad++ installed. If you haven't, you can download it from the official website: Notepad++.

Install the JSON Viewer plugin

How to add cute fonts on Kilonotes
How to add cute fonts on Kilonotes

Notepad++ doesn't have built-in support for JSON pretty printing. However, you can install the JSON Viewer plugin to add this functionality.

To install the plugin, follow these steps:

Notes
Notes
  • Open Notepad++ and go to Plugins > Plugin Manager.
  • In the Plugin Manager window, click on Show Plugin Manager.
  • In the Available Plugins tab, find JSONViewer. Click on it and then click Install.
  • Once installed, click Close to exit the Plugin Manager.

Enable the JSONViewer plugin

Now that the JSONViewer plugin is installed, you need to enable it for JSON files.

FREE NOTEPAD SET
FREE NOTEPAD SET

To enable the plugin:

  • Open Notepad++ and go to Settings.
  • In the Settings window, go to the File Types tab.
  • Select JSON from the list.
  • In the Default Language field, type JSONView.
  • Click OK to save the changes.

Pretty print your JSON

How to make a DIY Personalized Notepad - Everyday Megan
How to make a DIY Personalized Notepad - Everyday Megan

Now that you have the JSONViewer plugin installed and enabled, you can pretty print your JSON.

To pretty print your JSON:

someone holding up a card with the words how to make notepads
someone holding up a card with the words how to make notepads
free printable notepad
free printable notepad
Here’s How I Make Notepads From Home for my Stationery Shop! #stationery #notepad #stationeryshop
Here’s How I Make Notepads From Home for my Stationery Shop! #stationery #notepad #stationeryshop
How to Make Your Own Notepads (Easy DIY Tutorial + Free Templates!)
How to Make Your Own Notepads (Easy DIY Tutorial + Free Templates!)
a note with flowers on it and the words notes written in pink, blue, and purple
a note with flowers on it and the words notes written in pink, blue, and purple
Editable Notepad Printable Notes Instant Download To Do List Personalized
Editable Notepad Printable Notes Instant Download To Do List Personalized
Notepad Template Aesthetic Printable
Notepad Template Aesthetic Printable
a girl in a bear suit holding a cell phone to her ear with hearts on it
a girl in a bear suit holding a cell phone to her ear with hearts on it
Digital Note taking tips
Digital Note taking tips
  1. Open your JSON file in Notepad++.
  2. Press Alt+B to toggle between the normal text view and the pretty-printed JSON view.

The JSON data should now be readable with proper indentation and white space, making it easier to understand and work with.

Customizing the pretty print settings

You can customize the pretty print settings to suit your preferences.

To customize the settings:

  1. Open your JSON file in Notepad++.
  2. Press Alt+B to toggle to the pretty-printed JSON view.
  3. Right-click anywhere in the JSON data and select Settings.
  4. In the JSON Viewer settings window, you can adjust the indentation size, use spaces or tabs, and more.
  5. Click OK to save your changes and close the window.

With these steps, you should now be able to pretty print JSON in Notepad++, making it easier to read, understand, and work with your JSON data. Happy coding!