svg for cnc router
SVG for CNC Router: Prep a Clean Cut File
TL;DR. A CNC router cuts by following vector paths, so a flat PNG or JPG won't machine — you need an SVG (or DXF). Vectorize your image into clean SVG outlines in a few seconds, then import it into CAM software (Carbide Create, Vectric, Fusion 360), delete any background shape, and assign profile, pocket, or V-carve toolpaths.
Convert your file now →A CNC router doesn't cut pictures — it follows paths. Feed it a PNG of your logo and the CAM software has nothing to machine; feed it an SVG and every outline becomes geometry the bit can trace. Here's why the format matters and exactly how to get a clean, CNC-ready SVG from a raster image.
Why won't my PNG work on a CNC router?
A PNG or JPG is a raster image: a grid of coloured pixels with no notion of edges, shapes, or paths. CAM software — the program that turns a design into toolpaths — needs vector geometry: closed outlines that tell the router precisely where to travel, plunge, and lift. Pixels give it nothing to follow.
Most CAM tools will either reject a raster file or import it only as a greyed-out background you have to trace by hand, node by node. An SVG skips all of that. Each traced outline arrives as a real path you can assign to a profile, pocket, or V-carve toolpath — no manual tracing, no guesswork about where the edges are. One catch: if the image has an opaque background, the trace includes it as a full-size background shape, and enclosed areas (the inside of an O or a ring) come out as separate shapes stacked on top rather than as holes. Start from a PNG with a transparent background and you avoid both.
SVG vs DXF for CNC: which should I use?
Both are vector formats, and every major CAM package (Carbide Create, Vectric VCarve/Aspire, Fusion 360, Easel) imports both. They differ in where they come from and how they handle scale.
| SVG | DXF | |
|---|---|---|
| Origin | Web / design tool format | CAD standard (AutoCAD) |
| Carries real-world units | Sometimes (often read as pixels) | Yes — mm or inches |
| Easy to make from a logo/photo | Yes — trace it | No — needs CAD or conversion |
| Editable in CAM | Yes — nodes, offsets, joins | Yes |
| Watch out for | Confirm scale after import | Layer/line-type mismatches |
The short version: DXF wins when exact dimensions are non-negotiable (a bracket that must be 120 mm), because it stores real units. SVG wins when you start from artwork — a logo, sign, or illustration — because you can vectorize it in seconds instead of redrawing it in CAD. The one habit to keep with SVG is checking the scale after import and setting your material size, since SVG units are sometimes interpreted as pixels rather than millimetres.
How do I turn an image into a CNC-ready SVG?
Five steps take you from image to G-code:
- Vectorize the image. Go to swiss-vector-svg.com and drag your PNG or JPG into the drop zone. It traces the artwork into layered vector paths in a few seconds. For a logo or sign, start from the highest-resolution, highest-contrast version you have.
- Check the preview. A watermarked before/after preview appears side by side. If the edges look noisy, re-trace with the Detail slider raised to drop tiny stray shapes, or lower Corner sharpness for crisper corners on lettering. Previewing is free and needs no account.
- Download the clean SVG. Sign in and spend one credit to download the unwatermarked file. It's a standard SVG — nothing CNC-specific baked in, so it opens anywhere.
- Import into CAM and set scale. If the source had an opaque background, first delete the background shape and subtract the inner shapes from the shapes beneath (Inkscape: Path → Difference; Illustrator: Pathfinder → Minus Front) — see how to clean up a traced SVG. Then import the SVG into Carbide Create, Vectric, Fusion 360, or Easel and confirm its size against your material before assigning toolpaths. Scale once, up front, and every cut lands right.
- Assign toolpaths. Map each outline to a profile (cut through), pocket (clear an area), or V-carve (engrave). Set your bit, depth, and feeds, then generate G-code.
For the raster-to-vector step on a specific format, see the PNG to SVG or JPG to SVG converter. The workflow is the same one makers use for laser cutters and Glowforge, which also cut along vector paths.
What designs cut best on a CNC?
Tracing follows flat regions of colour, so high-contrast, hard-edged art gives the cleanest paths:
- Logos, signs, and lettering — crisp edges become crisp toolpaths, ideal for profile cuts and V-carved signs.
- Silhouettes and flat illustrations — a limited palette maps to a few clean outlines you can pocket or cut through.
- Line art and mandalas — bold, closed shapes trace into loops the bit can follow without doubling back.
Photographs and heavily shaded images are a poor fit for any vectorizer: with no flat regions to follow, the trace produces thousands of jagged paths no router can machine cleanly. If a photo is your starting point, simplify it to a silhouette or pick flatter artwork first.
Can I edit the SVG in my CAM software?
Yes. The output is a standard SVG, so once it's imported you can move nodes, join open paths, offset for tool diameter, and delete outlines you don't want to cut — all with the CAM tool's own vector editor. If you'd rather refine it upstream, the same file opens in Illustrator, Inkscape, or Figma before you ever load it into CAM.
That's the entire path from picture to part: vectorize the image, preview, download the clean SVG, clear any background shape, set your scale, and assign toolpaths. The router handles the rest.
Frequently asked questions
- Can a CNC router use a PNG or JPG directly?
- No. CAM software builds toolpaths from vector geometry — closed paths the bit can follow. A PNG or JPG is a grid of pixels with no paths, so most CAM tools either reject it or can only use it as a traced reference. Convert the image to an SVG first and the outlines import as real, machinable geometry.
- SVG or DXF — which is better for CNC?
- Both are vector formats every major CAM tool imports. DXF is the older CAD standard and carries real-world units, so it's the safest choice when exact dimensions matter. SVG is easier to produce from artwork and logos and imports cleanly into Carbide Create, Vectric, and Fusion 360 — just confirm the scale after import, since SVG units can be read as pixels.
- How do I convert a logo to an SVG for CNC?
- Drop the logo image on swiss-vector-svg.com. It traces the artwork into layered, filled vector shapes in a few seconds; preview the result free and download the clean SVG for one credit. A PNG with a transparent background gives the cleanest file. From an opaque image, delete the background shape and subtract the inner shapes from the shapes beneath, then import the SVG into CAM and assign toolpaths.
- Why does my traced SVG have doubled or open paths?
- Tracing outlines each colour region as a filled shape, so a thin drawn line becomes a narrow shape with two edges instead of one centreline. For profile and pocket cuts that's fine. From an opaque image you also get a full-size background shape, and enclosed areas like the inside of an O arrive as separate shapes stacked on top rather than holes. For single-line V-carving, start from bold, high-contrast art and raise the Detail slider to drop stray specks.
Ready to convert?
Drop your file, preview the trace free, and download a clean SVG.
Open the converter →