Featured image of 10 Best G-Code Editors (Online & Offline)
All3DP is an editorially independent publication. Editorial content, on principle, can not be bought or influenced. To keep All3DP free and independent, we finance ourselves through advertising and affiliate revenues. When you purchase using a shopping link on our site we earn an affiliate commission. Learn more
Getting an A+ in G-Code

10 Best G-Code Editors (Online & Offline)

Picture of Benjamin Goldschmidt
by Benjamin Goldschmidt
Mar 7, 2020
Advertisement
Advertisement
Advertisement

A G-code editor allows you to change your CNC or 3D printing code. Read on to find a good G-code editor from our top picks!

Best G-Code Editors

What & Why

Most G-code editors have some way of highlighting G-code commands for easy editing
Most G-code editors have some way of highlighting G-code commands for easy editing (Source: Ralph Freshour via YouTube)

A G-code editor is any program that allows one to create or alter G-Code through line-by-line text editing. In some cases, this ability could be provided by add-ons that allow you to directly rewrite existing G-code instead of recompiling using slicers or CAM software.

There are several uses for G-code editors, including the following:

  • Small edits: You need to make a minor change to a very large file that took a long time to complete.
  • Special execution: You’d like to write a customized start or end routine for your machine.
  • Manual solution: You’d like to solve a specific problem that occurs during CNC milling or 3D printing. Particularly helpful here would be visual G-code editing software.
  • Replacement operation: You’d like to search for (and potentially modify) every instance of a particular command.

It should be noted that not all editors show a 3D preview of the part as you’re editing G-code. Depending on your application, a visual aid may or may not be needed, but in general, text-only G-code editors tend to function faster than ones that need to render a 3D object in real-time.

Since there are several to choose from, we’ve compiled a list of a few of the best G-code editors below. Let’s dive in!

Back to Contents

Advertisement
Best G-Code Editors

Notepad++

Notepad++ is a simple text editor that can highlight G-code commands
Notepad++ is a simple text editor that can highlight G-code commands (Source: RandyKopf via Autodesk Forums)

Notepad++ is a downloadable offline text editing program with some great features. Although Notepad++ doesn’t inherently come with the ability to highlight G-code, a simple five-minute process will get you up and running with a custom language profile, highlighting G-code for your editing needs.

In terms of functionality, Notepad++ along with a custom language file allows you to do standard things such as search, find, and replace commands, allowing you to edit your G-code with relative ease. This software is meant for a variety of audiences and can be customized with various plug-ins for particular applications.

Conveniently, Notepad++ offers users the ability to define their own language highlighting for even more customization, when needed.

  • Developer: Don Ho
  • Cost: Free
  • Intended purpose: Basic code editing with standard functions
  • Notable features and functions: Standard tools like search, find, and replace as well as a variety of plug-ins and language definitions, such as highlighting G-code commands
  • Operating system: Windows

Back to Contents

Advertisement
Best G-Code Editors

G-Wizard Editor

G-Wizard's conversational G-code makes it easy to select a simple function
G-Wizard's conversational G-code makes it easy to select a simple function (Source: CNC Cookbook)

For those of you looking for a simpler method of editing using a visual tool, G-Wizard Editor may be the way you want to go. G-Wizard, created by CNC Cookbook, offers a set of powerful features, including an explanation of what each selected command in your G-code means. It’s used within a number of well-known engineering organizations, like Tesla, NASA, MIT, and Caterpillar.

One popular feature of G-Wizard is conversational G-code, which allows you to select simple functions, like face milling a part, in order to quickly generate G-code without going through the usual time-consuming workflow. Unlike many G-code editors, G-Wizard contains error-checking algorithms that can help prevent G-code errors before they happen, making troubleshooting much easier than before.

G-Wizard offers several pricing tiers, namely a $99 yearly subscription and a lifetime license for $299. If you want to test it out before purchasing, you can try the program free for 30 days.

  • Developer: CNC Cookbook
  • Cost: $99 per year or $299 for a lifetime license
  • Intended purpose: Commercial engineering applications
  • Notable features and functions: G-code command descriptions, conversational G-code, error checking, and a visual interface
  • Operating system: Windows

