SVG vs DXF for Laser Cutting, CNC and Design
SVG carries graphics for design and web applications. DXF exchanges CAD drawing data. For laser and CNC work, choose the format your receiving software reads correctly, then verify scale, geometry and operation assignments.
Choose the format the next application expects. If the file already imports cleanly at the right size, keep it and skip the conversion entirely.
Short answer
Use SVG for browsers, illustration software and laser software with a reliable SVG importer. Use DXF when the next application or shop expects CAD data. Neither format is inherently more accurate: the exporter, importer, scale and geometric tolerance determine the result.
This guide covers 2D vector geometry. Raster images need vectorization when you require paths; raster engraving is a separate workflow. Choose Contour Vectorization for closed cutting profiles, Centerline Vectorization for paths along the middle of drawn strokes, or Tonal Line Vectorization for open engraving and plotting linework from photos.
SVG and DXF exports supply geometry. The operator still assigns operations and configures the machine job.
- Receiver specifies a format and version: follow that specification.
- Browser graphics or illustration work: SVG preserves the visual styling.
- CAD drawing exchange or CAM handoff: DXF is commonly supported; confirm the version and entities accepted.
- Both formats import correctly: keep the existing format and avoid an unnecessary conversion.

What DXF actually is
DXF (Drawing Exchange Format) is Autodesk's exchange format for CAD drawing data. It carries named layers, blocks, dimensions, hatches and entities such as LINE, ARC, CIRCLE, LWPOLYLINE and SPLINE.
A circle can remain a CIRCLE entity with an explicit center and radius. Some CAM tools use circles for hole selection, but a circle could also describe a pocket, an outside profile, or a marking. The operator chooses the operation. SVG also supports native circles.
Named layers help organize geometry for selection or configured mapping rules. A name such as CUT_OUTER suggests a role; it does not configure a cut. Confirm the requested DXF version and SPLINE support before exporting.
- Parts and profiles from AutoCAD, Fusion 360, SolidWorks, or FreeCAD.
- CAD drawing exchange that needs dimensions, annotations, or blocks.
- Fabrication handoff where the shop or CAM application requests DXF.
What SVG actually is
SVG (Scalable Vector Graphics) is a W3C XML format for vector graphics and mixed vector/raster content. It carries paths, text, fills, strokes, clipping and other appearance features. Browser rendering and machine-software import do not necessarily interpret those features alike.
Width and height establish the viewport; viewBox maps drawing coordinates into it. A viewBox alone does not set a physical size. Transforms and aspect-ratio handling also affect the result. Explicit physical dimensions clarify the intended size, but you must still measure the imported geometry.
LightBurn matches imported colors to its layer palette. Use its exact RGB values and verify the assignments: other colors may be remapped. Black maps to layer 00 and has no fixed cut or engrave meaning. Check each layer's mode, output state and machine settings, including any settings already stored in the destination project.
- Vector files from Illustrator, Inkscape, Affinity Designer, or Figma.
- Browser assets and illustrations that need visual styling.
- Laser workflows where the receiving software imports SVG reliably.

Common SVG and DXF import failures
Check these six file-preparation and import failures before setting up the machine job.
- Wrong size: SVG exports may omit physical dimensions; LightBurn also offers 96 and 72 DPI import options for differing export conventions. These control import scale, not engraving resolution. DXF exporters, including Illustrator, have separate scale and unit controls. The $INSUNITS declaration may be missing, incorrect, or ignored. Standard R12 has no $INSUNITS header variable: state what one drawing unit represents and select that unit on import. Measure a known feature even when the file declares millimeters.
- Appearance differs from geometry: a filled preview does not prove a closed contour. A thick stroke can be rendered around a single center path; expanding it creates boundary geometry. Clipping may hide paths that conversion exposes. Inspect compound-path holes and self-intersections. Expand a stroke only when you need its boundaries.
- Unsupported text: a missing font or unsupported text entity can change or remove lettering. Convert lettering intended for fabrication to paths and retain editable text in the master. Check the resulting outlines and holes.
- Curves outside tolerance: coarse approximation can alter a profile; excessive segmentation can increase processing load or affect motion on some systems. Check geometric deviation rather than node count alone. DXF polylines can contain circular arcs through bulge values. Ask about SPLINE support and test the chosen export representation.
- Duplicate or overlapping paths: these can cause repeated machining unless software removes them. Extra laser exposure can increase charring, melting, or dimensional error. Remove unintended duplicates and inspect the generated toolpath.
- Unclosed boundaries: open paths are valid for scoring, marking and line-following cuts. Region-based operations, such as LightBurn Fill or a closed pocket, need closed boundaries. Some tools also offset open paths, with the side and end treatment chosen explicitly.


Verify dimensions, geometry and layer assignments after import. Then review operations and the generated toolpath or laser preview; a clean import alone does not establish a runnable job.
The Laserlinez converter provides a preflight check and a JSON conversion report. Review dimensions, layer assignments, warnings and cleanup against the intended design: small features and gaps may be intentional. Prefer an existing preset DXF when it already meets the receiver's requirements.
What conversion does and does not carry
SVG appearance does not transfer reliably through geometry-focused DXF conversion. CAD equivalents exist for some features, but support depends on the converter and importer. Resolve clipping into the intended vector geometry; simply removing a mask can expose unwanted paths. Rasterizing an effect does not create cutting geometry. CSS may also carry colors used for layer assignment.
DXF-to-SVG conversion can preserve appearance while losing editable CAD structure. Check blocks, hatches, dimensions, fonts and linetypes. Any 3D content needs a defined 2D view or projection.
For fabrication, export the geometry needed for cutting, scoring, or engraving. Remove construction objects and keep reference dimensions and notes separate from machining geometry.

A reliable file handoff
- 1
Keep the editable master
Retain the native CAD or design document, including editable text. Export a delivery copy for each revision. Test a representative export in the receiving application before committing to production.
- 2
Prepare the intended geometry
Convert fabrication lettering to paths, resolve clipping and remove construction objects. Check boundaries, holes and intentional openings. For print-driver lasers, follow the specific driver's stroke-width convention; there is no universal SVG hairline setting.
- 3
Inspect the import
Measure a known feature and check overall extents, an asymmetric feature for orientation and the intended 2D plane. Investigate distant objects and unexpected Z values. Preserve an agreed registration origin. Review closure, layers and curve deviation.
- 4
Verify operations and record the handoff
Assign operations and inspect the toolpath or laser preview. Save the verified export with its revision, units and tested software version. Send the shop dimensions and intended operation roles; agree who applies compensation. Machine and material setup remain the operator's responsibility.
Preflight checklist
- Format, DXF version, units and supported entity types are confirmed.
- A known feature and overall dimensions measure correctly after import.
- Orientation, drawing extents, registration origin and the 2D plane are correct.
- Fabrication lettering is converted to paths; holes and boundaries are intact.
- Underlying paths match the intended geometry, including clipping and stroke boundaries.
- Required contours are closed; intentional openings remain open.
- Unintended duplicates, stray points and construction objects are removed; small features are reviewed.
- Curves meet the required tolerance without missing sections or unacceptable faceting.
- Operation assignments, output state and the generated toolpath or laser preview are reviewed.
Comments
Loading comments...