PNG to DXF Converter: Clean, Closed Paths at Real Size
Free PNG to DXF converter for files up to 25 MB. Drop a logo, icon or line drawing and get closed outlines or single-stroke centerlines as an AutoCAD R12 DXF, scaled in mm or inches for laser cutting and CNC. Transparent PNGs work, and the file never leaves your browser.
- Free, no sign-up
- Transparent PNGs work
- Closed paths for cutting
- R12 DXF in mm or inches
Upload PNG
FreeArtwork type
Runs in your browser. Nothing is uploaded.
Example result
Logo · PNG → DXF
Traced here: Outline · 16 paths, 16 closed · 100.0 × 100.0 mm · 94 ms
Examples
PNG to DXF examples from real files
Six PNG to DXF conversions made by this converter with the settings shown. Flip any card between the PNG and its DXF lines, open it in the converter, or download the DXF and measure it.

Logo
Round badge logo
Filled black art becomes 16 closed outlines, and its ten holes stay as inner loops.
Outline · 16 paths · 100.0 × 100.0 mm · 94 ms

Transparent PNG
Gear badge on a transparent background
Transparent pixels read as paper, so only the gear, the rings and the compass are traced.
Outline · 8 paths · 100.0 × 100.0 mm · 93 ms

Line art
Clock escapement section
A section view with hatching, traced down the middle so each hatch is one line instead of two.
Centerline · 240 paths · 120.0 × 101.9 mm · 15 ms

Drawing
L bracket drawn at 5 px per mm
Traced at 127 DPI, the bracket comes out about 170 mm wide in the DXF, matching its dimension.
Centerline · 68 paths · 320.0 × 240.0 mm · 53 ms

Monogram
Monogram in a ring
Letters are traced as shapes you can cut, with the letter counters kept as holes.
Outline · 4 paths · 100.0 × 100.0 mm · 15 ms

Pattern
Sheet metal cone pattern
A dense printed figure with labels: 741 centerline paths, the lettering traced as shapes.
Centerline · 741 paths · 94.1 × 135.5 mm · 100 ms
Why it traces clean
What makes this PNG to DXF converter trace clean
Four things usually spoil a PNG to DXF trace. Here is how the tracer handles each one, shown with its own output.
Transparent PNGDXF outlinesTransparent gear badge: 8 closed outlines, 5 of them holes

How to
How to convert PNG to DXF in 3 steps
Your PNG, DXF ready in seconds: nothing to install and no account to open.
STEP 1
Drop your PNG
Drag a PNG up to 25 MB onto the upload box, paste it with Ctrl+V or open an example. It opens in this tab and is never uploaded.
STEP 2
Pick a type, check the lines
Logo and Silhouette start in Outline mode, Line art and Drawing in Centerline. Flip between Compare, Vector and Overlay, and move Threshold until the lines match.
STEP 3
Set the size and download
Under Size & export, type the finished width or the scan DPI, choose mm or in, then press Download DXF. Download SVG gives the same paths as an SVG.
Start from the biggest PNG
More pixels give smoother curves. Anything over 4,000 px on the long edge is scaled down first.
One color per file
The tracer splits dark from light. Save every color you want as its own cut in a separate PNG.
Thin lines want Centerline
If the DXF shows two lines where you drew one, switch the mode to Centerline.
Measure before you cut
After import, check one known length in your CAD or laser program.
Size calculator
Get the real size of a PNG to DXF file
A PNG only has pixels; a DXF has millimetres or inches. Work out the PNG to DXF size here, then type the same numbers into the converter.
PNG size in pixels
Size by
Units
- Size by DPI uses the whole image: width equals pixels divided by DPI, times 25.4 for mm.
- Size by Width measures the traced artwork with blank margins left out, and the height follows its proportions.
- The DXF header stores the unit ($INSUNITS 4 for mm, 1 for inches), so CAD programs open the file at that size.
DXF size
320.0 × 240.0 mm
- 1 pixel
- 0.200 mm
- In the converter
- Scan DPI 127
Sample: the L bracket is drawn at 5 px per mm, so 127 DPI gives its true size.
Specs
PNG to DXF converter specs and limits
What goes into this PNG to DXF converter, what comes out, and what it does not try to do.
- Input
- PNG, JPG, WebP, BMP or GIF, transparent PNGs included
- File size
- Up to 25 MB
- Tracing size
- Up to 4,000 px on the long edge; larger images are scaled down first
- Output
- DXF and SVG, plus a PNG preview
- DXF version
- AutoCAD R12 ASCII with POLYLINE entities, closed where the shape is closed
- Units
- Millimetres or inches, written to the DXF header
- Layers
- One layer with the name you type
- Curves
- Fine polylines; no arcs or splines
- Where it runs
- In your browser tab; nothing is uploaded
It does
- Trace dark art on a light ground, or light art on a transparent one
- Keep holes as inner loops in Outline mode
- Turn thin lines into single strokes in Centerline mode
- Scale the drawing to a width or a scan DPI
- Export the same paths as an SVG
It does not
- Write DWG; save the DXF as DWG in your CAD program
- Fit true arcs, circles or splines
- Keep text editable; letters arrive as shapes
- Split colors onto separate layers
- Redraw missing lines or guess details; there is no AI step
- Build 3D models
Next steps
Where a PNG to DXF file goes next
DXF is the shared language of 2D fabrication, so a PNG to CAD file in this format opens almost anywhere. For photos and sketches, use the image to CAD converter.

