All questionsFile formats

How do I convert a PDF to DXF?

Branislav Hrivnák
Branislav HrivnákCo-Founder, TechDraw AIView on LinkedIn
Quick answer

It depends on what is inside the PDF. If the PDF holds real vector lines (exported from CAD or a vector editor), a converter or CAD tool can extract the geometry and save it as DXF directly. If the PDF is a scan or a photo, there is no geometry to extract, so you have to trace the outline into vectors first, then export DXF. Either way, set one real measurement afterwards so the DXF comes out at true scale.

First, find out what is in the PDF

A PDF can hold two very different things, and which one you have decides the whole approach. Zoom in hard on the lines. If the edges stay crisp no matter how far you zoom, it is a vector PDF with real geometry inside. If the lines turn into blurry pixels, it is a raster PDF, a scan or photo of a drawing with no geometry at all.

What you haveHow DXF comes out
Vector PDF (exported from CAD)Geometry extracted directly into clean lines and arcs
Scanned or photographed PDFNo geometry — the outline has to be traced into vectors first

If it is a vector PDF

This is the easy case. A vector PDF already contains lines and arcs, so a PDF-to-DXF converter, or a CAD tool like Inkscape, LibreCAD or FreeCAD, can pull that geometry out and save it as DXF with the shapes intact. Clean up any duplicate or overlapping lines afterwards and confirm the result is what you expect.

If it is a scan or a photo

A scanned PDF has nothing to extract, because it is just an image. You have to trace the outline into vector paths first, exactly as you would for a JPG or PNG, then export DXF. Our free image to DXF converter does that in your browser, and the same logic is covered in converting an image to DXF.

Always check the scale

PDFs do not reliably carry real-world units, so a converted DXF can land at the wrong size even when the geometry is perfect, and a cut path at the wrong scale is scrap. Set one known dimension after converting, or measure a feature against the real part and rescale to match. The same scaling trap shows up in fixing a DXF that comes in the wrong size. Once the file is right, make it cut-ready as in how to prepare a DXF for laser cutting, and if you just need to look at the result, see how to open a DXF file.

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