# PDF do DWG (jako DXF)

> AutoCAD, BricsCAD i DraftSight otwierają DXF dokładnie tak jak DWG. Upuść plik PDF i pobierz DXF w rzeczywistej skali, a jeśli potrzebujesz DWG, zapisz go w swoim programie CAD.

Human page: https://unmakelabs.com/pl-pl/pdf-do-dwg/. This is the version for AI agents.

## What it does

PDF do DWG: DXF, który AutoCAD otwiera w skali 1:1 AutoCAD, BricsCAD i DraftSight otwierają DXF dokładnie tak jak DWG. Upuść plik PDF i pobierz DXF w rzeczywistej skali, a jeśli potrzebujesz DWG, zapisz go w swoim programie CAD.

## Dlaczego DXF, a nie DWG

DWG to zamknięty format Autodesku, a DXF to jego otwarty odpowiednik, który odczytuje i zapisuje każdy program CAD. Wystarczy otworzyć DXF i wybrać „Zapisz jako”, żeby w jednym kroku dostać DWG z tymi samymi warstwami i jednostkami.

## Lepsza skala niż w PDFIMPORT

PDFIMPORT w AutoCAD wczytuje arkusz w rozmiarze papieru. To narzędzie odczytuje skalę z rysunku, sprawdza ją z wymiarami i zapisuje rzeczywiste milimetry, więc nie trzeba potem skalować poleceniem SCALE według długości odniesienia.

## Facts

- **Otwiera:** Rysunki PDF z dowolnego programu CAD; zeskanowane strony są wektoryzowane
- **Zachowuje:** Linie, prawdziwe łuki i okręgi, tekst z obrotem, warstwy według koloru i grubości linii
- **Skala:** Odczytana z arkusza i sprawdzona z wymiarami albo ustawiona przez kliknięcie jednego wymiaru
- **Zapisuje:** DXF R12 w milimetrach, SVG w rzeczywistym rozmiarze

## How a person does it

1. **Otwórz PDF.** Wybierz lub upuść plik PDF. Wielostronicowy zestaw otwiera się na arkuszu z największą ilością rysunku; inną stronę wybierzesz w sekcji Dostosuj.
2. **Sprawdź skalę.** Od razu widać skalę i liczbę wymiarów, które się z nią zgadzają, a jeden wymiar jest pokazany w milimetrach. Przeciągnij suwak, aby porównać PDF z DXF. Coś się nie zgadza? Kliknij liczbę wymiaru.
3. **Pobierz.** Zapisz plik DXF. Otworzy się w rzeczywistym rozmiarze w AutoCAD, LibreCAD, Fusion, LightBurn lub w naszej przeglądarce DXF.

## 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/pl-pl/pdf-do-dwg/?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

Wektorowe pliki PDF są konwertowane dokładnie: DXF to ten sam rysunek, w pokazanej skali, z dokładnością do 0,01 mm na papierze. Najważniejsze jest sprawdzenie skali: spójrz na wiersz pod nią. „Wydrukowana na arkuszu, 12 z 14 wymiarów się zgadza” oznacza, że liczby na rysunku ją potwierdzają; jeśli zgadza się niewiele, kliknij jeden wymiar, któremu ufasz.

## Not done by this tool

- Nie zapisuje DWG (DXF otwiera się w każdym programie, który otwiera DWG)
- Nie zamienia tekstu wyeksportowanego jako krzywe z powrotem na edytowalny tekst
- Nie odtwarza kreskowań, wymiarów ani bloków jako obiektów CAD: trafiają do pliku jako linie i tekst

## 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

Konwersja odbywa się w przeglądarce. Twój PDF zostaje na Twoim urządzeniu i nie jest nigdzie wysyłany.

## FAQ

- **Czy mogę dostać prawdziwy plik .dwg?** Otwórz DXF w AutoCAD, BricsCAD, DraftSight lub w darmowym ODA File Converter i zapisz jako DWG. Samo narzędzie zapisuje DXF, dzięki czemu jest darmowe i działa w przeglądarce.
- **Czy warstwy są zachowane?** Warstwy są tworzone na podstawie kolorów i grubości linii w PDF („0,5 mm czarna”, „0,18 mm czerwona kreskowa”). PDF nie przechowuje oryginalnych nazw warstw CAD, więc nie da się ich odtworzyć.
- **A co z tekstem?** Jeśli PDF zawiera prawdziwy tekst, trafia on do pliku jako TEXT z wysokością i obrotem. Tekst wyeksportowany jako krzywe pojawia się jako linie.
- **Czy to naprawdę za darmo?** Tak: bez limitu plików i pobrań, bez reklam, bez rejestracji i bez płatnej wersji premium.
- **Czy wysyłacie mój PDF na serwer?** Nie. PDF jest konwertowany w przeglądarce i nigdy nie opuszcza Twojego urządzenia.
- **Czy mój agent AI może z tego korzystać?** Agent może otworzyć publiczny PDF w tym narzędziu przez link (dodaj do adresu tej strony ?src= i adres PDF-a, a &scale=50 dla skali 1:50). Wysyłanie własnego pliku przez API: jeszcze nie.
- **Kto to robi?** Unmake Labs. Kontakt: hello@unmakelabs.com.

## Related pages

- [PDF na DXF](https://unmakelabs.com/pl-pl/pdf-na-dxf/)
- [PDF do DXF do cięcia laserem](https://unmakelabs.com/pl-pl/pdf-do-dxf-laser/)
