# UDIバーコード解析

> 医療機器の写真やラベルのPDFを開いてください。GS1のUDIを製品識別子（UDI-DI）と製造識別子（ロット、シリアル、製造日、有効期限）に分け、それぞれをチェックします。

Human page: https://unmakelabs.com/ja-jp/udi-barcode-decoder/. This is the version for AI agents.

## What it does

医療機器のGS1-128・UDIバーコードを読み取り 医療機器の写真やラベルのPDFを開いてください。GS1のUDIを製品識別子（UDI-DI）と製造識別子（ロット、シリアル、製造日、有効期限）に分け、それぞれをチェックします。

## UDI-DIとUDI-PI

FDAのUDI規則やEU MDRにより、医療機器には機器固有識別子（UDI）の表示が求められます。GS1の仕組みでは、UDI-DIは(01)のGTINです。UDI-PIは(11)製造日、(17)有効期限、(10)ロット、(21)シリアルで構成されます。このページでは各項目の名前を示し、形式をチェックします。

## ラベルを出荷する前に

薬事・品質保証の担当者は、ラベル校正でGTINのチェックデジット、日付の正しさ、ロットの後の区切り文字を確認します。誤りがあると、病院のシステムで機器が受け付けられないことがあります。

## Facts

- **発番機関:** GS1（HIBCCとICCBBAのコードはテキストとして表示し、解析しません）
- **バーコードの種類:** GS1 DataMatrix、GS1-128、GS1 QR
- **チェック項目:** GTINのチェックデジット、日付、桁数、必須の組み合わせ
- **プライバシー:** お使いの端末上で読み取り、アップロードはしません

## How a person does it

1. **ラベルを開く.** 機器や包装の写真、またはラベル校正のPDF。
2. **UDI-DIとUDI-PIを確認.** 製品識別子、ロット、シリアル、日付がチェック結果とともに一覧表示されます。
3. **書き出し.** すべてのラベルをExcel、CSV、JSONでダウンロードして記録できます。

## 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/udi-barcode-decoder/?src=https://unmakelabs.com/apps/barcode/samples/label.jpg`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?src=<public picture or PDF URL>` (the file must allow CORS) or `?codes=<one code per line: GTIN, SSCC, (01)... printed GS1, Digital Link URL>`; nothing else goes in the link.

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

## Metadata and pictures as data (coming)

every code per picture/PDF page: type, content, GS1 fields (AI, name, value, unit), check results (check digits, dates, lengths, pairing rules), position; CSV/XLSX/JSON from the page today; an API copy of the same parser is planned

```
curl -s -X POST "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/barcode/read" -H "Content-Type: application/json" -d '{"file_url": "https://unmakelabs.com/apps/barcode/samples/label.jpg"}'
```

## Good to know

バーコードのGS1構文をチェックします。GUDIDやEUDAMEDで機器を照会することはしません。

## Not done by this tool

- HIBCCやICCBBAのUDIは解析しません（テキストとして表示）
- GUDIDやEUDAMEDへの照会はしません
- 印字品質の評価はしません
- ファイルのアップロードや保存はしません

## Value

Reads every barcode in many photos, scans or PDF pages at once in the browser (zxing-wasm on zxing-cpp; EAN-13/8, UPC-A/E, Code 128, GS1-128, ITF-14, Data Matrix, QR, PDF417, GS1 DataBar, Aztec, Code 39/93; linear codes at any angle), or live from the phone camera, or typed/pasted codes. GS1 data (GS1-128, GS1 DataMatrix, GS1 QR, Digital Link URLs) is split into named Application Identifiers and checked by program against the official GS1 Barcode Syntax Dictionary: mod-10 check digits (GTIN, SSCC, GLN), lengths, character sets, real dates (day 00 = end of month), times, IBAN and GMN checks, required and excluded AI pairs judged over all codes of a picture, expired dates. Results: one card per picture/page with the codes outlined and numbered, and one table for all files as Excel (every cell text, leading zeros kept), CSV or JSON. Also completes or verifies GTIN/SSCC check digits for pasted lists. Nothing is uploaded. Free, no sign-up.

## When it fits

