CAD file in, G-code out

step2gcode converts STEP, DXF and SVG files into machine-ready G-code for CNC milling and laser cutting, right in the browser – for GRBL, Mach3 and LinuxCNC. No installation, no account, free.

The tool does not load in this view without JavaScript. To generate G-code, open www.step2gcode.com in your browser.

Like a slicer, but for router and laser

In 3D printing the path is obvious: STL into the slicer, pick a profile, print. In CNC machining, a full CAM package traditionally sits between the CAD file and the machine. step2gcode applies the slicer principle to routers and lasers: upload the file, choose material and tool, download the G-code.

Why not just classic CAM?

  • Many manual clicks: In classic CAM, every pocket, hole and contour is created, assigned and parameterized as a separate operation. step2gcode detects the machining features automatically from the geometry.
  • Error-prone: A forgotten toolpath, a wrong depth or an overlooked detail often only shows up at the machine. Because step2gcode creates all operations automatically, such slips never happen in the first place – and you check the complete result in the 3D preview.
  • Expert knowledge required: Classic CAM packages demand training and onboarding. Here, material and tool diameter are enough – sensible feeds, speeds and step-downs come from the presets.

What step2gcode does

  • Contours, inner contours, pockets, holes and chamfers are detected automatically from the geometry
  • Nesting: arrange multiple parts with quantities space-efficiently on one sheet and machine them in a single job
  • Holding tabs, ramp entry and material presets from wood to aluminum
  • 3D preview of the complete toolpath before download
  • Laser mode for DXF and SVG: cutting and engraving with dedicated material presets
  • Post-processors for GRBL, Mach3 and LinuxCNC

Your file stays your file

No cookies, no tracking, no sharing: uploaded files are processed solely to generate the G-code and deleted automatically after 24 hours at the latest. Hosted in Germany.

Frequently asked questions

Which file formats can I upload?

step2gcode processes STEP/STP (real 3D solids, depths are detected automatically), DXF (2D contours, depth is specified during generation) and SVG (graphics and logos, e.g. from Inkscape). All three formats work for milling; DXF and SVG additionally work in laser mode.

What happens to my uploaded file?

Your file is processed solely to generate the G-code and deleted automatically after 24 hours at the latest. There is no analysis, no sharing and no permanent storage. The site sets no cookies and no trackers and is hosted in Germany.

Which controllers is the G-code suitable for?

step2gcode generates G-code for GRBL, Mach3 and LinuxCNC. The matching post-processor is selected before download; custom preambles and closing sequences can be adjusted.

Can I use milling and laser cutting in the same tool?

Yes. The mode switcher toggles between CNC milling (STEP, DXF, SVG with endmill or V-bit) and laser mode (cutting or engraving DXF and SVG, with kerf compensation and material presets for power and speed).

How does nesting work?

Upload multiple DXF, SVG and STEP parts with quantities, specify the sheet size, and step2gcode arranges the parts space-efficiently, with rotation and adjustable spacing. The G-code for all parts is generated in a single pass, without intermediate exports.

Milling know-how: best practices for clean CNC parts