Guide · 6 min read

PDF to DXF: Vector vs. Raster PDFs, and How to Convert Each

"Convert PDF to DXF" sounds like one task. It is actually two very different ones, and picking the wrong tool is why so many conversions come out as garbage. The question that decides everything: is there vector geometry inside your PDF, or just a picture?

The same door swing enlarged, with a stepped raster edge on the left and a smooth vector arc on the right.

The 10-second test

  1. Open the PDF and zoom to 800% on a wall corner.
  2. Try to select a piece of text with your cursor.
What you seeType of PDFWhere it usually comes from
Lines stay razor sharp; text is selectableVector PDFExported from AutoCAD, Revit, ArchiCAD…
Lines get pixelated; text cannot be selectedRaster PDFScanner, phone scan app, "print to PDF" of an image
Sharp text but pixelated drawingMixedScan with OCR layer, or title block added later

Converting a vector PDF to DXF

Good news: the geometry is already there. You only need to extract it.

Expect some cleanup: lines may be split into many short segments, hatches can become individual lines, and layers are often flattened. But the coordinates are exact, which is why you should never run a vector PDF through an AI or raster converter — you would trade precise geometry for an approximation.

Converting a raster PDF to DXF

Here there is no geometry to extract, only pixels. Your choices:

Whatever the method, the output is an interpretation of an image. Calibrate the scale against a dimension you trust and check the result before using it for anything that needs to be accurate.

What about DWG?

DXF is the open exchange format of the CAD world. Every major CAD program opens it, and AutoCAD, BricsCAD or the free ODA File Converter can save it as DWG in one step. If your client asks for DWG, convert to DXF first, then save as.

Quick decision guide

Stuck with a scanned PDF?

Raster2Draft is built for raster PDFs, scans and photos: AI vectorization, correction in your browser, DXF export.

Get early access