In Notepad++ or similar editors, one can get syntax highlighting for multiple file formats/languages. I'd like to have something usable on Windows that would let me do this with pgn files (see header tags, and annotations in different colors from main line moves).

2 Answers 2


There is an extension for Vim (a great editor) that provides syntax highlighting for PGN. You can download Vim here. You can find the extension here.

  • 1
    I have used this before and it works pretty well. The only issue I see is if you are not used to Vim, it may take a bit.
    – xaisoft
    Jan 25, 2013 at 19:08
  • 1
    There is a nice tutorial on Vim here that is worth reading.
    – Seth
    Jan 25, 2013 at 19:19
  • 1
    Thanks! Yes, Vim was not my first pick. But it works. However it does not highlight textual annotations. Only move numbers and game header tags.
    – Joe
    Jan 25, 2013 at 19:37

Notepad ++ with option Language->Pascal highlights headers, move numbers, actual moves and comments with different colors. Works exactly as I would expect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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