Reformat JSON


“Reformat JSON” is a JSON utility script using the JSON Action Manager scripting library.

This stand-alone script written in JavaScript opens a resizeable dialog box with one text area; copy or type any JSON code in it, then click the Reformat button to get it formatted. Basic editing support is provided, i.e., tabulations and new lines can be inserted.

Reformat JSON Dialog (Mac OS X) - Before
Reformat JSON Dialog (Mac OS X) - After


This script can be used in Adobe Photoshop CS4 or later. It has been successfully tested in CS4 on Mac OS X, but should be platform agnostic.


This Software is copyright © 2013-2015 by Michel MARIANI.


This Software is licensed under the GNU General Public License (GPL) v3.



Download the Zip file and unzip it.

Move the script to the Presets/Scripts folder in the default preset location of the Adobe Photoshop application. On next launch, the script will appear in the File>Automate submenu.

Version History

  • 1.5

    • Used new version 4.4.4 of jamEngine scripting library module.
  • 1.4

    • Used new version 4.4.1 of scripting library modules.
  • 1.3

    • Reworded “Add Trailing Break” to “Append trailing Break”.
  • 1.2

    • Used new version 4.0 of scripting library modules.
  • 1.1

    • Added user option: strict validation.
  • 1.0

    • Initial release.

Tags: , , ,

Comments are closed.