Convert SVG to DXF

Convert an SVG's paths to a DXF in millimeters for LightBurn, CNC software and CAD. Curves become straight segments within the tolerance you set. Runs in your browser.

Good to know

Every path is written, filled or not: open lines stay open and closed shapes stay closed, since a cutter follows lines. Fills, colors, stroke widths and layers are left behind, and text is skipped until you convert it to outlines in your editor. The DXF is in millimeters at the size the SVG gives itself, read from its width and viewBox. An SVG with no units is read at 96 pixels per inch, as browsers and Inkscape do.

How it works

  1. 1Drop an SVG in the box above. Every path shows as the line a cutter would follow.
  2. 2Check the width in millimeters. It starts at the size the SVG gives itself.
  3. 3Leave the tolerance at 0.05 mm, or tighten it for large, smooth curves.
  4. 4Download the DXF and open it in LightBurn, your CAM program or CAD.

What changes between SVG and DXF

SVG is a drawing for screens: paths with fills, strokes, colors and curves, measured in pixels unless the file says otherwise. DXF is a drawing for machines and CAD: bare geometry on layers, in real units, with Y pointing up where SVG's points down. The converter flips it for you, so nothing comes out mirrored.

Kept: the shape of every path, open or closed, with transforms applied, at true size. Dropped: fills, stroke widths, colors, gradients, clipping, embedded pictures and live text.

Everything lands on layer 0 as polylines. In LightBurn, select what you want to engrave and move it to another layer there.

About DXF

DXF (Drawing Exchange Format). Autodesk's open exchange format for drawings, from 1982, and still what laser cutters, CNC routers, plasma tables and CAD programs agree on.

Units: millimeters here, marked in the file. This one is the R12 dialect: straight-segment polylines, no curves, one layer. Opens in LightBurn, Fusion, FreeCAD, AutoCAD, LibreCAD, VCarve and Inkscape.

Questions

What happens to curves?
They become short straight segments that stay within the tolerance of the true curve: 0.05 mm unless you change it, well under a laser's kerf. Older DXF has no curve every program reads the same way, and straight segments open everywhere. A smaller tolerance gives more points and a bigger file.
Why is my DXF the wrong size?
The SVG probably has no width in real units, so it was read at 96 pixels per inch. Set the width here in millimeters and the height follows. Files from older Inkscape (90 per inch) or Illustrator (72 per inch) are the usual cases.
Which programs open the DXF?
It is the R12 dialect, the oldest and most widely read: LightBurn, Fusion, FreeCAD, AutoCAD, LibreCAD, VCarve and Carbide Create open it. If yours asks for units, pick millimeters.
Is the SVG to DXF converter free?
Yes. You get 3 runs a month without an account. Sign in with your email, free, and there is no limit.
Is my SVG uploaded?
No. The file is read and converted in your browser. It never reaches our servers.
Why is part of my SVG missing?
Text that is still text, embedded pictures and anything hidden by a clip path are not paths. Convert text with Object to Path in Inkscape or Create Outlines in Illustrator, then try again.
Can I make a part from the drawing?
Yes. Upload the SVG to Voloom with a prompt, such as “cut this from 3 mm plywood as a coaster with a 4 mm border”, and it builds the part and its cut files.

Related tools

All tools