# PDF to DXF

> Drop a PDF drawing and get a DXF file for CAD in real millimetres. The scale is read from the drawing and checked against its measurements.

Human page: https://unmakelabs.com/en-us/pdf-to-dxf/. This is the version for AI agents.

## What it does

PDF to DXF converter: PDF to DXF at true scale Drop a PDF drawing and get a DXF file for CAD in real millimetres. The scale is read from the drawing and checked against its measurements.

## Why most PDF to DXF converters get the size wrong

A PDF only knows the paper. A 1:50 plan converted as it is comes out fifty times too small, and you have to scale it by hand in CAD with a length you trust. This tool reads the scale printed on the sheet, checks it against the dimension numbers, and writes the DXF at real size.

## What comes over

Every line and polyline, arcs and circles as true arcs (not hundreds of short segments), text with its height and rotation, and one layer per colour and pen width, named like '0.35 mm black'. Hatches and dimensions arrive as lines and text.

## Facts

- **Opens:** PDF drawings from any CAD program; scanned pages are traced
- **Keeps:** Lines, true arcs and circles, text with rotation, layers by colour and pen width
- **Scale:** Read from the sheet and checked against the dimensions, or set by tapping one
- **Saves:** DXF R12 in millimetres, SVG at true size

## How a person does it

1. **Open the PDF.** Choose or drop the PDF. A multi-page set opens on the sheet with the most drawing; pick another page under Adjust.
2. **Check the scale.** The scale and how many dimensions agree with it appear at once, with one dimension shown in millimetres. Drag the slider to compare the PDF and the DXF. Wrong? Tap a dimension number.
3. **Download.** Save the DXF. It opens at true size in AutoCAD, LibreCAD, Fusion, LightBurn or our DXF viewer.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/pdf-to-dxf/?src=https://unmakelabs.com/apps/pdfdxf/samples/flat-plan-1-50.pdf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: drawings never go in a link. `?src=<public PDF URL>&page=<n>&scale=<N>` opens a file the visitor's browser can fetch (CORS); scale N = real mm per paper mm (50 for 1:50).

