PNG to DXF converter

Trace a PNG or JPG into closed DXF outlines for laser cutters, CNC machines and CAD, at the exact width you need.

Drop an image to convert it to DXFChoose an image to convert it to DXF

PNG, JPG, WebP or GIF. Logos, silhouettes and line art trace best.

Try one:

How to convert a PNG to DXF

  1. Drop a PNG or JPG into the box above, or choose one from your device.
  2. Pick a style: One color for the outline of the whole design, Black & white for dark ink, or Color for one layer per color.
  3. Type the width the drawing should have, in millimeters or inches.
  4. Select Download DXF, then import the file into your laser, CNC or CAD program.

Drop a PNG into the box above and it comes back as a DXF drawing. The picture is traced into outlines, each outline becomes a closed polyline, and the drawing is scaled to the width you type, in millimeters or inches. Import it into laser software, a CNC program or a CAD app to cut, engrave or draw along the lines. There is no signup or watermark.

Which images convert well

Photos can be traced too, but only as a stencil of their darker areas. To cut out the shape of a person, pet or product in a photo, remove the background first, then trace the transparent PNG in One color: the outline follows the subject.

One color, black and white, or color

Remove the background color, on when the picture sits on one plain color, clears that color from the edges inward before tracing, so the drawing holds the design and not a rectangle around it.

Width and units

Type the width the drawing should have and choose millimeters or inches; the height follows the picture's proportions and shows under the field. Switching units keeps the same physical size. The DXF stores its coordinates in that unit, says which one in its header and puts the picture's bottom-left corner at 0,0. If a program asks for the unit on import, choose the same one.

What's inside the DXF

The Simple level smooths small wiggles and drops specks, Balanced suits most logos, and Detailed keeps small features. Under More settings, Sharp corners keeps straight edges and corners for mechanical shapes, and Ignore specks smaller than removes dust and noise that would otherwise become tiny outlines to cut.

Using the DXF

Every result is made from the same trace as the SVG, so Download SVG gives you the matching vector file for design apps and the web.

Frequently asked questions

Is the DXF made of closed shapes?

Yes. Each traced outline is one closed polyline, and holes, such as the inside of an O, are closed outlines of their own. There are no loose line segments to join before cutting.

What size and units does the DXF use?

The width you type, in millimeters or inches; the height follows the picture's proportions. The file records its unit, and a program that asks for one on import should get the same.

Why are the curves made of short straight lines?

Each curve is stored as a chain of short straight segments that stay within a fifth of a traced pixel of the curve, the one kind of line every program that reads DXF polylines accepts.

Which programs open the DXF?

It is an ASCII DXF in the R12 layout, the simplest version of Autodesk's drawing exchange format. LightBurn lists DXF among the files it imports, and Cricut Design Space for Windows and Mac uploads DXF files as cut-ready vector images.

Can I convert JPG to DXF too?

Yes. JPG, WebP, GIF and HEIC images trace the same way as PNG files. Photos come out like a stencil, so logos, silhouettes, line art and text work best.

Can I get an SVG as well?

Yes. Download SVG saves the same trace as an SVG file, for design apps and cutting machines that prefer it.

Are my images uploaded?

No. The image is traced inside your browser tab, so it never leaves your device, and the tool is free with no signup or watermark.