GRBL 1.1 Laser (M4) & 3-Axis CNC · Nearest-Path Travel Optimizer

SVG to G-Code Generator for Laser & CNC

Generate clean GRBL G-Code directly from SVG vectors in your browser. Automatically detect and remove overlapping double-burn edges, set feed rate, laser power or multi-pass Z-depth, and preview every line of code before downloading.

Drop your SVG file here, or click to browse

Instant client-side analysis for Open Paths & Duplicate Lines. Export clean DXF for LightBurn, AutoCAD & Silhouette.

Max 15 MB · 100% local in your browser (very large files may take a moment)

No SVG handy? Try a built-in laser cutting test sample:

LaserGRBL & Diode Laser Ready

Outputs standard GRBL 1.1 dynamic laser power commands (M4 S0–S1000) with automatic M5 laser-off rapid moves—compatible with xTool, Ortur, Atomstack, Sculpfun, and DIY GRBL lasers.

3-Axis CNC Multi-Pass Depth

Switch to CNC Router mode to configure spindle RPM, Safe Z retract height, plunge rate, total cut depth, and per-pass step-down for UGS, Candle, or Mach3.

Built-In Double-Burn Prevention

Powered by the CutPathFix repair engine—strip out overlapping shared edges and close open contours before generating toolpaths so your machine never chars wood twice.

Frequently Asked Questions

What do the semicolons (;) mean in the generated G-Code? +

In GRBL and standard G-Code, lines or text starting with a semicolon (;) are human-readable comments that your laser or CNC controller safely ignores.

Does this support both mm (G21) and inches (G20)? +

Yes! Toggle between G21 (mm) and G20 (inch) and lock your exact workpiece width or height before downloading your .gcode or .nc file.