PNG to DXF Converter

Transform PNG images into DXF CAD drawings online

Drop a file here. It never leaves your browser.

toDXF

PNG, JPG, WebP, GIF, BMP, HEIC, TIFF, AVIF · any size · free · DXF or DWG · works best on clean line art, logos and high contrast shapes

Trusted by

Siemens logoBosch logoGeneral Electric logoCaterpillar logoABB logoJohn Deere logoSchneider Electric logoBoeing logoAirbus logo3M logoToyota logoRolls-Royce logo

How to convert a PNG to DXF

1

Add your file

Drop a PNG onto the converter, or click to choose one. It stays on your device.

2

Tune the trace

Adjust threshold and smoothing until the live preview shows the outline you want.

3

Download DXF

Download the DXF and open it in your CAD, CAM or laser software. The other format is one click away if you need it.

The same conversion from a script

The converter above runs in your browser and always will. When it is a whole folder, or something that has to happen inside a build, the REST API runs the identical trace server-side — POST /api/v1/dxf, one image in and a DXF out, with format: "dwg" for AutoCAD's own, and it costs no credits. There is also a command line tool and an MCP server so an AI agent can do it on your behalf. Programmatic access is part of the Studio plan.

About formats

PNG (Portable Network Graphics) is a lossless raster image format published as a W3C Recommendation on October 1, 1996, created as a patent free replacement for GIF after the Unisys LZW patent dispute. It uses a two stage pipeline: a prediction filter preprocesses each row, then DEFLATE compression encodes the result, so every pixel is preserved exactly. PNG supports grayscale, true colour and indexed colour, all with optional alpha transparency that ranges from a single transparent colour to a full per pixel alpha channel. That combination of lossless quality and clean transparency makes it the standard for logos, icons, screenshots, UI elements and any graphic where sharp edges and exact pixels matter. Support is universal, since every browser, operating system and image editor reads PNG natively. Those crisp, high contrast edges are exactly what trace cleanly into vector contours.

Developer:
W3C / PNG Development Group
Initial release:
October 1, 1996

Frequently asked questions

Why convert a PNG to DXF?

DXF is the standard exchange format for CAD, CAM and laser software. Converting your PNG into a DXF turns a flat picture into vector cut paths you can open and edit in AutoCAD, Fusion, LibreCAD and LightBurn.

What software opens a DXF file?

AutoCAD, Fusion, LibreCAD, FreeCAD, DraftSight, Inkscape and most CAD, CAM and laser tools read DXF natively for editing and fabrication.

Does the converter trace the image?

Yes. It finds the edges in your PNG and traces them into closed vector contours, then writes those as DXF polylines. Because it traces pixels, the output is an outline with no real dimensions or scale, which is perfect for flat cutting but is not a measured engineering drawing.

Is PNG to DXF conversion free?

Yes, and there is no watermark. The conversion runs entirely in your browser, so your file is never uploaded; a free account is needed only to download the finished file.

Can I get a DWG instead of a DXF?

Yes. The same conversion downloads as either a DXF or a DWG, both AutoCAD 2000 format, and the DWG is written in your browser too, so nothing is uploaded either way. Pick DWG if you work in AutoCAD and want its native format; pick DXF if the file is going to a laser, CNC or another CAD program, since DXF is read by more software.

What PNG files work best?

High contrast images with clear outlines give the best DXF: logos, stencils, technical sketches, floor plans and simple shapes. Busy photos with shadows and gradients trace poorly because there is no clean edge to follow.

Can I use the file for laser cutting or CNC?

Yes. The traced polylines drop straight into laser, plasma, waterjet and CNC routing software as cut paths. Set an output width in millimetres before you download so the part comes in at real size.

Is there an API for PNG to DXF conversion?

Yes. POST an image to /api/v1/dxf and the same trace runs server-side, returning the DXF, and a DWG alongside it if you ask for one. It costs no credits, and there is a command line tool and an MCP server over the same endpoint so an AI agent can run it for you. Programmatic access is part of the Studio plan; the converter on this page stays free and stays in your browser.

I have a different image, not a PNG. Can I still use this?

Yes. The converter accepts any common image, including PNG, JPG, WebP, GIF, BMP, HEIC, TIFF and AVIF, whichever page you started from. Just drop your file and it converts.

Other DXF converters

Need a different output?

Already have a DXF, DWG or SVG?