Skip to main content
Model Mender

Browser-local converter

PNG to DXF converter

Turn a PNG logo, silhouette or scanned drawing into a DXF that CAD software, laser cutters and CNC tools can open. Every pixel is classed as shape or background by a threshold you set, the boundaries become closed polylines in real millimetres, and you see the traced outline before you download it.

Drop your PNG files here

STL, OBJ, PLY, GLB, glTF, 3MF, SVG and DXF, plus PNG and JPG traced to outlines. Nothing is uploaded: files are read and converted inside this tab.

Checking what this device can handle...

Queue

No files yet. Drop files above, or use the file picker.

Add a drawing to see it here.

Output

Units

Size and placement

Repair and cleanup

These can change the shape, so they need a before-and-after review before export.

Inspection

Add a model to see its dimensions, mesh health and estimated volume.

What this PNG to DXF conversion does and does not do

  • This is threshold tracing, not recognition. Each pixel is either part of the shape or not, by one brightness cut-off, and the outlines are the edges between the two. It works best on high-contrast artwork: logos, silhouettes, stencils, signatures and clean scans.
  • Photographs make poor DXFs. Shading and texture become hundreds of small islands, because a photo has no clean edges to find. Simplify the image to black and white first.
  • Outlines are straight segments that follow the pixel edges, straightened within the smoothing tolerance you set. They are not fitted curves, so a small or low-resolution PNG gives a visibly stepped outline. Use the largest version of the image you have.
  • Colour is not separated. A multi-colour logo is traced as one shape at the threshold you choose, so different colours of similar brightness merge.
  • You set the physical width in millimetres; the height follows the image. A PNG records no real-world size, so the default width is a starting point, not a measurement.
  • Transparent pixels always count as background, so a cut-out PNG traces its artwork rather than its rectangle.
  • The DXF is R12 with every outline closed on layer 0, which nearly every CAD and cutter program reads.

Troubleshooting

The whole rectangle was traced

The background is being read as the shape. Turn on invert for light artwork on a dark background, or lower the threshold so only the darkest pixels count.

Hundreds of tiny shapes appeared

That is noise or shading being traced. Raise the speck size so small islands are dropped, adjust the threshold, or clean the image to pure black and white before converting.

Thin lines broke into pieces

Pale or anti-aliased lines fall either side of the threshold. Raise the threshold so lighter greys count as part of the shape, or use a higher-resolution source.

The edges look stepped in CAD

The outline follows the pixels. Raise the smoothing tolerance a little to straighten the steps, or start from a larger image so each step is smaller in millimetres.

The cut came out the wrong size

Set the width in millimetres before converting. The DXF declares millimetres in its header, so CAD and cutter software read the size you set.

Questions

Is the DXF ready for a laser cutter or CNC?

The output is closed polylines in declared millimetres, which is what cutter software expects, and holes inside a shape are separate closed outlines. Check it in your cutter’s own preview before running material, as with any file.

How does this compare with Inkscape or an upload converter?

Inkscape’s Trace Bitmap fits smooth curves and can separate colours, so it is the better choice when you need curves and are happy to install software. Upload converters process your image on their server. This tool traces straight-segment outlines inside your browser, shows you the result first, and never sends the file anywhere.

Can it convert a photo into a CAD drawing?

Not usefully. A photograph has shading, not outlines, and threshold tracing will turn that shading into noise. Nothing can recover the edges of an object that a photo only implies; start from artwork or a clean scan.

Can I get an SVG instead?

Yes. Choose SVG as the output format in the workspace and the same traced outlines are written as an SVG path at the same physical size.

Is my image uploaded?

No. The browser decodes the image and the tracing runs in a Web Worker in this tab. There is no upload endpoint in this project, and the Content Security Policy blocks cross-origin requests.

Related tools