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.
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
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.
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.
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.
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.
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.
| Option | Source-declared effect | When to choose it | What to check |
|---|---|---|---|
| Base unit | Takes effect only after Use Document unit as base unit is off; 1 SVG user unit maps to 1 selected DXF unit | Receiver needs explicit chosen-unit coordinates | Measure a known dimension after import |
| Use LWPOLYLINE | Multiply-connected polyline; off uses legacy LINE output | Keep on when receiver supports LWPOLYLINE | Entity types, closure and contours |
| Flatten Béziers | Converts curves to series of straight segments | Only when receiver cannot read curves | Curve shape, corners and node count |
| ROBO-Master | Specialised spline with endpoint-curvature restrictions; Inkscape cannot read it back and exporter warns of distortion | Only when a workflow explicitly requires it | Curved 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.
| Field | What to record |
|---|---|
| Date and software | Date of the export and Inkscape version, e.g. 2026-10-09, Inkscape 1.4.4 |
| Source file | Name of the SVG and whether it contains curves or only straight edges |
| Base unit setting | The selected base unit value and the coordinate scale it should produce |
| LWPOLYLINE | On or off, and the entity type you expect as a result |
| Flatten Béziers | On or off, and whether the source had curves to flatten |
| ROBO-Master | On or off; note that Inkscape cannot read this option back |
| Read-back result | Entity types found, number of closed contours, and measured X × Y bounds |
| Unit check | Whether the read-back bounds match the intended physical size |
| Curve status | Measured, unmeasured, or not applicable to this file |
| Open questions | Values 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
| Symptom | Next check |
|---|---|
| Wrong size after import | Compare 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 missing | Check 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 disappear | Check 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 outline | Check 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.