# DXF compare

> Drop two versions of a DXF. Both are drawn in the same drawing coordinates, so every moved line, new hole and changed text shows in red or blue, with the text changes listed word by word.

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

## What it does

Compare two DXF files without opening a CAD program. Drop two versions of a DXF. Both are drawn in the same drawing coordinates, so every moved line, new hole and changed text shows in red or blue, with the text changes listed word by word.

## Same coordinates, no guessing

Two DXF exports of the same part share their drawing coordinates. The tool draws both into one frame around both drawings, so unchanged geometry falls exactly on the same pixels and the smallest edit stands out. If a whole drawing was moved, it is lined up automatically.

## Text from the DXF itself

TEXT and MTEXT, dimensions and attributes are read from the files, so a changed dimension value or note is listed as old → new words, not just as a coloured spot. Layers, colours and line types are ignored on purpose: only what is drawn counts.

## Facts

- **Opens:** ASCII DXF R12-2018 (and PDF or scans to compare with)
- **Draws:** Model space, blocks, dimensions, hatches, text
- **Lists:** Changed areas and text changes
- **Saves:** Overlay PNG, CSV in mm, PDF report

## How a person does it

1. **Open both DXF files.** Choose them together or one by one. A DXF can also be compared with a PDF or a scan of the drawing.
2. **See what changed.** Red is only in the old file, blue only in the new. The list gives each area's size in drawing units and the changed text.
3. **Share the check.** Save the PDF report or the CSV, with boxes in mm when the DXF states its units.

## 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/dxf-compare/?src=https://unmakelabs.com/apps/drawcompare/samples/bracket-rev-b.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. `?old=<public file URL>&new=<public file URL>` opens two files the visitor's browser can fetch (CORS).

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

## Good to know

DWG files need saving as DXF first (our DXF viewer shows how: Save As DXF in any CAD program, or the free ODA File Converter). Binary DXF must be saved as ASCII DXF. Layouts other than the model space are offered in the page picker.

## Not done by this tool

- Doesn't open DWG directly
- Doesn't list entity-by-entity property changes (layer, colour)
- Doesn't compare 3D DXF geometry
- Doesn't write a merged DXF

## Value

Compares two revisions of a technical drawing in the browser and lists what changed. Inputs: PDF (drawn or scanned), PNG/JPG/WebP scans and photos of a flat sheet, and ASCII DXF, in any mix (rev A as PDF, rev B as a phone scan). Lines the new revision up on the old one automatically: same sheet coordinates for vector PDFs on the same sheet and for DXF pairs, otherwise OpenCV feature matching (ORB + RANSAC homography) refined by ECC, which handles rotation (also 90°), scale, shift and slight keystone. Shows an overlay (only in old: red, only in new: blue, in both: grey), a slider, blink and side by side with one shared zoom. Lists the changed areas biggest first, each with where it is on the sheet, its size (mm when the file has a scale) and, where the PDF or DXF has text, the words that changed ("60" -> "70"). Boxes drawn over stamps or dates are ignored; a manual nudge fixes a bad line-up. Exports the overlay as PNG, the change list as CSV and a PDF report with a close-up of each change. Nothing is uploaded. Free, no sign-up.

## When it fits

- An engineer, checker or buyer receives a new revision of a drawing from a supplier or customer and must find every change, not only the ones in the revision table.
- A site manager or installer has the old drawing as PDF and the new one as a scan or photo and needs to see what moved before building.
- A CAD user wants to check two DXF exports of the same part for unintended changes.

### When not

- Comparing 3D models, BIM models or the entity data of DWG files (save as DXF or PDF first).
- Comparing text documents (contracts, specifications): a text diff tool fits better.
- Photos taken at a steep angle or of curved sheets: the line-up assumes a flat sheet seen roughly from the front.

## Why use it instead of the alternatives

- Nothing to install: the tool opens two public drawings by link (?old=...&new=...) in any browser, phones included, and can be embedded (/embed/drawcompare/).
- A server copy for agents (change list as JSON) is planned, not live; the comparison code has no browser dependency and can run on a server.
- Bluebeam Revu Compare and Overlay, Xodo PDF Studio and project platforms (Procore, Drawboard, Trimble) do overlays inside paid desktop software or subscriptions; Bluebeam's Smart Overlay is in its top plan, and Xodo's own guide warns that a small shift makes every line look changed. Draftable and diffchecker compare text first.
- This tool is free in the browser, lines scans and differently sized sheets up automatically, lists the changed areas with their text, and never uploads the drawings.

### What rebuilding it would take

- Render both files at the same scale (PDF pages, DXF entities, scans), handle rotated pages and different sheet sizes.
- Line the drawings up to the pixel: feature matching and a robust homography, then ECC refinement, with a check that the result is plausible.
- Turn pixel differences into a short list of change areas with a line-width tolerance and scan-noise filtering, match text layers word by word, and export PNG/CSV/PDF.
- A set of drawing pairs with known changes and a scorer for recall, false areas and line-up error, kept up to date.

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

- Free and unlimited; no sign-up, no ads.
- Drawings are compared on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.

_Status: comparison, automatic line-up, change list, text changes, ignore areas, PNG/CSV/PDF export work in the browser; no API yet._

## Privacy

- Drawings are read on the user's device and not uploaded; there is no share link for files.
- The page loads pdf.js, opencv.js (only for scans or re-aligned sheets) and jsPDF (only for the report) from unmakelabs.com itself; no third-party code host is contacted.

## Data

Opens in your browser; your drawings stay on your device. Nothing is uploaded, and nothing about them goes into links.

## FAQ

- **How do I compare two DXF files?** Drop both here. They are drawn in the same coordinates and every difference is shown in red and blue and listed, free and without installing CAD software.
- **Can I compare a DXF with a PDF of the same drawing?** Yes. Mixed pairs are lined up from the drawing content.
- **Does it compare layers or colours?** No: the comparison looks at what is drawn, in black on white. A line moved to another layer without moving is not a change here.
- **What about DWG?** Save the DWG as DXF (or PDF) in your CAD program first. No CAD program? Drop the DWG on our free DXF viewer: it shows the steps with the free ODA File Converter.
- **When is it the right tool, and when not?** Right for: An engineer, checker or buyer receives a new revision of a drawing from a supplier or customer and must find every change, not only the ones in the revision table. A site manager or installer has the old drawing as PDF and the new one as a scan or photo and needs to see what moved before building. A CAD user wants to check two DXF exports of the same part for unintended changes. Not for: Comparing 3D models, BIM models or the entity data of DWG files (save as DXF or PDF first). Comparing text documents (contracts, specifications): a text diff tool fits better. Photos taken at a steep angle or of curved sheets: the line-up assumes a flat sheet seen roughly from the front.
- **Is it really free?** Yes: no ads, no sign-up, no limits.
- **Do you upload my drawings?** No. The files are compared inside this page on your device. There is no upload and no share link for files.
- **Can an AI agent use it?** An agent can open two public drawings in this tool with a link (add ?old= and &new= with the files' addresses to this page). A server version that returns the change list as JSON is planned, not live.
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [Compare PDF drawings](https://unmakelabs.com/en-us/compare-pdf-drawings/)
