DXF vs SVG: Which File for Laser and Cricut
DXF vs SVG for lasers, Cricut and CNC: units, curves, layers, what each program imports, and one snowflake stencil in every format with real file sizes.
Last updated: 2026-12-02
DXF vs SVG comes down to who reads the file: SVG is the web vector format that Cricut, Silhouette Designer, Glowforge and lasers all take, while DXF is the CAD format read by CNC and CAD software, most laser programs and the free Silhouette Basic Edition. Both can carry a real size. To show the difference, we exported one free stencil in every format and put the real files, sizes and first lines side by side.
One stencil, every format: real file sizes
The design is the snowflake stencil from our free gallery, set to 100 mm wide on a 124 × 124 mm sheet. Download all five files in one snowflake-every-format.zip (94,127 bytes).
| File | What it is for | Size |
|---|---|---|
| snowflake-100mm-cricut.svg | Filled shapes for Cricut and Silhouette | 37,740 bytes |
| snowflake-100mm-laser.svg | 0.1 mm red hairline for lasers | 37,753 bytes |
| snowflake-100mm-mm.dxf | DXF R12, millimetres | 208,172 bytes |
| snowflake-100mm-inch.dxf | DXF R12, inches | 200,966 bytes |
| snowflake-100mm.pdf | Real-size PDF to print and check | 40,029 bytes |
The same outline is about five and a half times larger as DXF. The snowflake is 3 closed curves. In the SVG they are Bézier curves; in the DXF they are 3 closed polylines with 3,867 vertices between them.
Where the size lives in each file
Here are the first lines of the SVG:
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="124mm" height="124mm" viewBox="0 0 124 124"><title>snowflake 100 mm</title>
<g id="stencil"><path fill="#000000" fill-rule="evenodd" d="M61.875 16.833C61.951 16.758 61.958 16.811 62 16.8 …"/>
width="124mm" gives the physical size, and the viewBox of 124 × 124 makes one drawing unit exactly 1 mm. The C in the path data is a cubic Bézier curve.
And the first lines of the millimetre DXF, which is a list of group codes and values:
0
SECTION
2
HEADER
9
$ACADVER
1
AC1009
9
$INSUNITS
70
4
9
$MEASUREMENT
$ACADVER AC1009 says DXF R12. $INSUNITS with value 4 says millimetres; the inch file has 1 there.
DXF vs SVG: units
SVG. In SVG 1.1 a number with no unit is a user unit, and one user unit is one CSS pixel (W3C SVG 1.1). CSS fixes 1 in = 96 px = 2.54 cm, and 1 pt = 1/72 in (W3C CSS Values). Two common traps follow from that:
- Adobe Illustrator writes sizes in unitless px at 72 per inch, so a program that reads 96 per inch shows the art at 75% (72/96), and the other way round at 133% (LightBurn forum).
- Inkscape before 0.92 used 90 px per inch; 0.92 moved to 96 to match CSS, a 6.7% difference (Inkscape 0.92 release notes).
The fix is to write width and height in mm or in, with a matching viewBox, as our files do.
DXF. The header variable $INSUNITS holds the drawing unit: 0 unitless, 1 inches, 2 feet, 4 millimetres, 5 centimetres, 6 metres, and more (Autodesk DXF reference). With 0 the importing program guesses. A part that comes in 25.4 times too big or small is an inch/mm mix-up; one 3.78 times off usually came from an Inkscape document left in px (Inkscape bug 1643383). Some older readers ignore $INSUNITS altogether, which is why this ZIP has both a millimetre and an inch DXF: pick the one that matches your software's unit.
Curves, layers and colours
The second half of the DXF vs SVG story is what happens to the shapes themselves.
Curves. SVG has Bézier curves and arcs. DXF R12 has no spline or lightweight polyline entity, so curves become POLYLINE vertices or arcs and lines (Autodesk R12 reference). We write closed polylines because R12 is still the flavour older laser and CAM programs accept most reliably. The cost is mostly file size: the segments are short enough that the cut follows the curve.
Layers and colours. An SVG carries colours and groups; a DXF carries named layers. Our stencil DXF puts the outline on a layer called STENCIL. The SVG to DXF converter turns each SVG colour into its own DXF layer, so cut and engrave lines can get different settings in LightBurn. Multi-layer stencils come as one SVG per spray layer.
What each program imports
| Program | Vector files it imports | Notes |
|---|---|---|
| Cricut Design Space | SVG, DXF | Uploaded SVG paths all import as cut lines; one note says DXF is not supported on iOS/Android (Cricut help) |
| Silhouette Studio | Basic (free): DXF. Designer and up: SVG and PDF too | Give free-edition users a DXF (Silhouette America) |
| Glowforge app | SVG, PDF; DXF only for Premium members | JPG and PNG are engrave only (Glowforge support) |
| xTool Creative Space | SVG, DXF; not AI or PDF | SVG text is not rendered, convert it to paths; has a DXF auto-close tolerance (xTool support) |
| LightBurn | SVG, DXF, AI, HPGL/PLT | SVG 96 or 72 DPI switch; DXF unit auto-detect (LightBurn docs) |
DXF vs SVG: which to choose
- Cricut Design Space: the filled SVG.
- Silhouette Studio Basic: the DXF. Designer Edition or higher: the SVG.
- Glowforge: the laser SVG, unless you have Premium and prefer DXF.
- xTool or LightBurn: either. The SVG is smaller and keeps true curves; the DXF suits older software. Our guide to importing into LightBurn has calibration files to check the size.
- CNC router, CAD or CAM: the DXF in your machine's unit.
- Hand cutting or checking the size: the real-size PDF.
You rarely have to choose in advance with us: every download from the stencil maker is one ZIP with SVG, DXF, a real-size PDF, a PDF tiled on A4 or Letter and a PNG. Starting from a logo or photo for a laser or CNC? Image to DXF traces it into outlines.
Convert an SVG to DXF
Keeps the SVG's physical size; mm and inch DXF. Preview free, the ZIP is 10 credits.
Related: stencil bridges, mylar stencil thickness and the free stencils, each with SVG, DXF and PDF.
Frequently asked questions
DXF vs SVG: which is better for laser cutting?
Both work in LightBurn and xTool Creative Space. SVG keeps smooth curves in a small file; DXF is the safer choice for CAD and CNC software and for older laser programs. What matters more is that the file states its unit, so it imports at the right size.
Why is the DXF so much bigger than the SVG?
SVG stores a curve as a few Bézier control points. Our DXF R12 files store it as a closed polyline of many short straight segments, and every vertex takes several lines of text. Our 100 mm snowflake is 37,740 bytes as SVG and 208,172 bytes as DXF.
Can Cricut Design Space open a DXF?
Yes, Cricut lists both SVG and DXF for vector uploads, though one note on the same help page says DXF is not supported on the iOS and Android apps. Silhouette Studio Basic Edition opens DXF but needs Designer Edition or higher for SVG.
Why does my SVG import at the wrong size?
Usually because its size is in pixels with no unit. The SVG standard fixes 96 px per inch, but Illustrator writes 72 px per inch, so a program reading at 96 shows the art at 75%. Write the size in mm or inches, or set the import DPI to match.
Can I convert an SVG to DXF and keep the size?
Yes, if the converter reads the SVG width, height and viewBox and writes $INSUNITS into the DXF. Our SVG to DXF converter does both and writes one DXF in millimetres and one in inches.