Laser cutters
Open it in LightBurn, RDWorks or your laser software and assign cut and engrave layers.

CNC routers
Bring the paths into Fusion, VCarve or your CAM tool and add profile or pocket toolpaths.

Plasma and waterjet
Closed outlines from a logo become signs, brackets and decorative steel panels.

CAD programs
Open the DXF in AutoCAD, LibreCAD or FreeCAD to dimension it or place it on a sheet.
PNG to DXF converter FAQ
Files, sizes, layers and cutting.
Is this PNG to DXF converter free?
Yes. There is no sign-up, no watermark and no daily cap, because the tracing runs on your own computer.
Does my PNG get uploaded?
No. The file is opened and traced inside this browser tab, and the DXF is written on your device. Nothing is sent to a server.
My logo is white on a transparent background. Will it trace?
Yes. When every visible pixel is light, the tracer follows the shape of the opaque area instead. For white art on a solid dark background, turn on Invert.
Why are the curves jagged or stepped?
The PNG is probably small. Export it larger, or raise Simplify and Smoothing a little. Files over 4,000 px on the long edge are scaled to that size before tracing.
Which mode suits a logo, Outline or Centerline?
Outline, for filled shapes you want to cut out. Centerline is for thin strokes you want to engrave or plot as one line.
How do I get a PNG to DXF file at the right size?
Under Size & export, type the finished width or the scan DPI and pick mm or in before you download. The size calculator on this page shows the numbers first.
Will the DXF open in LightBurn, AutoCAD or Fusion 360?
It is an AutoCAD R12 DXF made of polylines, the version almost every CAD, CAM and laser program reads. Curves arrive as fine polylines rather than arcs.
Can a multicolor PNG become separate DXF layers?
Not in one pass: the tracer puts dark against light on one layer. Save one PNG per color, convert each, and give each DXF its own layer name.
Why does my DXF show double lines?
Outline mode traces both edges of a stroke. Switch to Centerline to get one line down the middle.
Can I turn a PNG into DXF and then DWG?
Yes, in two steps: download the DXF here, then save it as DWG in AutoCAD or another CAD program. Or use PNG to DWG, which traces the same way and writes the DWG directly.
Is there PNG to DXF converter freeware to download?
There is nothing to install. This page does the job of PNG to DXF converter freeware, and the conversion still happens on your computer.
Does the DXF keep text editable?
No. Text is traced as outlines, which is what a cutter needs. Retype any text you want to edit in your CAD program.
Convert a PNG to DXF now
Pick a type, set the width and convert PNG to DXF right in this tab. Nothing to install.
Convert a PNG