Convert PNG to DXF

Convert PNG to DXF in your browser and preview the closed 2D outlines traced from your logos and line art before you download the file.

to
Upload PNG fileMax. 20 MB · 4M pxConverted in your browser, with no uploads.

How PNG to DXF Tracing Works

Trace precise outlines

Detected edges become closed 2D polylines, and interior openings such as letter counters stay separate loops. A white logo on a transparent background is often detected automatically.

Custom tracing control

The brightness threshold decides which pixels count as artwork, and the minimum feature area drops stray specks. Use Invert & Preview when the wrong areas are traced.

CAD-ready output

Output is a 2D DXF R2000 file of lightweight polylines in millimeters. Your width scales the whole canvas, margins included, and the preview appears before you download.

Which Images Work Best for PNG to DXF?

  • Before you run a PNG to DXF conversion, pick a clean, high-resolution file with strong contrast between the subject and the background so the trace picks up less noise.

  • Crop your image to the exact boundaries of your artwork, since scaling includes the entire canvas and any empty border space.

  • Prefer original high-DPI raster sources, as small images may produce pixelated or jagged paths when converted to vector lines.

  • If you have the original vector SVG, use the SVG to DXF Converter to work from its paths instead of tracing pixels.

PNG to DXF Examples

See how PNG to DXF conversion handles different sources, from simple geometric shapes to detailed logos, and what the resulting polylines look like.

PNG source
Black hexagonal badge with round hole, PNG input
DXF result
Two closed DXF outlines: badge edge and inner hole

Badge and Hole

This badge outer contour and white hole are distinct closed outlines. Lowering the minimum feature area can help keep small holes, though results may vary.

Verify that the hole appears as a separate selectable entity after opening the DXF.

PNG source
Thick black L-shape, PNG input
DXF result
Single DXF outline following the L-shape edges

Thick L-Shape

A thick L becomes a single closed path surrounding the stroke when you convert PNG to DXF. Both edges of the line are captured, with short segments closing the ends. Centerline tracing requires a different method, as the conversion maps the full boundary of your shapes.

Determine if your application needs a full stroke outline or a single center line.

PNG source
Black diamond on checkerboard background, PNG input
DXF result
Closed DXF outline of the diamond

Solid Dark Diamond

A dark shape on a light background is traced as a single closed polyline that follows all four edges of the diamond.

Confirm that the outline is one closed polyline around the four sides with no extra frame.

PNG source
Black rounded rectangle with isolated dots, PNG input
DXF result
Rounded rectangle DXF outline, isolated dots dropped

Isolated Noise Removal

A black rounded rectangle may contain isolated pixels. The default minimum feature size of 4 px² retains the main shape while filtering out single-pixel noise. Increase this limit if larger artifacts remain.

Inspect small features carefully; high settings may remove intended details like small holes or dots.

How to Convert PNG to DXF

Select your file, tune the tracing sensitivity to your needs, and save your DXF for immediate use in CAD applications.

1

Choose a file

Upload a high-contrast PNG file. The converter works entirely locally to ensure your data never leaves your device.

Upload control for choosing a PNG file
2

Set output dimensions

Before converting PNG to DXF, set the output width in millimeters. Use the threshold slider to separate your design from the background, raise the minimum feature area to drop noise, and toggle inversion if your logo is light on a dark background.

Settings for width, threshold, minimum feature size and inversion
3

Preview and download

Click Convert to DXF, inspect the resulting vector paths in the preview, and download the file for your CAD workflow.

DXF preview with outlined L-shape

PNG to DXF Issues and Fixes

Adjust your settings gradually and evaluate the result after each change.

Faint lines are missing

If your outline preview leaves out parts of the design, slowly increase the brightness threshold in standard mode to capture lighter pixels. If the background noise appears, decrease the threshold slightly.

Look for crisp lines in the preview that do not include background artifacts.

Tracing the background

An extra box means the background was traced. Delete opaque backgrounds in an editor instead of cropping or raising the minimum area, or use Invert & Preview next to the converted preview.

Ensure the trace follows only your intended subject.

Small holes disappeared

If interior details are missing, lower the minimum feature size. This setting filters out small artifacts but also preserves essential internal holes.

Check that all necessary inner voids appear clearly in the final preview.

Inspect your exported DXF

After the PNG to DXF conversion, open the file in a DXF viewer to inspect the outlines, then check the outer contour and the internal holes in your CAD software.

Open in DXF Viewer

Frequently Asked Questions

Start Your PNG to DXF Conversion

Drop in the file to convert PNG to DXF, use the preview to check which outlines were traced, and download the result. If the background was traced instead of the artwork, turn on Invert and preview again.

Convert PNG to DXF