Export a DXF from Inkscape for laser cutting
Published
Inkscape can save a DXF, but a straight Save As often gives a file with missing shapes, missing text, the wrong size, or hundreds of loose segments. Four steps before the export avoid all of that.
Convert an SVG to DXF · free, in your browser
Short answer: before saving, convert everything to paths (Path → Object to Path), turn thick strokes into shapes, set the document in millimetres, then Save As → Desktop Cutting Plotter (DXF) with the base unit in mm. Check the result in your laser software.
1. Convert objects and text to paths
Select everything (Ctrl+A; use Edit → Select All in All Layers if you have several layers) and run Path → Object to Path (Shift+Ctrl+C). Rectangles, circles, stars and text become plain paths, which every DXF export understands.
In our own tests, a straight DXF export of a file containing live text and basic shapes came out with parts missing until they had been converted to paths. Text is the most common victim: see text missing after SVG to DXF.
2. Turn thick lines into shapes, if you want them as shapes
A DXF keeps only the centre of a line, never its width. If a 3 mm wide line should be cut or engraved as a 3 mm bar, select it and use Path → Stroke to Path (Ctrl+Alt+C). Leave thin cut lines as they are.
3. Work in millimetres
Open File → Document Properties (Shift+Ctrl+D) and set the display units and the page size in mm, with a scale of 1 user unit per mm. A document left in pixels is the usual cause of a DXF that arrives 3.78 times too big or too small: see DXF imports at the wrong size.
4. Save as DXF
- File → Save a Copy (keeps your SVG as the working file), or Save As (Shift+Ctrl+S).
- Choose a Desktop Cutting Plotter (AutoCAD DXF) format. Inkscape offers an R12 and an R14 variant; laser software reads both.
- In the options, set the base unit to mm. If you have layers you do not want to cut (notes, reference images), hide them first.
Menu and option names move a little between Inkscape versions; the steps stay the same.
5. Check before you cut
- Size: select all in your laser software and compare with a dimension you know.
- Open shapes: in LightBurn, Edit → Select Open Shapes. Outlines that should be filled must not be selected. In our tests, one Inkscape export path produced hundreds of loose segments and no closed shape at all: see open contours.
- Double lines: Edit → Delete Duplicates should remove nothing. See duplicate lines.
Skip the export dialog: save your design as a normal Inkscape SVG and convert it here. Text becomes outlines automatically, shapes do not need converting, each shape stays one closed polyline, duplicates are removed and the size is written in millimetres. Hidden Inkscape metadata and objects parked outside the page are ignored.
Convert an SVG to DXFQuestions
Which DXF option should I choose in Inkscape?
For a laser, the Desktop Cutting Plotter DXF formats are the ones meant for cutting. Set the base unit to millimetres in the export dialog, and convert everything to paths first.
Why is my Inkscape DXF empty or missing shapes?
Text, rectangles, circles and other objects that are not paths may be skipped by the export. Select everything and use Path, Object to Path before saving.
Why does LightBurn show hundreds of small segments from my Inkscape DXF?
Some exports write each curve segment as its own line, so a circle arrives as many unconnected pieces and cannot be filled. Join them in LightBurn, or convert the SVG with a tool that writes one polyline per shape.
Related problems
- Cricut Christmas SVGs on a laser: what to change first
- Duplicate lines in a DXF: why your laser cuts twice
- Open contours: fill does not work on my DXF
- Laser file imports at the wrong size
- Export a DXF from Illustrator for a laser cutter
- JPG or PNG to DXF for laser cutting: what works
- Laser-cut Christmas ornaments: check your file before you cut
- The laser cuts through overlapping letters and shapes
- Why the laser engraves the white parts of my design
- Layered snowflakes and stacked holiday designs: cut or engrave?
- Nesting parts in LightBurn Core, without True Nest
- Importing SVG or DXF into LightBurn
- Text missing after converting SVG to DXF
- Holes get filled when engraving a DXF in xTool Studio