Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently my latest version of Notepad++ displays .json file as below snaphots which looks so dumped. Do you have any sysntax highlight set recommended for json data file?

In the photo, @1: key, @2: value, @3 comment should be rendered in color ^^

enter image description here

share|improve this question
Have you tried standard Javascript highlighting? –  TheTurkey Aug 21 '13 at 7:11
I just did ^^ Thank you! –  Nam G VU Aug 21 '13 at 7:12
Not really realted :) –  Nam G VU Aug 27 '13 at 2:29
There also is a specific JSONViewer Plugin. sourceforge.net/projects/nppjsonviewer –  Andreas Reiff Aug 18 '14 at 13:56

2 Answers 2

up vote 18 down vote accepted

Using Javascript is quite nice to me!

enter image description here

enter image description here

share|improve this answer
Embarassingly obvious... thanks –  ArtB Jan 7 '14 at 15:39
But how can I make npp use JS for .json files automatically? –  DUzun Apr 7 '14 at 16:23
Update: Use JSON with Notepad++ saturngod.net/use-json-with-notepad –  DUzun Apr 7 '14 at 16:25
Thanks DUzun ^^ –  Nam G VU Apr 8 '14 at 1:40
IMO not a solution, because it will also highlight objects in JavaScript notation and other JS code although it's not valid in JSON. –  CoDEmanX Oct 17 '14 at 12:28

I just whipped one up using the included UDL builder. If you like it, you can get it on GitHub

Screenshot demonstrating the syntax hilighting capabilities

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.