All questionsFile formats

How do I convert an image to a DXF file for CNC or laser cutting?

Matúš Koleják
Matúš KolejákCo-Founder, TechDraw AIView on LinkedIn
Quick answer

Use a tool that vectorizes the image into clean lines and arcs, then exports DXF. DXF is the standard 2D format for laser, plasma, waterjet and CNC routing. For best results start from a high-contrast image, and pair the DXF with a PDF drawing if the part has tolerances or notes.

Why DXF is the format you want

Laser, plasma, waterjet and CNC routing are 2D profile operations, and they follow vector paths. DXF stores geometry as lines, arcs and splines, which is exactly what the machine reads. A PNG or JPG is only pixels, and a PDF is for human eyes, so neither can drive a cut directly.

How to get a clean DXF

  • Start from a high-contrast image of the shape, the cleaner the outline the better.
  • Let the tool vectorize the outline into closed paths, then export DXF.
  • Check that the scale is right by setting one real dimension, since a cut path at the wrong size is scrap.

Pair it with a drawing when it matters

For a plain flat cut, a DXF alone is enough. The moment the part has tolerances, bends or finish notes, send a PDF drawing alongside it. The full logic of which file to send for each process is in DXF, DWG, STEP or PDF: which file to send.

See it on your part

Upload a photo, set the real measurements, and get a clean, dimensioned technical drawing in minutes.

Try TechDraw AI free