Can you recommend a PGN cleanup tool?

Sort:
KinkyKool

I'm looking for something I can paste an analysed PGN file into, that will then remove all the comments from the move list.

EscherehcsE
KinkyKool wrote:

I'm looking for something I can paste an analysed PGN file into, that will then remove all the comments from the move list.

This thread discussed the issue:

https://www.chess.com/forum/view/general/webpage-to-remove-comments-from-your-pgn

You have several possible solutions.

1) @JEMP7YMETHOD made a web tool to do the job. The web page no longer works, but it's archived on the Internet Archive's Wayback Machine.

2) You could do a command-line solution using either Norm Pollock's 40H utility or David Barnes' pgn-extract utility. (I just found out that pgn-extract is in my Linux repository. How cool is that? :-))

3) You could download and install a chess GUI like "Scid vs. PC" and use the GUI to strip out the comments. There might be other GUIs that would work, although I didn't research them.

Hope that helps...

EscherehcsE

Also, if you need to strip out variations, both pgn-extract and Scid vs. PC can handle that. I think Scid vs. PC can only handle a single game PGN at a time (via copying and pasting), whereas pgn-extract can handle PGN files of many games.

Edit - I just checked, and the 40H "trim" command also removes variations.

EscherehcsE

Bump...

Was the info not helpful?

MARattigan

You can do it in Notepad++ using regular expression replacement if you're careful.

KinkyKool

That helped thanks for replies