Vectorr

DXF vs SVG for CNC and Laser Cutting

Compare DXF and SVG for CNC routers, laser cutters, and plasma tables. Learn which format your machine prefers and how to prepare files for reliable cuts.

DXF and SVG are both vector formats, but they serve different ecosystems. DXF comes from CAD and is the native language of CNC routers, laser cutters, and plasma tables. SVG comes from web graphics and design software. Both describe paths, but they differ in what else they carry, how strictly they define units, and how reliably they import into machine control software.

What each format carries

DXF (Drawing Exchange Format) is Autodesk's interchange format for CAD drawings. It stores lines, arcs, polylines, splines, and circles with explicit coordinates and units. It has no concept of stroke width, fill color, or gradients — only geometry and layer membership. This simplicity is why it works reliably in CAM software: there is no ambiguity about what gets cut.

SVG (Scalable Vector Graphics) is a web standard that describes shapes, strokes, fills, colors, gradients, text, and effects. It is far more expressive than DXF, but that expressiveness creates ambiguity. A thick stroke in SVG might be a centerline cut or an outline cut depending on how the software interprets it.

Which format CNC and laser software prefers

Most industrial CNC, laser, and plasma control software was built for DXF. RDWorks, LightBurn, Mach3, and Fusion 360 CAM all import DXF natively. They often accept SVG too, but the import path is less mature. Consumer-grade cutting tools like Cricut Design Space and Silhouette Studio prefer SVG. When in doubt, DXF is the safer bet for precision work.

Units and scaling

DXF files declare units explicitly: millimeters, inches, or another measure. SVG units are more ambiguous. Many design tools export in pixels without a physical declaration. Always verify the imported dimensions before cutting. Include a reference shape of known size to catch scaling errors.

Path topology

CAM software expects closed paths for interior cuts and open paths for engraving. DXF makes this distinction clear. SVG can have unclosed paths that render with a fill, which confuses software. Before exporting SVG for cutting, close every path you want cut. DXF also handles arcs and circles as native entities, not approximated bezier curves.

Layer and color conventions

DXF uses layers to organize geometry. Each entity belongs to one layer, and the layer name often indicates the operation: "CUT", "ENGRAVE", "SCORE". SVG does not have formal layers. Many laser cutters use stroke color to distinguish operations: red for cutting, blue for engraving. This is a convention, not a standard.

Conversion between formats

Converting DXF to SVG is straightforward. Use our DXF to SVG converter. Converting SVG to DXF requires simplification. Strokes must be converted to centerlines or outlines. Use our SVG to DXF converter and inspect the result before cutting.

Text handling

Both formats support text, but neither should carry live text into a cutting workflow. Always outline text — convert it to paths — before exporting for cutting.

When to use DXF

  • Industrial CNC routers, laser cutters, plasma tables
  • CAM software like Fusion 360, RDWorks, LightBurn
  • Files needing explicit unit declarations
  • Multi-layer jobs where layer names control operations
  • Work requiring native arcs and circles

When to use SVG

  • Hobbyist cutters: Cricut, Silhouette, Glowforge
  • Software that explicitly asks for SVG
  • Files needing editing in design tools before cutting
  • Jobs where color-coded strokes are standard

Frequently Asked Questions

Can I use SVG for professional CNC work?

You can, but DXF is more reliable. Industrial CAM software treats DXF as primary. If the job matters, use DXF or test thoroughly.

Why does my SVG import at the wrong size?

The file likely uses pixels, and your CAM software interprets them as millimeters. Export with explicit units or convert to DXF. Always include a reference dimension.

Which format for Glowforge?

Glowforge accepts both but is designed around SVG. It reads stroke colors to assign operations.

Do I need CAD software to make DXF files?

No. Design in Inkscape or Illustrator and convert SVG to DXF with our converter.

Can DXF store colors?

DXF can assign colors to layers, but CAM software typically ignores them. Layers are the meaningful organizational tool.

How do I convert without losing precision?

Both formats store floating-point coordinates, so conversion is lossless geometrically. Use our converters and verify dimensions.

Should I simplify paths before exporting?

Yes. Remove redundant nodes and simplify curves. See our path optimization guide.

Put this into practice

Upload an SVG and see exactly where the bytes go, or convert a raster image to a clean vector. No signup required to preview.