Browser-Based CNC CAM Tool

Free Online SVG to G-Code Converter

Convert vector SVG graphics into clean, verified CNC machine toolpaths in seconds. Pocket clearing, contour cutouts, and 3D V-carving with interactive simulation directly in your web browser.

Start Generating G-Code Right Now

No registration, credit card, or software installation needed. Drag and drop your SVG into the interactive toolpath planner.

Open SVG to G-Code Generator →

How to Convert SVG to G-Code in 4 Easy Steps

1

Import SVG Vector

Drop any standard SVG from Inkscape, Illustrator, or Figma. RouterCut flattens complex Bézier curves into high-precision polylines using a pure Rust engine.

2

Select Tool & Cut Strategy

Choose your endmill or V-bit diameter, set stepover, safe Z height, cut depth, and select an operation: pocket clearing, profile cutout, or V-carving.

3

Simulate in 3D

Watch continuous material removal in an interactive 3D viewport. Verify lead-in ramps, stepdowns, and total estimated machining time before cutting.

4

Download G-Code

Export fail-closed, safety-verified G-code formatted for your specific CNC machine controller (GRBL, Marlin, Mach3, LinuxCNC, or Fanuc).

Supported G-Code Dialects & Controllers

Dialect Common Machines / Controllers Specific Features
GRBL / GRBLhal Shapeoko, X-Carve, OpenBuilds LEAD, 3018 CNC, Onefinity, Sienci LongMill Standard G0/G1/G2/G3, M3/M5 spindle control, M8 coolant, millisecond dwells
Marlin MPCNC (Mostly Printed CNC), LowRider CNC, converted 3D printers Millisecond dwells, fan coolant control via M106/M107, feed override protection
Mach3 / Mach4 Benchtop routers, Stepcraft, Avid CNC, commercial routers G17/G40/G49/G80 setup header cancel blocks, feed mode G94
LinuxCNC Industrial conversions, Mesa cards, retrofit CNC mills Absolute coordinates G90, metric G21, safe Z retract clearance
Fanuc Industrial production machining centers Percent wrapper, sequence numbering, O-program numbering

Why RouterCut Instead of Heavy CAM Software?

Zero Installation & Cloud Independence

Traditional CAD/CAM software like Fusion 360 or Vectric VCarve requires gigabytes of installation, high-end workstations, or steep recurring monthly subscriptions. RouterCut runs directly in your browser with WebAssembly, loading instantly on any laptop, Mac, Chromebook, or Windows PC.

Safety-First Fail-Closed Motion

Many online G-code generators create dangerous motion files that rapid XY at material height or fail to spin up the spindle. RouterCut enforces strict fail-closed safety checks: every rapid move occurs strictly at safe Z, spindle spin-up dwells are respected, and empty or non-cutting jobs are rejected immediately.

Try the Free Online Converter Now →