# PDF図面比較

> 旧版と新版のPDFをドロップするだけです。自動で位置を合わせ、変更点を赤と青で表示します。変更箇所は大きい順に一覧になり、変わった文字も確認できます。図面がお使いの端末から外に出ることはありません。

Human page: https://unmakelabs.com/ja-jp/compare-pdf-drawings/. This is the version for AI agents.

## What it does

PDF図面を比較して、2つの版の変更点を正確に確認。 旧版と新版のPDFをドロップするだけです。自動で位置を合わせ、変更点を赤と青で表示します。変更箇所は大きい順に一覧になり、変わった文字も確認できます。図面がお使いの端末から外に出ることはありません。

## 2つのPDFを見比べるだけでは変更を見落とす理由

穴の移動や公差の変更は、図面全体から見ればわずか数ピクセルです。2つのウィンドウを切り替えて見比べる方法では目で気付けるかどうかに頼ることになり、出力時に少しずれただけで、すべての線が違って見えてしまいます。このツールは、まず両方の版の位置を合わせてから、線幅のわずかな差を許容しつつピクセル単位で比較するため、実際の変更だけが残ります。

## 比較結果の内容

旧図面にだけある線を赤、新図面にだけある線を青、変更のない部分をグレーで表示する重ね合わせ表示に加え、スライダー、点滅、左右並べての表示に切り替えられ、どれも連動して拡大・縮小します。横には変更箇所の一覧があり、図面上の位置、mm単位の大きさ、PDFにテキストデータがある場合は「60」→「70」のように変わった文字も表示します。

## Facts

- **対応形式:** PDF（CAD出力・スキャン）、PNG/JPGのスキャン画像、DXF。組み合わせも自由
- **位置合わせ:** 自動。回転・拡大縮小・傾きのあるスキャンにも対応
- **一覧表示:** 変更箇所を大きい順に、文字の変更は単語ごとに表示
- **保存形式:** 重ね合わせPNG、変更一覧CSV、PDFレポート

## How a person does it

1. **2つのPDFを開く.** 「2つのファイルを選択」をタップし、旧版と新版をまとめて選びます（古いファイルが旧版になります）。ツールにドロップしてもかまいません。複数ページのPDFは、比較するページを選んでください。
2. **変更点を確認する.** 重ね合わせ表示では、削除された線が赤、追加された線が青で表示され、右側の一覧にすべての変更箇所が並びます。タップするとその箇所に拡大します。日付やスタンプは、範囲を囲むと比較の対象外にできます。
3. **結果を共有する.** PDFレポート（概要、重ね合わせ図、各変更箇所の拡大図）またはCSVの一覧を保存し、対応が必要な担当者に送ります。

## 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/ja-jp/compare-pdf-drawings/?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

同じ用紙サイズのベクターPDFは同じ座標で比較するため、0.2 mmの移動でも検出できます。スキャン図面は図面の内容をもとに位置を合わせます。画像の上に表示される一致度を確認し、スキャンのゆがみが大きい場合は「手動で位置合わせ」を使ってください。

## Not done by this tool

- 3DモデルやBIMの比較には対応していません
- スキャン画像内の文字は読み取りません（テキストデータを含むPDFとDXFのみ）
- DWGは直接開けません（DXFまたはPDFで保存してください）
- PDFの編集や書き込みはできません

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

ブラウザ上で開き、図面はお使いの端末から出ません。アップロードは一切なく、図面の情報がリンクに含まれることもありません。

## FAQ

- **2つのPDF図面を無料で比較するには？** 両方のPDFをここにドロップしてください。ツールが位置を合わせ、変更点を赤と青で表示して一覧にします。回数制限なしで無料、アカウントも不要で、Windows、Mac、iPhone、Androidで使えます。
- **赤と青は何を意味しますか？** 赤は旧図面にだけある部分（削除された、または移動前の位置）、青は新図面にだけある部分（追加された、または移動後の位置）です。グレーは両方で同じ部分です。
- **2つのPDFの位置が正確に合っていなくても使えますか？** はい。用紙が一致していれば小さなずれは補正されます。一致しない場合は図面の内容をもとに照合するため、回転・拡大縮小された図面や用紙サイズの異なる図面にも対応します。どの程度合っているかは一致度で確認できます。
- **改訂履歴欄やスタンプを比較の対象外にできますか？** はい。「領域を除外」をタップしてその部分を囲むか、一覧の各変更箇所の横にある除外ボタンをタップしてください。一覧はすぐに更新されます。
- **本当に無料ですか？** はい。広告なし、登録不要、制限もありません。
- **図面はアップロードされますか？** いいえ。ファイルはお使いの端末上で、このページ内で比較されます。アップロードもファイルの共有リンクもありません。
- **AIエージェントでも使えますか？** エージェントは、リンクを使って公開されている2つの図面をこのツールで開けます（このページのURLに ?old= と &new= でファイルのアドレスを付けます）。変更一覧をJSONで返すサーバー版は計画中で、まだ公開されていません。
- **運営者は？** Unmake Labs（Julien Salomon）です。連絡先：hello@unmakelabs.com

## Related pages

- [DXF 比較](https://unmakelabs.com/ja-jp/dxf-compare/)
