Free · no signup · your file stays on this device
SVG / DXF Tools

Convert SVG to DXF in Inkscape

For an existing vector drawing that needs a DXF copy. Prepare the paths, choose an export version and check the size after import.

TraceDXFPublished Updated

Open the SVG in Inkscape, confirm it contains paths and set the drawing size in millimeters. Use File → Save a Copy and choose Desktop Cutting Plotter (AutoCAD DXF R14). Set the base unit deliberately, save the DXF, then reopen or import it and measure a known dimension. A bitmap inside SVG must be traced first.

Prepare the SVG before exporting

Select a shape with the Node tool. If only an Image is present, follow the image-tracing guide first. Convert text and supported shapes with Path → Object to Path when outlines are needed; keep an editable SVG master before changing text.

A stroke can mean either a center path or a visible band of material. Use Path → Stroke to Path only when you want the outline of that band; it can create two boundaries. Check duplicates, clipping and filters rather than assuming SVG appearance transfers to DXF.

Export a DXF with explicit units

  1. Measure the drawing, not just the page

    Use the Selector tool, select all intended geometry and choose mm in its size toolbar. Set the required width or height with the aspect-ratio lock as appropriate. Record a known distance. Changing the unit display alone does not establish the intended physical size.

  2. Keep the master and save a DXF copy

    Choose File → Save a Copy. Select Desktop Cutting Plotter (AutoCAD DXF R14) (*.dxf) and give the copy a new name. Use a version your receiving software supports; this example uses R14, not a guarantee for every CAD or cutter.

  3. Choose the base unit

    In the R14 options, uncheck Use Document unit as base unit and choose mm for Base unit if you want explicit millimeter coordinates. Keep Use LWPOLYLINE type of line output enabled for this straight-edge example, and leave ROBO-Master output off.

  4. Treat curve options as a separate decision

    Flatten Béziers approximates curves with straight segments. It may help a receiver that cannot read the exported curves, but changes the representation. Our straight-edge fixture does not test curve accuracy. Preview and compare a curved file in your receiving application before using it.

  5. Reopen and check a known size

    Import the DXF using millimeters where a unit choice is offered. Select the intended geometry and compare width, height, holes, separate pieces and orientation against the SVG. A successful file open alone does not confirm cutting readiness.

R14 curve and unit export switches

The Inkscape 1.4.x R14 DXF Outlines dialog separates four independent controls. Use them deliberately: Base unit sets coordinate scale, LWPOLYLINE sets entity style, Flatten Béziers determines whether curves survive as curves, and ROBO-Master changes spline behaviour for specialist workflows. Leave Flatten Béziers off and ROBO-Master off unless the receiving CAD or laser pipeline explicitly requires straight segments or ROBO splines. The extension lists paths, rectangles and clones as supported elements, but clone references are lost and this does not make arbitrary SVG appearance transferable.

The retained 100x70 straight-edge fixture on this page stays straight-edge only; this section adds no new native curved-export measurement. To verify curves yourself, run source-curve.svg through your own R14 settings and record what you find in record-template.json. The switch descriptions above come from the official Inkscape 1.4.x extension source; no native curved R14 export was performed in this batch.

R14 curve and unit export switches
OptionSource-declared effectWhen to choose itWhat to check
Base unitTakes effect only after Use Document unit as base unit is off; 1 SVG user unit maps to 1 selected DXF unitReceiver needs explicit chosen-unit coordinatesMeasure a known dimension after import
Use LWPOLYLINEMultiply-connected polyline; off uses legacy LINE outputKeep on when receiver supports LWPOLYLINEEntity types, closure and contours
Flatten BéziersConverts curves to series of straight segmentsOnly when receiver cannot read curvesCurve shape, corners and node count
ROBO-MasterSpecialised spline with endpoint-curvature restrictions; Inkscape cannot read it back and exporter warns of distortionOnly when a workflow explicitly requires itCurved features for distortion

Record the export before troubleshooting

Before you change the base unit, switch LWPOLYLINE, or turn on Flatten Béziers, write down what you exported and what came back. The four R14 controls do different jobs: the base unit sets coordinate scale, LWPOLYLINE sets the entity style, Flatten Béziers turns curves into straight segments, and ROBO-Master is a specialist spline option that Inkscape cannot read back. Each one changes the file in a different way, so a record that lists them together tells you which change to test next.