- A warehouse clerk photographs pallet and carton labels on a phone and needs SSCC, GTIN, batch and dates in one spreadsheet.
- A QA or regulatory person checks the GS1 or UDI barcodes in a label PDF proof before printing.
- Someone has a list of GTINs or EANs and needs the check digits completed or verified.

### When not

- Print-quality grading to ISO/IEC 15416/15415 (a verifier with calibrated optics is needed).
- Looking up the product or company behind a GTIN (Verified by GS1), or querying GUDID / EUDAMED / medicine verification systems.

## Why use it instead of the alternatives

- Nothing to install: ?src=<public picture or PDF> opens a file, ?codes=<lines> checks typed codes; the page's JSON download has every field and check; embeddable at /embed/barcode/.
- A server copy for agents (POST /v1/barcode/read: codes with GS1 fields and checks as JSON) is specified, not live.
- Phone scanner apps and most online readers decode one code at a time and show the raw string; GS1 fields, check digits and a table for many files are not part of them (checked 1 Dec 2026).
- GS1's own tools (Verified by GS1, the GS1 Barcode Syntax Engine) check numbers and strings you type; this page reads them from photos and PDFs in bulk and applies the same syntax dictionary.

### What rebuilding it would take

- Load a barcode decoder in the browser (zxing-wasm) and run it on every picture and on each PDF page drawn at 300 dpi, with extra passes for turned linear codes.
- Parse GS1 element strings, the printed (AI) form and Digital Link URLs against GS1's syntax dictionary, with check-digit, date and pairing-rule checks.
- Show each picture with numbered outlines, and write a table that keeps codes as text in Excel.
- Plus a test set of generated codes under bad conditions and real photos, scored by program.

## 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.
- Photos and PDFs are read on the user's device and never uploaded.

_Status: multi-file and PDF decoding, camera scanning, typed codes, GS1 parsing and checks, Excel/CSV/JSON work in the browser; the agent API is planned._

## Privacy

- Files are processed on the user's device and not uploaded; there is no share link for files.
- zxing-wasm, pdf.js and fflate download from this site's own server at pinned versions; the files are never sent anywhere.

## Data

ブラウザ上で動作し、写真やPDFはお使いの端末から出ません。何もアップロードされません。

## FAQ

- **UDIバーコードはどうやって読み取りますか？** 写真やPDFをこのページで開いてください。GS1のUDIであれば、GTIN（UDI-DI）とそのチェック結果、続いて製造日、有効期限、ロット、シリアルが表示されます。
- **医療機器のラベルにある(01)、(11)、(17)、(10)、(21)は何ですか？** (01)は製品識別子のGTIN、(11)は製造日、(17)は有効期限、(10)はロット、(21)はシリアル番号です。日付はYYMMDD形式で、日が00の場合はその月の末日を意味します。
- **読み取りの精度はどのくらいですか？** 当社のテストでは、ぼやけたラベル、回転したラベル、撮影したラベルも含めて約99%のコードを読み取り、誤読はありませんでした。GS1の各項目も正確に取り出せました。
- **本当に無料ですか？** はい。広告なし、登録不要、ファイル数の制限もありません。
- **写真やPDFはアップロードされますか？** いいえ。すべてお使いの端末上で、このページ内で読み取られます。
- **AIエージェントでも使えますか？** エージェントは、?src= に公開されている画像やPDFを指定するか、?codes= に1行1コードで指定してページを開き、JSONをダウンロードできます。同じJSONを返すAPIは予定中で、まだ公開されていません。
- **運営者は？** Unmake Labs（Julien Salomon）です。お問い合わせ：hello@unmakelabs.com

## Related pages

- [画像からバーコード読み取り](https://unmakelabs.com/ja-jp/barcode-reader-from-image/)
- [GS1バーコードデコーダー](https://unmakelabs.com/ja-jp/gs1-barcode-decoder/)
- [データマトリックス読み取り（オンライン）](https://unmakelabs.com/ja-jp/datamatrix-reader-online/)
- [PDFのバーコード読み取り](https://unmakelabs.com/ja-jp/read-barcodes-from-pdf/)
- [GTINチェックデジット計算ツール](https://unmakelabs.com/ja-jp/gtin-check-digit-calculator/)
- [バーコードをエクセルに読み取り](https://unmakelabs.com/ja-jp/scan-barcodes-to-excel/)