Back to Contents

Advertisement
Best G-Code Editors

TextPad

It can be quite helpful to be able to change the color of specific lines
It can be quite helpful to be able to change the color of specific lines (Source: Amy Bowser-Rollins via YouTube)

If you’re looking for something a little less pricey but still with some of the bells and whistles of expensive software, TextPad is a great program to try. Like Notepad++, TextPad is in many ways a souped-up version of the standard Windows Notepad.

However, several important features are included with TextPad, including the ability to directly import several G-code files and merge them into a single file without having to copy and paste each file. In addition, you can change the color of a selected line, which can be helpful for extremely long G-code files that require many edits.

This is designed as a middle ground between Notepad++ and more professional software. It isn’t free, but it has support forums and a method for suggesting new features.

  • Developer: Helios Software Solutions
  • Cost: $27 for a single license (with discounts for multiple licenses)
  • Intended purpose: Basic to professional code editing with standard functions
  • Notable features and functions: Similar tools to Notepad++ as well as multiple file insertion and line coloration
  • Operating system: Windows

Back to Contents

Advertisement
Best G-Code Editors

NCPlot

NCPlot has similar functionality to other visual g-code editors
NCPlot has similar functionality to other visual G-code editors (Source: NCPlot)

NCPlot is another option for visual text editing, and it has extensive functionality for editing G-code files. Some of that functionality includes operations like mirroring, rotating, shifting, and scaling a part. It also has a tool to convert text to G-code directly, which can save significant time.

Users of NCPlot appreciate its time estimation feature, which attempts to determine how long it will take to make a part as well as how long particular tools will be used for. This can be particularly useful for maintaining parts based upon the amount of use rather than at a set interval.

Unfortunately, this software does cost significantly more than platforms on our list, coming in at almost $300. However, its functionality makes it worthwhile, as it has just about every type of feature and function you could ask for.

  • Developer: NCPlot Software
  • Cost: $299
  • Intended purpose: In-depth and extensive CNC work
  • Notable features and functions: Standard tools like search, find, replace, rotate, shift, and scale as well as estimation and physical translation tools
  • Operating system: Windows

Back to Contents

Advertisement
Best G-Code Editors

tkCNC Editor

Making G-code offsets is straightforward in tkCNC
Making G-code offsets is straightforward in tkCNC (Source: tkuzmic1 via YouTube)

While tkCNC may not have the most advanced visual display, the lower cost and rich functionality easily make up for it. Apart from standard text editing, it also offers operations like mirroring, translation, and rotation, among others. For AutoCAD users, there’s also a function to convert DXF files to G-code.

With this software coming in at only $99, it’s a good middle ground for those who need more than a simple editor but don’t want to pay typical commercial license prices.

  • Developer: tkCNC Editor
  • Cost: €99 (~$112)
  • Intended purpose: Basic to professional CNC work
  • Notable features and functions: Mirror, translate, rotate, and convert DXF to G-code
  • Operating system: Windows

Back to Contents

Advertisement
Best G-Code Editors

Cimco Edit

This visual editor allows you to see exactly how your G-code will execute
This visual editor allows you to see exactly how your G-code will execute (Source: Cimco via YouTube)

Cimco Edit is a professional tool meant for machinists and engineers who want all the functionality of a G-code editor, regardless of cost. Apart from all of the most common operations, such as translation and rotation, it also allows for infinitely large files, custom macros, file comparison, and detection of collisions and errors.

Cimco has a YouTube channel dedicated to helping you learn the software quickly with 81 videos at the time of writing. Although the software comes in as expensive, the number of features and its smooth integration makes it an option worth considering for those who do a lot of G-code editing.

  • Developer: Cimco
  • Cost: $350 (but varying by region)
  • Intended purpose: Professional machining with all the bells and whistles
  • Notable features and functions: Standard tools like translate and rotate as well as zero program size limitations, custom macros, file comparer, visual interface
  • Operating system: Windows