Keep two kinds of entries apart. Settings and file measurements are what the run actually produced. Anything you have not measured yet, such as how a curved export behaves, stays marked unknown until you check it.

The verification record on this page used Inkscape 1.4.4 on 2026-10-09. Independent DXF parsing confirmed three closed contours with 100 × 70 mm bounds for that fixture. It is a straight-edge fixture, so its curves were not tested; the recorded bounds and contour count apply to that file and that run, not to curved artwork in general.

The table below is the record to fill in for your own file. The blank version is available as a record template.

Fill in the top block before exporting, then complete the read-back rows from the DXF itself. If you are working from the page's curve check, the baseline files let you compare bounds against a known result, and the DXF checker shows entities, units, and bounds for the exported file.

Record the export before troubleshooting
FieldWhat to record
Date and softwareDate of the export and Inkscape version, e.g. 2026-10-09, Inkscape 1.4.4
Source fileName of the SVG and whether it contains curves or only straight edges
Base unit settingThe selected base unit value and the coordinate scale it should produce
LWPOLYLINEOn or off, and the entity type you expect as a result
Flatten BéziersOn or off, and whether the source had curves to flatten
ROBO-MasterOn or off; note that Inkscape cannot read this option back
Read-back resultEntity types found, number of closed contours, and measured X × Y bounds
Unit checkWhether the read-back bounds match the intended physical size
Curve statusMeasured, unmeasured, or not applicable to this file
Open questionsValues still unknown after this run

Final verification sequence

Run these checks in order so a failure points at one setting rather than several at once.

Only after the record is complete should you change a setting. Adjust one control at a time and add a new dated run to the record, so the earlier measured result stays available for comparison.

If your SVG matches what the browser converter supports, convert it to DXF and run the same read-back checks on the output.

  • Reopen the exported DXF and confirm the file loads without errors.
  • List the entity types and compare them with the LWPOLYLINE setting you recorded.
  • Count closed contours and note the number.
  • Measure the X × Y bounds and write them next to the expected size.
  • Compare the bounds with the base unit setting; a mismatch points to scale, not to entity style.
  • If the source had curves, check whether they became straight segments under Flatten Béziers, and mark the curve result measured or unknown.
  • Fill the open-questions row before you make another export.

A 100 × 70 mm export example

The source SVG is a self-made straight-edge fixture with one hole, one island and a bottom-right notch. It is separate from the pixel-based tracing exercise. Download both files and compare the 100 × 70 mm outer bounds.

The R14 options, export and DXF read-back were checked in Inkscape 1.4.4 on 9 October 2026 using an isolated Python interpreter because the bundled macOS Python could not start here. Independent DXF parsing confirmed three closed contours at 100 × 70 mm. The sample record discloses the setup; curves and machine fabrication were not tested.

When the DXF is wrong or incomplete

Diagnose the file before scaling or retracing
SymptomNext check
Wrong size after importCompare the export base unit and receiving import unit, then measure the same geometry. A 25.4× difference suggests mm/in confusion; a 96/25.4 relationship can involve SVG pixel scaling. Diagnose before rescaling.
Text or shapes are missingCheck whether the objects are paths supported by the exporter. Keep a master copy, convert the needed objects to paths and compare the result.
Curves become jagged or disappearCheck the receiver’s supported entities and the Flatten Béziers setting. The straight-edge sample cannot validate your curved artwork.
The file has no cutting outlineCheck for an embedded bitmap. Exporting an SVG container as DXF does not replace image tracing.

Choose the browser workflow for your source

For an existing SVG made of supported paths and shapes, use TraceDXF’s SVG-to-DXF converter for its strict 2D subset. Prepare text, unsupported objects or appearance effects in Inkscape first, and check the converted geometry and dimensions.

For a monochrome PNG or JPG, use the corresponding image-to-DXF tool to trace its outline locally in your browser. An embedded bitmap inside SVG needs tracing before it can become DXF geometry.

Sources and verification

Use the Inkscape unit documentation and the downloadable verification record to distinguish page units, geometric size and export units. The R14 exporter is part of the official Inkscape 1.4.4 package.