Skip to main content

Guide

DXF vs SVG for Laser Cutting: Which Should You Use?

By Amir Baker, founder of StencilCut · Updated

DXF and SVG are vector formats that can carry laser paths, but they represent drawings differently and import behavior depends on both the exporter and your laser software. The practical choice is the format your documented workflow imports with the intended geometry and physical dimensions.

Convert an image to SVG + DXF

What each format is

SVG (Scalable Vector Graphics) is an XML format for paths and other web graphics. DXF (Drawing Exchange Format) is a CAD exchange format. Software support varies, so a format name alone does not prove that every path, layer, unit, or text object will import as intended.

The units gotcha

Wrong-size imports usually come from a mismatch between export units and import assumptions. An SVG can declare physical dimensions and a viewBox, while an importer may interpret pixel-based content at a selected DPI. A DXF may also require the importer to choose the drawing unit. Set the intended millimetre dimensions before export, then measure the complete design after import.

Choose from documented support

Current LightBurn and xTool Creative Space documentation lists both SVG and DXF as supported imports. LightBurn also exposes separate SVG DPI and DXF unit preferences. For any other application, check its current import documentation instead of assuming that a machine brand or CNC workflow accepts both formats.

Export both, then verify

StencilCut can export both formats from the same design. Import the suitable file into your documented workflow, select the complete design, and compare its Width and Height with the expected physical dimensions. Also inspect curves, closed paths, layers, and operation assignments before running the machine.

Further reading

Try it yourself

Turn a photo into a laser-ready file in about a minute, free, in your browser.

Convert an image to SVG + DXF

Frequently asked questions

Is SVG or DXF better for laser cutting?

Neither is always better. Use a format your current software documents as supported, then verify geometry and physical dimensions after import.

Does LightBurn prefer DXF or SVG?

LightBurn documents both as imports. Choose the format that fits your source workflow, and check the SVG DPI or DXF unit preference plus the selected design dimensions.

Why does my SVG import at the wrong size?

The exporter and importer may disagree about physical units or pixel DPI. Export with explicit dimensions, check the importer DPI setting, and compare the imported Width and Height with the expected size.

Can I export both?

Yes. Import each into the intended software and compare its paths and dimensions. Supported import does not guarantee correct machine settings.