PNG to SVG Tracer

SVG to DXF converter

Convert an SVG into a DXF for CAD, laser cutting and CNC. Keep the file's own size or scale it to a width in millimeters, and see the cut lines before you download.

How to use it

  1. Add an .svg file exported from your design software.
  2. Choose to keep the original size or scale to a width in millimeters.
  3. Check the red cut lines in the preview and read any notes about skipped items.
  4. Download the DXF.

What gets converted

Paths, rectangles (including rounded corners), circles, ellipses, lines, polylines and polygons are converted, including ones inside groups and with transforms applied. Curves and arcs are split into short straight segments so any CAD program can read them. Closed shapes stay closed.

Only geometry is written. Fill colors, stroke widths and gradients are ignored, and everything lands on one layer called TRACE.

What is skipped

Text is not converted. Turn text into outlines in your design software first (Create Outlines in Illustrator, Object to Path in Inkscape), then export the SVG again. Embedded images, linked use elements and clipping paths are also not applied. The tool tells you when it skips something.

What the settings do

Size
Keep original size reads the width, height and viewBox in the SVG. Files with no units are read as 96 pixels per inch. Scale to width fits the drawing to the millimeter width you enter.
Output width (mm)
Used when you scale to width. The height follows the proportions of the drawing.

What people use it for

  • Sending vector artwork to a laser cutter, CNC router or plasma table that wants DXF
  • Bringing logos and icons into CAD software
  • Changing a design from SVG into the format a cutting service asked for
  • Checking real dimensions of a drawing in millimeters

Questions

Why is the size wrong when I open the DXF?

If you used Keep original size, the result depends on the SVG's width, height and viewBox. Files exported without units are read at 96 pixels per inch. Use Scale to width and enter the exact millimeters you need to be sure. Also check that your CAD software imports the DXF in millimeters.

Why does my text disappear?

Text in an SVG is stored as characters and a font, not as shapes. Convert it to outlines in your design software, export again, and the letters will be converted.

Are curves kept as curves?

No. This DXF stores each curve as many short straight segments, which every CAD and CAM program understands. The segments are fine enough that the path looks smooth.

Does it merge overlapping shapes?

No. Each shape is written as it is in the SVG. If two shapes overlap, both outlines are in the DXF. Merge or unite them in your design software first if you want a single cut line.

Is my file uploaded anywhere?

No. Tracing and file creation happen in your browser, using code that is part of this page. Your image is not sent to a server. You can check this in your browser's network tab while you use the tool.