Subscribe to Blog
Email Address

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++.
In fact i am using the same editor to create code for my apps too.

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 have created my own Language profile for it. It is attached to this article, so 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:
  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++

That is it.

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!

Happy Coding!

Notepad++: Absolutely Free G-Code Editor With Code Highlighting
3.0 (61)% 185 votes
G-CODE_N Language G-CODE_N.xml


Pages:(1) [1]


July 20, 2016, 12:59 pm
Updated by: Eldar GerfanovJuly 21, 2016, 9:52 pm

I use a editor called EdytorNC that is freely available here: 
I use this program daily & have since around the middle of 2013 & find it indispensable for my job. I have contacted the author several times & offered suggestions & he usually implements them very fast. It has helped me learn g-code programming since you can customize the codes to display a tool tip type comment that shows you what a particular code actually means! I can't say enough good things about the program or the author! I HIGHLY RECOMMEND you give it a try!!!!!
There is also a google+ page here:
Here is the authors description:
EdytorNC is text editor for CNC programmers. Some features : bolt holes calculation; solutions of triangles calculation; speed, feed calculation; conversion inch/mm, mm/inch; code colouring; RS232 data transmission with automatic file saving and possibility to download new CNC program directly from machine (beta function, look in tool tips in serial port configuration dialog).
Clipboard to keep texts from system clipboard.
bolt holes calculation
solutions of triangles calculation
RS232 data transmission with auto save and file server
conversion inch/mm, mm/inch
code colorizing
speed, feed calculation
side by side file comparison
find in files
clipboard to keep texts from system clipboard.
line renumber
Give EdytorNC a shot, I think you'll find it is the best editor out there & you can't beat the price!!!!


Eldar Gerfanov

July 21, 2016, 9:55 pm
Updated by: Eldar GerfanovJanuary 14, 2017, 1:16 am

Thank you for the info Stovall,
I just downloaded and tried it and must say it looks pretty good!
The only thing missing is the ability to backplot a toolpath. But as an editor it is excellent.
EDIT: Because this article is a spam magnet, it has been closed down. Any discussian is welcome on our forums.

Sing In

© 2009-2018 Eldar Gerfanov. All Rights Reserved.
© 2009 Eldar Gerfanov. Materials on this site are presented as is and are mostly for educational use.

You may freely reproduce information presented herein without any consent from me, provided you include link to this site.
In case when i am not the copyright holder, you may want to contact proper owner of material. Anyway, they are freely available on the Internet.
If you hold the copyright right for any of the materials on this site and want them removed, please contact me here