Cutline Studio

G-code

A G-code generator for CNC routers that knows your machine

Cutline Studio generates G-code for Grbl and Mach3/Mach4 CNC routers from three starting points: a DXF, an SVG, or a plain-language description of the project. It offsets every cut for your bit, cuts pockets to their real depth, adds holding tabs and dogbones, and sets feeds and speeds your machine can run. On a Grbl machine it can also run the job for you with Cutline Control (beta).

Updated November 27, 2026.

What goes into good G-code

A G-code file is just moves and numbers, but small mistakes ruin parts. A generator has to get these right:

Three ways to start

From a DXF or SVG

Import the drawing, choose which shapes are cut out, which are holes and which are pockets, check the toolpath preview and save. Basic mode asks a few questions and does the rest; Advanced mode exposes every property. Step by step: DXF/SVG to G-code.

From a description

Type "a wall shelf 30 inches wide with three shelves" and Cutline Studio designs the parts, sizes the joints to your plywood, nests them on your sheet and generates the G-code. How project design works.

From a ready-made project

Every CNC project on this site comes with DXF files to open in Cutline's CAM, and many include tested G-code.

Controllers

Output is standard G-code for Grbl (Shapeoko, LongMill, X-Carve, Onefinity, OpenBuilds, 3018 machines) and Mach3/Mach4, saved as .nc by default. On a Grbl, grblHAL or FluidNC machine you can run it straight from Cutline Studio's Machine tab with Cutline Control (beta): jog, set zero, start, pause, change the feed and resume from a line, with your phone as a remote on the same Wi-Fi (it is not an emergency stop). You can still run the file in gSender, Candle, Universal G-code Sender, Carbide Motion or Mach3/Mach4. Grbl and Mach3 senders compared.

More guides: Grbl alarm and error codes · feeds and speeds for plywood · DXF/SVG to G-code · all guides

FAQ

Is there a free G-code generator?
Cutline Studio has a 7-day free trial that includes saving G-code, and one free design in the browser demo. After the trial it's $15 a month, $129 a year, or $149 once.
Can it make G-code from an image or photo?
For furniture, yes: Clone rebuilds a piece from a photo and one size you know, then makes the parts, plans and G-code (how Clone works). For a logo or shape you want to cut out, trace the image into an SVG first (Inkscape's Trace Bitmap works), then import the SVG. It doesn't do photo engraving or relief carving.
Does it write G-code for laser engravers or 3D printers?
No. It writes router G-code for 2D and 2.5D work: profiles, pockets, engraving along a path and drilling.
Can I edit the G-code afterwards?
Yes. It's a plain text file you can open in any text editor, though it's usually easier to change the setting in Cutline and save again.

Try Cutline Studio

Design one project free in your browser, or download the 7-day free trial for Windows 10 and 11.

Try it in your browser Download free trial

← Back to Cutline Studio