Pixel2Lines is now Laserlinez - Get laser-ready vector files with our advanced algorithms!

Laserlinez
Service
Tonal Line VectorizationSVG
Tonal Line Vectorization
Contour VectorizationSVGDXF
Contour Vectorization
Centerline VectorizationSVGDXF
Centerline Vectorization
Photo to SVG Manual ProSVGPNG
Photo to SVG Manual Pro
SVG to DXFSVG→DXFDXF
SVG to DXF
GalleryPricingAPI
Workspace

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.

Fast rule

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.
Placeholder for image 1: The same part imported as SVG and as DXF
Image 1 — One part, both formats, measured after import (placeholder). Export a 100 mm square with a 20 mm hole placed off-center, so an orientation or mirroring error is visible, then import the SVG and the DXF into the same application and capture them side by side. Show the measured geometry and both overall dimensions and state the application and version, the export settings and the import unit and DPI choices used. Capture the imports as they arrive; do not repair them first. Produce this as a reproducible software capture with a downloadable sample file, not a photograph of a screen.

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.
Placeholder for image 2: Imported colors assigned to layers, then to operations
Image 2 — Color to layer, then layer to operation (placeholder). Show the layer list immediately after import and operation assignment as a clearly separate second step, so the two are not confused. Disclose the exact RGB values used, how black behaved, the application version and any layer configuration already stored in the destination project. Label the rows in text rather than relying on color alone and omit numerical machine settings.

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.
Placeholder for image 3: A visible stroke compared with the paths underneath it
Image 3 — What you see is not the path the machine follows (placeholder). Show one thick stroked line in three panels: normal view, path or outline view and after an intentional outline expansion. Label the path the software would follow in each case, so the single center path and the two boundary paths are unmistakable. Add node markers rather than relying on color alone and state the application and version.
Placeholder for image 4: A hole that looks correct but imports incorrectly
Image 4 — A hole that looks correct and imports wrong (placeholder). Use a controlled compound-path or clipping example in four panels: source appearance, the actual paths underneath, the destination preview showing the failure and the corrected geometry. Name the exact unsupported feature or export choice that caused it, state both applications and their versions and supply the sample file so the failure can be reproduced.
Before you run the job

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.

When you need SVG to DXF conversion

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.

Placeholder for image 5: One arc compared with coarse and fine segment approximations
Image 5 — Curve representation and tolerance (placeholder). Compare a known circular arc with a coarse straight-segment approximation and a sufficiently fine one and state the measured deviation for each. Identify the exported entity types: an LWPOLYLINE carrying bulge values is the valid arc example. Read the entity types from the exported file or an entity-property inspection, because a destination application may normalize entities internally and its node display alone cannot prove what the file contained. For the duplicate-path case, show a selection count or a labeled displaced overlay: identical overlapping lines are invisible in a screenshot.

A reliable file handoff

  1. 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. 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. 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. 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.

FAQ

Neither format is inherently more accurate. Export precision, geometric approximation, scale and importer support determine whether the geometry meets your tolerance. Finished-part accuracy also depends on machine setup and the cutting or engraving process.

A 0.75 or roughly 1.333 scale factor can indicate a 72/96 pixel-to-length mismatch. Check the export dimensions and LightBurn SVG import DPI option. Correct the export or import convention and measure again; the ratio is a diagnostic clue, not an instruction to rescale every file.

A factor of 25.4 suggests an inch/millimeter mismatch in export scaling, unit declarations, or import settings. Confirm what one drawing unit represents and select matching units. Correct the cause and measure again before using the file.

Some importers show path outlines regardless of the SVG fill. Check the assigned operation and its preview before changing geometry. If a region will not fill, inspect closure, holes and clipping: SVG can display a fill across an open subpath without actually closing its geometry.

The file may contain the boundary of a thick stroke or a traced shape. If you intended one line, inspect the paths and use Centerline Vectorization to trace a single path along the middle of each stroke. Expanding strokes creates boundaries; it does not create a single line along their middle. Also check for unintended duplicate paths.

Only where the operation requires a closed boundary. Open paths work for scoring, marking and line-following cuts. LightBurn Fill needs closed shapes; CAM requirements depend on the selected operation. Do not close intentional gaps automatically.

No. Geometry and layer names do not select approved operations or settings. The operator configures power, speed, passes, frequency, depth, compensation, lead-ins, tabs and workholding as applicable, then reviews the job. A successful import is a geometry checkpoint.

Follow the shop's format and version specification. Confirm compatibility before sending SVG or DXF and include revision, dimensions, units and intended cut, score, or engrave roles. Agree who applies compensation; keep reference annotations separate from machining geometry.

Continue with your workflow

SVG to DXF Converter

Convert a path-based SVG to DXF with a JSON conversion report. Check the dimensions, layer assignments and exported file version before handoff.

Contour Vectorization: Raster Graphics to SVG and DXF

Start from a logo or flat graphic image and produce closed SVG and DXF contours instead of tracing them by hand.

Kerf Compensation for Laser Cutting

Learn how to measure kerf and account for it when preparing parts that must fit together.

Convert your SVG to DXF

Upload a path-based SVG and download a validated DXF in millimeters.

Open SVG to DXF workspace

Want to clean or measure your SVG first?

Inspect dimensions and edit paths in your browser, without uploading.

Open Free SVG Editor

Comments

Please login or create an account to write a comment.

Login or Signup

Loading comments...

Laserlinez

Cut-ready SVG and DXF contours for laser and CNC.

Open Workspace

1 file = 1 credit · from $0.10

Services

  • Contour VectorizationSVGDXF
  • Centerline VectorizationSVGDXF
  • Tonal Line VectorizationSVG
  • Photo to SVG Manual ProSVGPNG
  • SVG to DXFDXF

Resources

  • Gallery
  • API
  • Technology
  • Helpful Guides
  • All conversion tools→

Company

  • Pricing
  • About Us
  • Custom Development
  • Contact

Compatible with LightBurn, xTool and CNC

  • Legal
  • Privacy Policy
  • Terms
  • Cookies