Forum Discussion
How can I convert PDF to DWG with actual scale on my PC?
Hello everyone,
I have a PDF drawing on my PC that I need to convert into an editable CAD file, but the most important requirement is keeping the actual scale. The PDF appears to be a technical drawing, and I want the converted file to match the original dimensions instead of coming out too large or too small.
I am not very experienced with CAD tools, so I am not sure what the best workflow is. I have seen options like AutoCAD, online tools, and dedicated PDF to DWG converter software, but I do not know which method can preserve scale accurately.
What is the best way to convert PDF to dwg format on a Windows PC while keeping the actual scale? Are there any settings I should check, such as page size, units, DPI, or calibration after import?
10 Replies
- AidenGonzalezIron Contributor
Adobe Acrobat
- WamkkoimjoinIron Contributor
LibreCAD can't do a direct PDF to DWG converter on its own. It's a great, completely free 2D CAD program, but it doesn't have a magic "open PDF, save as DWG" button. It can import DWG files (though the support is basic) and it primarily works with its own main format, DXF. It can export to PDF, but going the other way isn't built-in.
So, how could you use it for this task? You'll need a two-step workaround. It's not a single PDF to DWG converter, but a process:
1. First, get your PDF into a DXF or SVG format. LibreCAD can import SVG images, but that's a dead-end for getting editable lines. The trick some people use is to convert the PDF to a BMP (or other image) first, then import that as a background image into LibreCAD and manually trace over it. It's a lot of work, but it's a free way to get a vector drawing out of a PDF.
2. Then, use LibreCAD to export as DWG. Once you have a DXF file (or have finished tracing), LibreCAD can open and save it as a DWG file. So, it handles the last step of the process, just not the first.
This is the big catch. If you convert a PDF to an image and trace it, keeping the original scale is all on you. You'd have to manually figure out the scale factor and adjust everything in LibreCAD. It's not automatic.
- TeraDarnellCopper Contributor
LibreCAD
- SasKIron Contributor
Best recommendation: The Ink scape + Manual Scaling Workflow.
Here's how to convert PDF to DWG:
- Import your PDF into Ink scape.
- Prepare the drawing: Use Object -> Ungroup and Path -> Split to break the diagram down into individual, editable lines. This prevents weirdness in the final DXF file .
- Find a known distance: This is the crucial part for scale. Look for a dimension line or any two points on the drawing where you know the real-world distance.
- Measure the on-screen distance: Use Ink scape's measuring tool to find the distance between those same two points on your imported drawing.
- Calculate the scale factor: Divide the known distance by the measured distance. For example, if a line should be 100mm but measures 50mm in Ink scape, your scale factor is 2. Mul tiply that by 100 to get a percentage (200%).
- Rescale the drawing: Select everything, set the toolbar units to "Percent," lock the aspect ratio, and type in your calculated percentage. Hit Enter, and your drawing should now be at the correct 1: 1 scale.
- Export as DXF : Go to File -> Save a Copy and choose the DXF format. Make sure to set the export units to "mm".
- Import into your CAD software: Now you can import this DXF file into your CAD program. Remember to set the import units to "mm" as well.
This method works best if your are going to convert PDF to DWG. If your PDF is a scan or a raster image, Ink scape can't magically turn it into a DXF with editable lines—you'd be stuck tracing it manually.
- TeraDarnellCopper Contributor
Best recommendation: The Ink scape + Manual Scaling Workflow:
This is the most reliable free method I've found, and it's been discussed by people using it for similar purposes like PCB design . The gist is that Ink scape can import a PDF and export a DXF, but the scale is often off. You have to correct it manually.
Here's how to convert PDF to DWG:
- Import your PDF into Ink scape.
- Prepare the drawing: Use Object -> Ungroup and Path -> Split to break the diagram down into individual, editable lines. This prevents weirdness in the final DXF file .
- Find a known distance: This is the crucial part for scale. Look for a dimension line or any two points on the drawing where you know the real-world distance (e.g., a 100mm dimension marker).
- Measure the on-screen distance: Use Ink scape's measuring tool to find the distance between those same two points on your imported drawing.
- Calculate the scale factor: Divide the known distance by the measured distance. For example, if a line should be 100mm but measures 50mm in Ink scape, your scale factor is 2. Mul tiply that by 100 to get a percentage (200%).
- Rescale the drawing: Select everything, set the toolbar units to "Percent," lock the aspect ratio, and type in your calculated percentage. Hit Enter, and your drawing should now be at the correct 1:1 scale.
- Export as DXF: Go to File -> Save a Copy and choose the DXF format. Make sure to set the export units to "mm".
- Import into your CAD software: Now you can import this DXF file into your CAD program. Remember to set the import units to "mm" as well.
This method works best if your are going to convert PDF to DWG. If your PDF is a scan or a raster image, Ink scape can't magically turn it into a DXF with editable lines—you'd be stuck tracing it manually.
- JadeookbIron Contributor
Things to note when converting PDF to DWG:
1. Check whether the PDF is vector or scanned
A vector PDF usually gives better results because it contains real lines, curves, and text. A scanned PDF is just an image, so it must be traced or vectorized before it can become editable DWG geometry.
2. The scale may not be accurate automatically
After conversion, always check the drawing scale in AutoCAD or another CAD program. You may need to measure a known distance and manually rescale the drawing.
3. Layers may not be preserved perfectly
Some converters can detect layers, but many PDF files do not store CAD layers clearly. The converted DWG may place everything on one layer or create messy layer names.
4. Text may become broken or uneditable
Text in the PDF may be converted into separate line segments instead of editable CAD text. This is common when the PDF uses embedded fonts, outlines, or scanned text.
5. Line quality depends on the original PDF
Low-resolution, blurry, or compressed PDFs often produce rough lines, missing details, and inaccurate curves. A clean PDF exported directly from CAD software will usually convert much better.
- WamkkoimjoinIron Contributor
For a free and truly local way to do this, it's a pretty solid path, though it's not exactly a "one-click" solution. The goal is to convert PDF to DWG using a tool that runs entirely on your machine.
Here's a quick rundown of the main players you'd find in the command-line world:
pdf- to- dxf: This is a free, open-source Node. js tool that runs completely offline, so your files stay private. You install it via npm, and then you can run commands like pdf- to- dxf input.pdf output.dxf right in your terminal. The best part for you is it has a --scale option to apply a uniform scale factor, which is exactly what you need for your "actual scale" requirement. Just keep in mind it outputs DXF, not DWG directly, but most CAD programs handle DXF just fine.
psto edit: This is another classic, free, open-source command-line tool that's been around for ages. It can translate PDFs into a bunch of vector formats, including DXF, if you are going to convet PDF to DWG. It's a bit more old- school and relies on Ghost script to do the heavy lifting, but it gets the job done for free and locally. You can install it on Windows via winget.
- GinssCopper Contributor
Alright, so you're on a Windows PC and want to use QCAD as a PDF to DWG converter? If your PDF was made from a CAD program or vector software (like Illustrator), it contains actual line data. QCAD Professional can import that vector data directly.
Option 1: The Direct Import (for Vector PDFs)
- You just use the normal File > Open command and select your PDF.
- QCAD will show you a dialog where you can pick which page to import and other settings.
- Once it's open, you can work on it and then save it as a DWG file.
A big heads-up though: With the PDF to DWG converter. Even with vector PDFs, you'll probably lose some stuff like layers, blocks, and other fancy CAD data in the translation. A forum user tested this and confirmed there's "a lot of data loss". So, the imported drawing will be a bit "dumbed down."
Option 2: The Command Line Tool
If you're feeling techy, QCAD Pro also comes with a command-line tool called pdf2 dwg that can do this conversion without even opening the GUI.
Option 3: The Manual Route (for Raster PDFs)
Now, if your PDF is basically a scan or a picture (a "raster" PDF), QCAD cannot magically turn it into a DWG file with editable lines. It will just import it as a background image.
For this, your only real option inside QCAD is to:
- Import the PDF as a static image.
- Lock it in the background.
- Manually trace over it using QCAD's drawing tools.
It's a lot of work, but it gives you full control over the final drawing.
- CrosbyMarlinBronze Contributor
Able2Extract Professional. It is a desktop PDF to DWG converter for Windows that can convert PDF drawings into AutoCAD-compatible formats such as DWG. It is useful when the PDF contains selectable vector lines, text, and shapes, because it can extract those elements and turn them into editable CAD content. The software also supports scanned PDF conversion with OCR, which can help when the original drawing is saved as an image rather than a clean vector PDF.
Another advantage of Able2Extract Professional is that it is not only a PDF to DWG converter. It can also convert PDFs to Word, Excel, PowerPoint, images, and other formats, so it is a good choice for users who work with different PDF tasks on the same Windows PC.
The workflow is simple: open the PDF, select the page or drawing area, choose the AutoCAD conversion option, adjust the output settings, and save the file as DWG.
Cons:
It is paid software ($199.95), so it may not be ideal for one-time conversion.
The free trial has conversion limits after the first unrestricted file.
Scanned or low-resolution PDFs may still need manual cleanup after conversion.
Complex drawings may not preserve perfect layers, scale, or text formatting.
- Nobel_BaynesSteel Contributor
AutoCAD has a built-in PDFIMPORT command that can convert PDF geometry into editable CAD objects. Autodesk says PDF underlays can be converted into editable drawing geometry using PDFIMPORT, and the tool is available from the Insert tab or command line.
Best for: vector PDFs exported from CAD software.
Not ideal for: scanned paper drawings or low-quality image PDFs.
How to convert pdf to dwg with actual scale:
1. Open AutoCAD on Windows.
2. Type PDFIMPORT in the command line.
3. Select the PDF file.
4. Choose the page, scale, layers, and import options.
5. Clean up the result and save it as a .dwg file.
Pros: Built into AutoCAD, good geometry control, no extra converter needed.
Cons: Requires AutoCAD, and scanned PDFs usually need tracing/OCR first.