esc

How to convert a PDF drawing to DXF for CAD

Turn a PDF drawing into a DXF you can edit in AutoCAD, LibreCAD or QCAD, rescale it correctly, and understand why a scanned PDF drawing gives you nothing.

· Treeet

You can convert a PDF drawing to DXF only if the PDF still contains vector lines, which is true of drawings exported from CAD or design software. A scanned drawing is a photo of paper, so there are no lines to pull out and the DXF comes back empty. For vector PDFs, the conversion takes one step, plus one rescale in your CAD program.

Step 1: find out what kind of PDF you have

Open the PDF and zoom in a long way, to 800% or more, on a thin line or a small label.

PDF came fromWhat you get in the DXF
AutoCAD, Revit, SolidWorks or another CAD “Plot to PDF”Lines, curves and text, usually clean
Illustrator, Inkscape or a design appPaths and text, often with many short segments on curves
Word or Excel with simple shapesThe shapes and the text
A scanner, phone camera or faxNothing: a message that no vector lines or text were found
A drawing that was printed, then scanned to PDFNothing, even if the original was CAD

Step 2: convert it

  1. Open the PDF to DXF converter.
  2. Pick the units your CAD drawing uses: millimetres, inches or points.
  3. Leave Include text on, unless you plan to redo the labels.
  4. Add the PDF and download the result. A multi-page PDF gives one DXF per page.

If the PDF asks for a password, remove it first with Unlock PDF. The file never leaves your computer during either step.

Step 3: rescale in CAD

This is the step most people miss. The DXF measures the paper, not the building or the part. A wall that is 5 metres long on a 1:100 plan is drawn 50 mm long on the sheet, so it arrives in the DXF as 50 units.

To get real sizes:

  1. Find a dimension you know, such as a labelled wall length or a scale bar.
  2. Measure it in the DXF.
  3. Scale the whole drawing by real length ÷ measured length (in AutoCAD, the SCALE command with base point 0,0).
  4. Measure a second known dimension to check.

If the sheet holds details at different scales, rescale each detail separately.

What to expect in the DXF

Hatched areas and dense details can create thousands of tiny segments. In AutoCAD, OVERKILL removes duplicate lines, and you can delete a whole layer of clutter at once.

Why a scanned PDF can’t become a DXF

A DXF is a list of geometric objects: a line from this point to that point, an arc with this centre and radius. A scanned PDF holds a grid of coloured pixels with no idea where any line starts or ends. Turning those pixels into lines is called raster-to-vector tracing, and it’s a separate kind of software.

OCR doesn’t solve this either. Scanned PDF to text (OCR) reads the words on a scan, which helps if you need the notes or a title block, but it won’t produce any geometry. For a scanned drawing, the realistic choices are tracing software, asking the original author for the CAD file or a vector PDF, or redrawing it over the scan inserted as an image in your CAD program.

Going the other way

To send a CAD drawing to someone without CAD software, DXF to PDF makes a printable vector PDF. For laser cutters and design apps, DXF to SVG keeps the drawing at its real size.

More guides

How to convert a bank statement PDF to Excel or CSVConvert bank statement PDFs to Excel or CSV and get your transactions into a spreadsheet or budgeting app, without uploading your statements anywhere.How to convert a PDF table to Excel for freeTurn a PDF table into an editable Excel spreadsheet for free, right in your browser, and learn what to do when the PDF turns out to be a scan.How to sign a PDF online for freeSign a PDF for free without printing: draw, type or upload your signature and place it in your browser. Plus what an e-signature means legally.