Notepad++: Absolutely Free G-Code Editor With Code Highlighting

Quite often I see people asking which text editors others use to work with their G-Code.

Some even suggest paid ones.

I am using a free general-purpose advanced text editor called Notepad++.

It is so flexible, it can recognize the language you are working with and turn on the language-specific highlighting for even the G-Code.

I created my own Language profile for it. It is attached to this article so that everyone can download it.

Below is how you can apply this language profile to turn on g-code highlighting:

  1. Download and Install Notepad++ from here: https://notepad-plus-plus.org/download/
  2. Download the custom language file attached to this article to your computer: download file
  3. Launch Notepad++ and go to Language>Define Your Language.
  4. Click on "Import" button and select the G-Code_N.XML Language file you have just downloaded from my site.
  5. After it notifies you that Import was successful, close the "Define" window and restart Notepad++

Now when you load any G-Code file with Notepad++, select G-CODE_N item from the "Language" menu and enjoy the full power of the best text editor with g-code highlighting:

A thing of beauty!

Update: A friend named Lucas sent me a version of the GCode language definition for Dark Theme. Please see it below in the downloads section. Thanks, Lucas!

G-CODE_N.xml

G-CODE_N Language G-CODE DARK Size:0.01 MB