All tools

SVG to DXF

Turn an SVG into a DXF for laser cutters, CNC, and CAD. Set the real size, keep colors as layers, download.

Converted in this tab

Local CAD benchNo file loaded
DXF output

Nothing is uploaded.

How it works

  1. Drop in your SVG. It converts right away.
  2. Type the width you want the design to be, in mm or inches. The height follows.
  3. Download the DXF and open it in your laser, CNC, or CAD software.

What changes when SVG becomes DXF

DXF is the file most laser, CNC, and CAD programs agree on. It only stores lines, though. There are no fills, no gradients, and no text styles. What you get is the outline of every shape in your SVG, which is exactly what a cutter follows.

Curves are turned into many short straight lines. The Curve accuracy setting decides how short. Normal keeps every line within 0.05 mm of the real curve, which is finer than a laser beam, so you won't see it in the cut.

Getting the size right

SVGs often come in at the wrong size in CAD software, because pixels and millimetres don't match up. Here you type the width you want, and the DXF is drawn at that size. The file is saved as R12 DXF, the oldest and most widely read version.

Colors become layers

With One layer per color on, each fill or stroke color gets its own layer, named after the color. In LightBurn that means you can set cut and engrave settings per color. Turn it off to put everything on one layer.

Before you convert

Convert text to outlines in your design app first. Text isn't exported, because its shape depends on fonts the DXF can't carry. Starting from a PNG or JPG instead? Use PNG to DXF, which traces the image first. To check what's inside an SVG, open it in the SVG viewer.

Questions

Which programs open the DXF?
The file is R12 DXF with plain polylines, the most widely supported kind. LightBurn, xTool Creative Space, AutoCAD, Fusion, Inkscape, and LibreCAD all read it.
Why is my DXF the wrong size?
Most size problems come from pixels being read as millimetres. Type the width you want in this tool and the DXF is drawn at that exact size. The units are written into the file, and you can switch between mm and inches.
Are curves kept as curves?
They're turned into short straight segments within the accuracy you pick (0.05 mm by default). That's the most reliable way across laser and CNC software, some of which read DXF splines badly.
What doesn't get converted?
Text, embedded images, and hidden elements. Fills and gradients turn into outlines. Convert text to paths in your design app before exporting the SVG.
Is my SVG uploaded?
No. The SVG is read and converted inside your browser tab. Scripts and external links inside the file are removed before it's read, and nothing leaves your device.