Back to Contents

Advertisement
Best G-Code Editors

PC-DNC Editor

This comes with many features, such as a spline fitter and a trigonometry solver
This comes with many features, such as a spline fitter and a trigonometry solver (Source: Suburban Machinery Software)

PC-DNC Editor is the most expensive software on our list, coming in at a whopping $595. However, considering that it’s mainly useful for professional and commercial applications, it goes along with other editors in its price range, such as Cimco Edit. Interestingly enough, you can actually run a DNC (distributed numerical control) from this program, which makes it unique on our list.

Conveniently for a multi-port operation, the company offers a free 30-day trial of the software for investigation before you buy, which could be helpful in a large scale commercial application.

  • Developer: Suburban Machinery Software
  • Cost: $595
  • Intended purpose: Professional machining and engineering focused on quality and functionality
  • Notable features and functions: Standard tools like mirror and scale as well as file comparison and trigonometry solving
  • Operating system: Windows

Back to Contents

Advertisement
Best G-Code Editors

NC Viewer

NC Viewer sometimes struggles with some commands
NC Viewer sometimes struggles with some commands (Source: Benjamin Goldschmidt via All3DP)

If you’re looking for a powerful G-code editor that nearly mirrors what you can download with some programs, look no further than NC Viewer. This online G-code editor allows you to both edit and view your G-code in a slicer-like interface. When viewing, you can step or scroll through each movement in order to determine where problematic moves might be.

It should be noted that not all 3D printing commands give the best results on NC Viewer, as the software is tailored to traditional CNC milling operations and not necessarily to 3D printing commands. This is certainly the case with retraction commands like M207.

  • Developer: Xander Luciano
  • Cost: Free
  • Intended purpose: Quick and easy G-code editing
  • Notable features and functions: Line-by-line 3D visual plotting
  • Operating system: Online

Back to Contents

Advertisement
Best G-Code Editors

gCodeViewer

Step through your G-code layer by layer to examine particular movements
Step through your G-code layer by layer to examine particular movements (Source: Benjamin Goldschmidt via All3DP)

gCodeViewer is an online, easy-to-use editor that’s targeted at 3D printing. It even accepts “printer info”, including printer-specific settings like material, cost, and nozzle size. Because of this, you can generate cost estimates for your next project and compare cost differences between G-code edits. And in 2D mode, you can use the scroll bars to walk through a particular layer that may be giving you problems in your print.

Despite all these positive aspects, the downside is that the software doesn’t auto-update, meaning that you’ll have to edit and then re-upload the G-code to see your changes unfold. This is definitely a shortcoming that we wish wasn’t the case, but overall, this free editor is well worth it.

  • Developer: Hudbrog
  • Cost: Free
  • Intended purpose: Standard G-code editing focusing on 3D printing
  • Notable features and functions: 3D printing cost estimation and other cost analysis features
  • Operating system: Online

Back to Contents

Advertisement
Best G-Code Editors

GCode Simulator

GCode Simulator only displays files in a 2D manner
GCode Simulator only displays files in a 2D manner (Source: Benjamin Goldschmidt via All3DP)

On the simpler side of things, GCode Simulator is a 2D G-code editor with no bells and whistles. (If you load a 3D G-code file, it will simply load as though all layers have been squished into a single visual layer.)

Despite this drawback, the tool is nimble and quick. It has a “Simulate” button for running the G-code and a slider to go through it piece by piece.

  • Developer: cncwebtools.com
  • Cost: Free
  • Intended purpose: Simple and effective G-code analysis
  • Notable features and functions: Standard layer-by-layer simulation
  • Operating system: Online

(Lead source image: Repetier)

Back to Contents

License: The text of "10 Best G-Code Editors (Online & Offline)" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.

Stay informed with notifications from All3DP.

You get a notification when a new article is published.

You can’t subscribe to updates from All3DP. Learn more… Subscribe to updates

You can’t subscribe to updates from All3DP. Learn more…

Advertisement
Recommended for you
Advertisement
Advertisement
Advertisement