Image to DXF Converter

Turn any image into a DXF CAD drawing, right in your browser

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 an image to DXF

1

Add your file

Drop any image 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

A raster image stores a picture as a grid of pixels, each holding a colour value. The common raster formats include PNG and BMP, which are lossless, JPG, which is lossy and built for photographs, GIF, which is palette based and supports animation, and the modern WebP and AVIF, which compress far more efficiently. What they all share is that they describe colour, not geometry: a raster image has no concept of a line, an arc or a contour. That is why turning any image into a CAD file means tracing the boundaries between light and dark into vector paths. The cleaner and higher in contrast the image, the more accurate the traced contours will be.

Frequently asked questions

Why convert any image to DXF?

DXF is the standard exchange format for CAD, CAM and laser software. Converting your image 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 image 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 image 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 image 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 image 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 any image. 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?