Free online CAM export

SVG to G-code converter

To convert an SVG to G-code free, open the CADdillo editor in your browser (free account, no card, nothing to install), choose File ▸ Import SVG, set the real-world scale, select the shapes to cut, then File ▸ Export G-code (CAM). Download G-code for GRBL, Marlin, LinuxCNC or Mach3/Mach4, with real cutter compensation.

Cut vector artwork on a CNC router with real cutter compensation and a scale you set deliberately rather than one a converter guessed. G-code for GRBL, Marlin, LinuxCNC or Mach3/Mach4, free, in a browser tab.

Post processors and the file each one writes
Post processorFileTypical machine
GRBL .ncHobby and prosumer routers, lasers
Marlin .gcode3D-printer firmware machines, diode lasers
LinuxCNC .ngcLinuxCNC mills and routers
Mach3 / Mach4 .tapMach-controlled mills and routers

Operations: Profile (outside, inside or on the line), Pocket and Drill. Scale presets 1:1, 96 dpi, 72 dpi, mm, or calibrate.

Convert SVG to G-code in 4 steps

  1. File ▸ Import SVG. Open app.caddillo.com and pick your .svg. Parsing runs in the browser, so the artwork stays on your machine. Paths, rectangles, circles, polygons, nested groups and transforms all come across.
  2. Set the scale — do not skip this. SVG carries no real units, so you tell CADdillo what one unit means. Presets cover 1:1, 96 DPI, 72 DPI and millimetres, or import and calibrate: click across a distance you know, type the true dimension, and everything rescales. Get this right and the part fits; get it wrong and you cut expensive confetti.
  3. Select the shapes to cut. Click the shapes you want to cut; select several to cut them in one file. A Pocket, or a cut inside or outside a shape, needs a closed shape (closed polyline, rectangle or circle), because that is what gives the cutter an inside and an outside. With no closed shape selected, a Profile cuts each open line, arc or polyline, on the line or offset to one side. Under Profile, a selection that mixes closed and open shapes skips the open ones, so cut those in a second export. The laser cuts every selected path. If a path you want to pocket or cut inside or outside has a gap — common in exported artwork — the editor’s join and trim tools close it in a couple of clicks.
  4. File ▸ Export G-code (CAM). Pick the machine (router or laser), the post processor and the operation — Profile, Pocket or Drill — then tool diameter, cut depth, stepdown, cutter side, feed rate and safe Z. Check the offset toolpath drawn on the canvas and the time estimate, then download the G-code file.

Checked against the converter on .

The two things that decide the part

Scale and offset

Everything else in this workflow is convenience. These two are the difference between a part that fits and a piece of scrap, and they are exactly where the quick browser converters cut corners.

Scale — decided, not assumed

SVG has no physical units. A converter that hardcodes 96 DPI is guessing on your behalf, and the guess is wrong often enough to matter. CADdillo asks, offers the standard conventions, and lets you calibrate against a dimension you can measure.

Offset — computed in the geometry

The toolpath is displaced by half the tool diameter to the side you pick, so the finished edge lands on the line you drew. Cut a 100 mm shape outside with a 3.175 mm endmill and the path spans 103.175 mm — the part measures 100 mm.

What people cut this way

Where SVG is the natural source

Signage and lettering

Logos and cut letters live as vector artwork and end up on a router. This is the whole path from Illustrator file to cut acrylic.

Inlays and decorative panels

Ornament, patterns and traced outlines are natural SVG work. Cutting them needs real offsets, or the inlay will not seat.

Downloaded outlines

Icon sets, maps and silhouettes come as SVG. Turning one into a physical part is exactly this workflow.

Design tools that cannot do CAM

Figma, Illustrator and Inkscape stop at the drawing. This picks it up from there without a CAM package.

Keep exploring

Related tools

If the artwork is a photo rather than vector, size and convert it first at imageinseconds.com — free, in the browser, no upload.

Answers

SVG to G-code, answered

How do I convert an SVG to G-code for free?

Open app.caddillo.com, choose File ▸ Import SVG, set the scale, select the shapes you want to cut, then choose File ▸ Export G-code (CAM). Pick the post processor and operation, fill in the tool and depth values, check the toolpath preview, and download the G-code file. Free, in a browser tab, with no CAM software to install.

Why does the scale step matter so much here?

Because unlike a screen render, a cut is physical and unforgiving. An SVG says a shape is 240 units wide; the machine needs to know whether that is 240 millimetres or 2.5 inches. Most quick svg-to-gcode converters silently assume 96 DPI, and when that assumption is wrong you find out after the endmill has been through your stock. CADdillo asks once, offers the standard conventions, and lets you calibrate against a dimension you can verify — which takes about twenty seconds and eliminates the entire class of problem.

How is this different from the free svg2gcode tools?

Two things, both of which show up on the finished part. First, real cutter compensation: the toolpath is offset by half your tool diameter in the direction you choose, so a 100 mm shape cut on the outside actually measures 100 mm rather than 100 mm plus a tool width. Most lightweight converters emit the path on the line and leave you to work out the error. Second, an explicit scale decision instead of a hardcoded DPI guess. There is also multi-pass depth stepping and a backplot preview, but the compensation is the part that determines whether the part fits.

What happens to curves in the artwork?

Bezier curves are tessellated to a tight chord tolerance and cut as a dense path. Where the SVG contains a genuine circle or arc and the transform is uniform, it is preserved as a true circle or arc, which cuts cleaner and produces a much smaller file than a chorded approximation. Text is imported as text and needs converting to outlines in your design tool first if you intend to cut the letterforms themselves.

Why will my shape not pocket or cut inside or outside?

Almost always a gap. Any shape selects, but a Pocket, or a cut inside or outside, needs a closed shape, and exported artwork frequently has paths that look closed on screen but have endpoints a fraction of a unit apart, so there is no defined interior to cut around. Zoom in on the corners and use join to close the path. An open path still cuts as a Profile, on the line or offset to one side, and the laser cuts it as it is. The gap is the single most common snag in the whole workflow and it takes seconds to fix once you know to look for it.

What machines will run the output?

There are four post processors. GRBL (.nc) runs most hobby routers — Shapeoko, X-Carve, Onefinity, MPCNC, 3018-class mills — loaded through Universal Gcode Sender, cncjs, Candle or Carbide Motion; Marlin (.gcode) covers 3D-printer firmware machines and diode lasers; LinuxCNC (.ngc) and Mach3/Mach4 (.tap) have their own. The file is plain G-code with G21/G20 units, G90 absolute positioning, rapids at safe Z, feed moves and true G2/G3 arcs, so it is readable before you run it. For a laser rather than a router, there is a laser toolpath mode; check the header and your power/speed settings before firing.

Set the scale. Cut the part.