PNG to DXF Converter

Turn a PNG, JPG or WebP logo, drawing or silhouette into clean vector lines for laser cutting, CNC routing, vinyl and CAD. Pick a threshold, remove specks, set the real size, and download a DXF or SVG.

Free · no signup · your image stays in your browser

Loading the converter...

PNG to DXF converter examples

PNG to DXF converter tracing the sample laser cut logo in Outline mode: 16 outlines and 5 holes, sized 100 mm
The sample logo in Outline mode: 16 closed outlines and 5 holes, ready to download as DXF.
Transparent PNG gear converted to DXF for laser cutting: 1 outline and 5 round holes at 100 mm wide
A transparent PNG gear traced by its alpha: 1 outline and 5 holes, set to 100 mm for the laser.
Line art PNG of a house and spiral sun converted to DXF in Centerline mode for engraving
Line art in Centerline mode: one line per stroke (10 paths) for engraving or a pen plotter.
Demo with a sample file, recorded in this tool.

How to convert a PNG to DXF

  1. 1

    Upload your image

    Drop a PNG (transparent ones too), JPG or WebP. A black logo on a white background traces best.

  2. 2

    Pick a mode

    Outline gives closed contours around every filled shape, holes included. Centerline gives one line down the middle of thin strokes.

  3. 3

    Clean it up

    Move the threshold (or leave it on auto), remove small specks, and simplify until the green lines match your shape.

  4. 4

    Set the size and download

    Type the width in mm or inches; the height follows. Download a DXF for CAD and laser software, or an SVG.

Free PNG to DXF converter online for laser cutting and CNC

This PNG to DXF converter is free and works online, in your browser: no account, no install, and your image is traced on your own device, not uploaded. It also takes JPG and WebP, so you can convert a JPG to DXF the same way.

For a laser cutter, CNC router or vinyl cutter, use Outline mode. Every shape is written as a closed polyline and every hole as its own closed path, in a DXF R12 file that records the unit you chose, millimetres or inches. Type the width you want to cut and the height follows. For engraving or a pen plotter, Centerline draws one line down the middle of each stroke instead.

It is not an AI converter: it traces your pixels with a threshold, so a sharp, high-contrast PNG gives the cleanest lines. If you searched for a PNG to DFX converter, DXF is the format you want.

Not cutting? The same logo PNG can become a 3D printed ink, clay or wax seal stamp in the stamp generator, and the mold box generator builds a printable silicone pour box or two-part mold around a 3D printed part.

Tips for laser cutting and CNC

  • Use Outline mode for cutting. Every outline is a closed polyline, so laser and CNC software can cut or pocket it without joining lines first.
  • Holes stay holes. The inside of an O, A or D is its own closed path inside the outer one, so it drops out when you cut.
  • Set the real size here. A PNG has no physical size, so type the width you want to cut; the DXF is written in that unit and tells your CAD program which unit it uses.
  • Kerf is up to your cutter. The DXF follows the edge of the shape exactly; add the kerf or tool offset in your laser or CAM software.
  • Small specks and dust in a scan become tiny paths that waste cutting time. Raise "Remove specks" until they are gone.
  • For a photo or a soft image, move the threshold slider until the shape you want is solid. Photos with gradients rarely trace well; a high-contrast version does.

Want it in 3D?

The same logo can become a 3D print: extrude it into an STL for free, or let our AI build a full 3D model from a photo and paint it. The AI tools use credits; this converter does not.

Frequently Asked Questions

Upload the PNG on this page, choose Outline mode, check the green lines in the preview, set the width in mm or inches and press Download DXF. It is free, needs no account, and the image is traced in your browser, so it is not uploaded to our server.
The file is a DXF R12 (AC1009) with every path as a POLYLINE, the oldest and most widely read DXF form, which AutoCAD, LibreCAD, Fusion 360, Inkscape, LightBurn and most CNC and laser programs open. The drawing sits at the origin with Y pointing up, so it is not upside down.
Outline traces the edges of filled shapes as closed loops, with holes, which is what you want for cutting a shape out. Centerline draws a single line down the middle of each stroke, which suits engraving, pen plotters and thin line art, but its lines are open, so it is not for cutting out shapes.
Choose Millimetres or Inches and type the width you want; the height follows the drawing’s proportions, or type the height instead. The size is the traced drawing itself, not the empty space around it. The DXF header records the unit ($INSUNITS) so CAD programs import it at that size.
Low-resolution or blurry images give jagged edges, and noise or JPG artefacts give extra specks. Raise "Remove specks" to drop small blobs, raise "Simplify" or "Smooth curves" for cleaner lines, and move the threshold. A larger, high-contrast image gives the best result.
Yes. When the image has transparency the tool traces by it automatically, so a logo of any colour on a transparent background is traced by its shape. You can switch to "Dark pixels" to trace by brightness instead.
Yes. The converter takes PNG, JPG and WebP. A JPG has no transparency, so it is traced by brightness: dark shapes on a light background work best. If a JPG gives grainy edges, raise "Remove specks" or move the threshold.
No. This PNG to DXF converter runs in your web browser on Windows, Mac, Linux, Chromebook or a phone. There is nothing to install and no account, and you can also download the same trace as an SVG.
No, and that is on purpose. The converter traces the pixels of your image with a threshold, in your browser, so the same image and settings always give the same lines and nothing is invented. For the cleanest DXF, start from a sharp, high-contrast PNG.
Yes. Use Outline mode: every shape becomes a closed polyline and every hole its own closed path, so laser and CAM software can cut or pocket it without joining lines. Set the real width in mm or inches before you download, and add the kerf or tool offset in your laser or CAM software.
Outline mode traces both edges of every filled shape, so a thin stroke becomes a narrow closed loop. That is right for cutting, but for engraving or a pen plotter switch to Centerline, which draws one line down the middle of each stroke.
A PNG is a grid of coloured pixels with no real size. A DXF is a vector drawing: lines with coordinates in a unit such as millimetres, which CAD, laser and CNC software can read, scale and cut. Converting PNG to DXF traces the edges of the shapes in the pixels and writes them as polylines.
Yes, in the usual sense: DXF is the standard way to bring an image into CAD, and the traced lines import as polylines you can edit, offset, dimension or extrude in AutoCAD, LibreCAD, Fusion 360 and other CAD programs. It traces shapes only, so text in the image becomes outlines, not editable text.
Yes. Copy an image, such as a screenshot or an image from a web page, and press Ctrl+V (Cmd+V on a Mac) on this page. It opens in the converter like an uploaded file and is traced in your browser.
Yes. In Outline mode tick "Outer outlines only (drop holes)". Only the outermost outline of each shape is kept, so holes and anything inside them are left out, which suits a silhouette, a sticker border or a backing plate. The size stays the same.
Images up to 25 MB are accepted. A large image is scaled down to 2000 px on its longest side before an Outline trace (1200 px for Centerline) so the page stays fast, even on a phone. The size of the DXF comes from the width you type in mm or inches, not from the pixel count.