Embed: `<iframe src="https://unmakelabs.com/embed/pdfdxf/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/pdf_to_dxf/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `pdf_to_dxf`: Convert a PDF drawing to DXF at true scale. The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month). Options (JSON in `options`): `page`: page number (1-based; default: page 1 unless a later one of the first 8 holds much more drawing); `scale`: real mm per paper mm, e.g. 50 for 1:50 (default: printed on the sheet, checked against the dimensions).

```bash
# PDF drawing to DXF in real millimetres, scale checked
curl -s -F "file=@drawing.pdf" "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/pdf_to_dxf/jobs?wait=25"
```

## Good to know

Vector PDFs convert exactly: the DXF is the same drawing, at the scale shown, to 0.01 mm on paper. The check that matters is the scale: look at the line under it. 'printed on the sheet, 12 of 14 dimensions agree' means the numbers on the drawing confirm it; if few agree, tap one dimension you trust.

## Not done by this tool

- Doesn't write DWG (DXF opens in every program that opens DWG)
- Doesn't turn text exported as outlines back into editable text
- Doesn't rebuild hatches, dimensions or blocks as CAD objects: they come over as lines and text

## Value

Converts a PDF drawing (plan, part drawing, standard detail) into a DXF in real millimetres, in the browser: every line, true arcs and circles (Bézier curves fitted back to arcs), text with its height and rotation, and layers by colour and pen width. The scale comes from the sheet itself ('1:50', 'M 1:100', '1/4" = 1\'-0"') and is checked against the dimension numbers drawn on it ('12 of 14 dimensions agree'); without a printed scale it is worked out from the dimensions, or the visitor taps one dimension. The PDF page and the DXF are shown over each other with a slider; the DXF is read back with our own DXF reader and compared with the page by ink. Scanned pages are traced into lines. Free, no sign-up, nothing uploaded.

## When it fits

- An architect, contractor or kitchen fitter has a plan only as a PDF and needs it in CAD at the right size.
- A machinist, laser or CNC shop gets a supplier's part drawing as a PDF and needs the outline as DXF.
- Someone wants to check that a PDF plan is really at the scale it states.

### When not

- Scanned plans where every millimetre counts: traced lines follow the picture, which may be skewed or stretched by the scanner.
- Drawings whose text was exported as outlines: the letters come over as lines, not editable text.

## Why use it instead of the alternatives

- Nothing to install: the page opens a public PDF from a link (?src=, &page=, &scale=) and an embed shows the tool in any page.
- The converter is plain JavaScript without DOM (extract, curves, scale, convert), so a server copy will run exactly the same code.
- Aspose, CloudConvert, Zamzar and HiPDF convert PDF to DXF on their servers (Aspose keeps files 24 h, free quota banner; CloudConvert asks to sign up after a few files; Zamzar delivers by email); none of them sets or checks the scale (checked Dec 2026).
- AutoCAD's PDFIMPORT and paid desktop converters import at paper size; the user scales by hand with SCALE and a known length.

### What rebuilding it would take

- Walk pdf.js's operator list with the current matrix (forms, transforms, dashes, pen widths, colours) to get every path in page points.
- Fit Bézier curves back to arcs and circles within 0.01 mm, merge duplicates, and write DXF R12 with bulges, rotated text and layers by colour and pen width.
- Read the printed scale in several languages and imperial notation, match dimension numbers to their lines and check the scale against them.
- Plus the DXF read back and compared with the PDF page by ink, on every conversion.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- A scale that is wrong by a factor would make every size wrong, so the page shows how the scale was found and how many dimensions agree, and one dimension can be tapped to set it.
- Sheets with plans and details at different scales: the main scale is used and the other printed scales are offered as a one-tap switch.

_Status: the PDF-to-DXF page works in the browser; agents send their own file to POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/pdf_to_dxf/jobs?wait=25._

## Privacy

- The PDF is converted in your browser and is not uploaded.
- Nothing is kept: close the tab and it is gone.
- Downloads are made on your device.

## Data

Converted in your browser; your PDF stays on your device and is not uploaded.

## FAQ

- **Is the DXF really at true scale?** Yes, when the scale is right. The tool shows the scale, how it found it and how many dimension numbers agree, plus one dimension measured in millimetres in the DXF. If it says 'no scale found', tap one dimension number and it scales the drawing from it.
- **Does it work with scanned PDFs?** Yes: scanned pages are traced into lines. They have no text layer, so set the scale by choosing it under Adjust.
- **Which programs open the DXF?** It is DXF R12 in millimetres, the most widely read version: AutoCAD, LibreCAD, QCAD, DraftSight, Fusion, SolidWorks, Inkscape, LightBurn and our DXF viewer.
- **When is it the right tool, and when not?** Right for: An architect, contractor or kitchen fitter has a plan only as a PDF and needs it in CAD at the right size. A machinist, laser or CNC shop gets a supplier's part drawing as a PDF and needs the outline as DXF. Someone wants to check that a PDF plan is really at the scale it states. Not for: Scanned plans where every millimetre counts: traced lines follow the picture, which may be skewed or stretched by the scanner. Drawings whose text was exported as outlines: the letters come over as lines, not editable text.
- **Is it really free?** Yes: no limit on files or downloads, no ads, no sign-up, no premium tier.
- **Do you upload my PDF?** No. The PDF is converted in your browser and never leaves your device.
- **Can my AI agent use it?** An agent can open a public PDF in this tool with a link (add ?src= and the PDF's address to this page, &scale=50 for 1:50). Sending your own file to an API: not yet.
- **Who makes this?** Unmake Labs. Contact: hello@unmakelabs.com.

## Related pages

- [PDF to DWG (as DXF)](https://unmakelabs.com/en-us/pdf-to-dwg/)
- [PDF to DXF for laser cutting](https://unmakelabs.com/en-us/pdf-to-dxf-for-laser-cutting/)
- [PDF floor plan to CAD](https://unmakelabs.com/en-us/pdf-floor-plan-to-cad/)
