SVG to DXF converter

Turn an SVG into a DXF drawing with the same lines and curves, ready for laser, CNC and CAD programs.

Drop an SVG to convert to DXFChoose an SVG to convert to DXF

or paste SVG code (Ctrl+V / ⌘V). Shapes and lines stay exact curves.

Paste SVG code instead

Try one:

How to convert SVG to DXF

  1. Drop an SVG into the box above, or paste its code.
  2. Compare your SVG with what the DXF will hold, side by side.
  3. Type the width the drawing should have, in millimeters or inches.
  4. Select Download DXF and import it into your laser, CNC or CAD program.

Drop an SVG above, or paste its code, and it comes back as a DXF drawing with the same lines and curves. The page shows your SVG beside exactly what the DXF will hold, so you can see before downloading if anything is left out. Type the width the drawing should have and download. Everything happens in your browser; nothing is uploaded.

Exact geometry, not a trace

An SVG already is a drawing: its paths and shapes describe lines and curves. This converter reads them as the browser draws them, with every transform, nested group and reused symbol applied, and writes the same geometry to the DXF:

Each curve is written as a polyline with points close enough that it never strays more than 0.01 mm from the true curve at the size you choose. Straight edges keep exactly their two end points.

Size, units and layers

Type the width in millimeters or inches; the height follows the SVG's proportions and shows under the field. The starting width is the SVG's own size: the physical width it states, or its width in pixels at 96 to the inch. The DXF records the unit for programs that read it, and the drawing's bottom-left corner sits at 0,0 with the y axis pointing up, as CAD programs expect.

Every color in the SVG gets its own layer, named after the color, so a laser program can assign each one a different operation: cut the outline in one color, engrave the details in another.

What is left out

The DXF file

An ASCII DXF in the R12 layout (AutoCAD's Drawing Exchange Format), the oldest and most widely read version: a header with the units and extents, one layer per color and a POLYLINE for every path. LightBurn lists DXF among the vector formats it imports, and Cricut Design Space uploads DXF files as cuttable vector images. For artwork that is a picture rather than a vector, use PNG to DXF, which traces it first; for EPS instead, SVG to EPS; for a 3D print, SVG to STL.

Frequently asked questions

Is the DXF exact, or traced?

Exact. The converter reads the SVG's own geometry: paths, shapes and their transforms. Straight lines stay straight and curves are written as fine polylines within 0.01 mm of the true curve, so nothing is redrawn or guessed. To convert a PNG or JPG instead, PNG to DXF traces the picture first.

What happens to text in the SVG?

Text is left out, and the page says how many text elements it skipped. Text has no outlines until it is converted to paths in a design app (Object to Path in Inkscape, Create Outlines in Illustrator); after that, it converts like any shape.

What happens to strokes and lines?

A stroked line becomes its center line in the DXF, open where the SVG's line is open. The stroke's thickness isn't drawn, which is what laser and CNC programs expect of a cut or engrave line.

Will LightBurn or Cricut Design Space open it?

LightBurn lists DXF among the vector formats it imports, and Cricut Design Space uploads DXF files as cuttable vector images. The file is an ASCII DXF in the widely read R12 layout. Check the size after import; the file also records millimeters or inches for programs that read the setting.

How are colors handled?

Each color gets its own layer, named after the color (COLOR_1E90FF), and the nearest standard CAD color, so a laser program can give each color its own power and speed settings.

Is my SVG uploaded?

No. The SVG is read inside your browser tab, so it never leaves your device. There is no signup or watermark.