G-code text editors: four options compared


If you need to edit your #Gcode off the machine, there are many free text editors that you can use. Marc Cronin, from @G-Code Tutor, helped us find the best one.

It is not uncommon for #CNC programmers to edit G-code off the machine using a text editor on a computer.
While Notepad + provides the basic functions needed to edit your code, it doesn't format the code as some other text editors do.
Let's take a look at some other free text editors that include more formatting options for G-code programmers.

- NOTEPAD ++ ()
This is an upgrade from the standard Notepad + available on all PCs. It contains a lot more useful features for programmers. For example, it allows you to change the format of the text to match your programming language. While G-code is not included in the language library, it can be easily downloaded online and installed.

- ATOM ()
Although this is a very good text editor, it is the only editor out of the four compared in the video that doesn't format the G-code.

- Visual Studio Code ()
VS Code offers a lot of different G-code formatters, from the specific ones for mills or lathes to the more generic ones. This editor is also highly customizable.

- Brackets ()
Just as the other editors reviewed, Brackets allows programmers to download and install G-code extensions.

To learn more about G-code editing or improve your programming skills visit ().

Stay tuned for more #machining videos!


Recommended CNC programming books:
Fanuc CNC Custom Macros -
CNC Programming Handbook -
CNC Programming Techniques -


Practical Machinist is the largest and most engaged #metalworking community across the web. With more than 160,000 registered members and 200,000+ social media followers, Practical Machinist is the easiest way to learn new techniques, get answers quickly, and discuss common challenges with your peers. Visit Practical Machinist today to join the community and start connecting with your peers.

Become a Practical Machinist member ()
Like us on Facebook ()
Follow us on Instagram ()
Follow us on Twitter ()
Connect with us on LinkedIn ()
Code editors
Be the first to comment