Standards/mil-std-130-iuid
MIL-STD-130 IUID
Overview
MIL-STD-130, Identification Marking of U.S. Military Property, is the US Department of Defense (DoD) standard practice for marking items that the DoD buys, stocks and issues. It covers both free-text marks and machine-readable information (MRI) 1. For any item designated for Item Unique Identification (IUID), the mark must include a Data Matrix ECC 200 symbol carrying the item's unique item identifier (UII) data set 1. MIL-STD-130 defines the mark. DoD Instruction 8320.04 sets the IUID policy, and the DFARS clause 252.211-7003 puts the marking duty into contracts 45.
In practice, a contractor marks each qualifying part with a label, a metal plate or a direct part mark. The symbol holds an ISO/IEC 15434 message, such as the CAGE code, original part number and serial number, each tagged with a data qualifier. The UII is then reported to the DoD IUID Registry at delivery. A reader joins the elements into the UII, which identifies that one item for its whole life 157.
History
- Earlier revisions. EverySpec's archive lists revisions of MIL-STD-130 back to revision H of December 1993, followed by J (June 1997), K (January 2000), L (October 2003, Change 1 December 2004), M (December 2005, Change 1 June 2007) and N (December 2007) 3. No source read for this page gives the year of the first issue.
- IUID rollout (2004–2005). The DoD Guide to Uniquely Identifying Items groups the IUID business rules into new items in solicitations issued after 1 January 2004, legacy items already in use or in inventory, and Government property held by contractors after 1 January 2005 7. A USD(AT&L) memorandum of 23 December 2004 set the policy for legacy items 7. Wikipedia instead dates the marking duty to solicitations issued on or after 1 January 2005 13.
- MIL-STD-130N w/Change 1 (16 November 2012). It supersedes MIL-STD-130N of 17 December 2007 1. The change made it mandatory to identify the item's source enterprise and part number in the mark. It also required ISO/IEC 15434 syntax for GS1-encoded Data Matrix marks and added DI 49P and TEI ECI to flag export-controlled items 1. The preparing activity was the Air Force 1.
- Notice 1 (26 August 2019). A notice of validation states that MIL-STD-130N, dated 16 November 2012, "has been reviewed and determined to be valid for use in acquisition" 2. It changes no text.
- IUID 2.0 (29 November 2024). DoDI 8320.04 was reissued as DoD Serially Managed Items of Tangible Personal Property and Item Unique Identification 2.0 Standards. It cancels the 3 September 2015 version, Item Unique Identification (IUID) Standards for Tangible Personal Property 4.
Technical specification
Carrier. The two-dimensional symbol is Data Matrix ECC 200 to ISO/IEC 16022 15:
| Parameter | Requirement (MIL-STD-130N w/Change 1) |
|---|---|
| Module size | 0.0075–0.025 in (0.19–0.635 mm), unless the contract says otherwise; down to 0.001 in (0.025 mm) where space is limited |
| Symbol size | Square symbols no larger than 1 in (25.4 mm); for rectangular symbols, the longer side no longer than 1 in |
| Curved surfaces | Symbol no larger than 32% of the radius (16% of the diameter) |
| Quality, printed marks | ISO/IEC 15415 grade 3.0/05/650; modulation and symbol contrast may fall to 2.0 if the overall grade would otherwise be 3.0 |
| Quality, direct part marks | AIM DPM-1-2006 or ISO/IEC TR 29158 grade DPM 2.0/7.5-25/650, or SAE AS9132 |
| Linear codes (optional) | Code 39 (ISO/IEC 16388), Code 128 or GS1-128 (ISO/IEC 15417), EAN/UPC (ISO/IEC 15420) |
Sources: 1.
The mark should carry the data area title "UID" next to the Data Matrix symbol that holds the UII data set 1. Human-readable text should be sans-serif capitals, with a recommended minimum height of 0.2 cm (6 pt) 1.
The UII. A UII is at most 50 characters from A–Z, 0–9, hyphen and slash. It is "non-parsable", and syntax characters and data qualifiers are stripped before it is formed 1. Element limits are 3 characters for the issuing agency code (IAC), 13 for the enterprise identifier (EID), 32 for the original part, lot or batch number and 30 for the serial number 1. The IAC names the agency that issued the EID. It is derived from the qualifier and never marked on the item 15:
| IAC | Issuing agency | Enterprise identifier | DI |
|---|---|---|---|
| D | Allied Committee 135 | CAGE / NCAGE | 17V |
| UN | Dun & Bradstreet | D-U-N-S | 12V |
| 0–9 | GS1 | GS1 Company Prefix | 3V |
| LD | Department of Defense | DODAAC | 7L |
Sources: 1. A US CAGE code has five characters, with a digit in the first and last positions and no letters I or O, e.g. 2AAA5 9.
Constructs. The UII is built in one of two ways 15:
- Construct #1: IAC + EID + a serial number unique within the enterprise.
- Construct #2: IAC + EID + original part number (or lot or batch number) + a serial number unique within it.
- DoD-recognized IUID equivalents: VIN (DI
I), ESN/MEID (DI22S), and the GS1 GRAI (AI 8003), GIAI (AI 8004) and CMTI (AI 8002) 1.
IUID 2.0. The 2024 instruction uses "one simplified construction", the IUID 2.0 UII. It is built from the manufacturer's CAGE, the original part number and the manufacturer's serial number, taken from what the manufacturer has already marked on the item in human-readable form 4. A current part number can be added as a separate element. Items without known elements get locally assigned data from their owner. UIIs assigned before IUID 2.0 stay valid, and virtual UIIs are no longer authorised 4.
Message syntax. All Data Matrix data must use ISO/IEC 15434 syntax 1. The format indicator says which family of qualifiers follows 51:
| Format | Qualifiers | Defined by |
|---|---|---|
| 05 | GS1 Application Identifiers (AIs) | ISO/IEC 15418 / GS1 |
| 06 | ASC MH10 Data Identifiers (DIs) | ISO/IEC 15418 / ANSI MH10.8.2 |
| 12 | Text Element Identifiers (TEIs) | A4A (ATA) CSDD |
| DD | TEIs (DoD stopgap, retired) | DoD |
The DoD created "DD" to carry TEIs until ISO/IEC 15434 (October 2006) assigned format "12". Newly marked parts must use 12, and items already marked DD need not be re-marked 1.
The DoD guide gives this Construct #2 example in format 06 7:
[)> RS 06 GS 12V077991289 GS 1P4202435 GS S10936 RS EOT
[)> is the compliance indicator, RS (0x1E) the format trailer, GS (0x1D) the separator between fields and EOT (0x04) the message trailer. A reader strips the overhead and adds IAC UN for the D-U-N-S, giving the UII UN077991289420243510936 7. The guide's Construct #1 example is [)>RS06GS18S0CVA5674A36458RSEOT, which gives D0CVA5674A36458 7. Data Matrix has single codewords that stand for the whole format 05 or format 06 header and trailer. ZXing-C++ expands codeword 237 to [)>RS06GS plus the trailer RS EOT 11.
Data Identifiers used for IUID (format 06) 18:
| DI | Meaning | In the UII? |
|---|---|---|
| 17V | US DoD CAGE code (an3+an5) |
yes, EID |
| 12V / 3V / 7L / 18V | D-U-N-S / GS1 Company Prefix / DODAAC / IAC + other EID | yes, EID |
| 1P | Item identification code assigned by the supplier (original part number) | yes, Construct #2 |
| 1T | Supplier lot number | yes, Construct #2 by lot |
| S | Serial number assigned by the supplier | yes |
| 18S | CAGE + serial number unique within the CAGE (single element; reader adds D) |
yes, whole UII |
| 25S | IAC + EID + serial number (single element) | yes, whole UII |
| 30P / 30T | Current part number / lot number | no |
The UII is assembled in a fixed order, whatever order the elements are encoded in. For a CAGE-based Construct #2 it is D + ⟨17V⟩ + ⟨1P⟩ + ⟨S⟩ 17. If a symbol holds more than one EID, the UII must be encoded as a single element (18S, 25S, UID, UST, USN or an equivalent) so that the result is unambiguous 1.
Marking protocols. Contractors may follow A4A SPEC2000/CSDD (TEIs, format 12), AIAG B-4 and B-17, CEA (ANSI MH10.8.7 and CEA-706), the GS1 System (AIs inside an ISO/IEC 15434 envelope), or NASA-STD-6002 for NASA work. Otherwise they use ANSI MH10.8.7, and any other protocol needs USTRANSCOM approval 1.
Marking methods. The standard's Table II lists methods that can produce a 2D symbol: acid etch, dot peening, casting or forging, moulding, electro-chemical etch and laser discoloration, paint pigmentation or bonding, as well as labels and plates 1.
About the Try-it encoder
The playground sends the string [)>06 17V0CVA5 1P1234 SSER5678 straight to bwip-js's datamatrix. Its fields fit a Construct #2 / IUID 2.0 data set: CAGE 0CVA5 (the CAGE in the DoD guide's own examples, and a valid US CAGE form), original part number 1234, and serial number SER5678 794. The envelope is wrong, though. The string uses spaces where ISO/IEC 15434 needs control characters. It has no RS after [)>, no GS between the fields and no RS EOT trailer 7. A scanner reads it as literal text with spaces, and spaces are outside the UII character set, so it is not a valid IUID mark 1.
The correct bytes are [)> RS 06 GS 17V0CVA5 GS 1P1234 GS SSER5678 RS EOT. A reader would derive the UII D0CVA51234SER5678 17. BWIPP's parse option turns ^NNN into the byte NNN, and its Data Matrix encoder compresses format 05 and 06 messages 10. So the input [)>^03006^02917V0CVA5^0291P1234^029SSER5678^030^004 with parse gives the real envelope. On 7 November 2026 Barcoder rendered both strings with bwip-js 4.11.0 and decoded the images with ZXing. The current sample decodes with plain spaces. The parsed one decodes to [)>\x1E06\x1D17V0CVA5\x1D1P1234\x1DSSER5678\x1E\x04.
Use cases
- New DoD deliveries. DFARS 252.211-7003 (JAN 2023) requires unique identification for every delivered item with a Government unit acquisition cost of $5,000 or more. It also covers lower-cost items listed in the contract, embedded subassemblies, components and parts, DoD serially managed reparables and nonreparables, and some special tooling and test equipment 5. Under IUID 2.0, solicitations must include the clause when the item's serially-managed indicator in the Federal Logistics Information System is "Y" 4.
- Items already in inventory. Serially managed items in use, in inventory or in maintenance without a UII receive an IUID 2.0 Data Matrix under the DoD Component's implementation plan 4.
- Packaging and shipment documents. When an item can't be marked, the UII goes on the unit pack under MIL-STD-129. DoD Components also put IUID 2.0 Data Matrix codes on DoD shipment documents under DLM 4000.25 41.
- Receiving and acceptance. The UII and its data are reported on the receiving report in Wide Area WorkFlow (WAWF). DoD Components must check samples of marks for print quality and data content against MIL-STD-130 54.
- Counterfeit prevention. MIL-STD-130 names anti-counterfeiting among the purposes of the UII. It allows very small parts, such as electronic components and critical safety items, to be marked below the minimum size when traceability is needed 1.
Implementations
| Project | Language | Stars | Last active | Role |
|---|---|---|---|---|
| zint/zint | C | 827 | Oct 2026 | Data Matrix encoder; --esc accepts \R (RS), \G (GS) and \E (EOT) 1214 |
| metafloor/bwip-js | JavaScript | 2,431 | Aug 2026 | Port of BWIPP, used by Barcoder's playgrounds; parse option for control characters 1015 |
| zxing-cpp/zxing-cpp | C++ | 2,089 | Nov 2026 | Decoder; expands the format 05/06 macro codewords into the full ISO/IEC 15434 envelope 1116 |
| dmtx/libdmtx | C | 371 | Jul 2026 | Data Matrix encoder and decoder library 17 |
Star counts were read from the GitHub API on 7 November 2026. None of these libraries derives a UII. That step, which strips the envelope, adds the IAC and checks the construct rules, is left to the application. No open-source UII parser with real use was found.
Comparison
- vs. GS1 DataMatrix. The symbol is the same, but the syntax is not. MIL-STD-130 requires GS1 AIs in a Data Matrix to sit inside an ISO/IEC 15434 envelope (format 05). A plain GS1 DataMatrix with FNC1 qualifies only under the exemption for commercial off-the-shelf items or under virtual-UII procedures 1. The GS1 route to a UII is the GIAI (AI 8004) or GRAI (AI 8003). The earlier Construct #2 from AI 01 + AI 21 "was never entered into the IUID Registry" and has been withdrawn 1.
- vs. plain Data Matrix. MIL-STD-130 adds rules on top of ISO/IEC 16022: ECC 200 only, the ISO/IEC 15434 envelope, the UII construct rules, size and grade limits, and human-readable text 1.
- vs. LOGMARS. LOGMARS puts NSN and contract data in Code 39. MIL-STD-130 uses Data Matrix to identify single items. MIL-STD-130 still allows Code 39 (wide-to-narrow ratio 2.1:1 to 3.1:1) as an added linear code 1.
- vs. PPN Code. German pharmacy packs also carry an ISO/IEC 15434 message in Data Matrix 10. Only the IUID mark is tied to the 50-character UII and to registration with the DoD 1.
Choosing. A supplier does not choose: the contract invokes DFARS 252.211-7003, and MIL-STD-130 then applies. The supplier chooses only the qualifier family (AIs, DIs or TEIs) and the marking protocol 51.
Fun facts
- The standard defines how to "cross out" an unreadable direct-marked symbol that can't be removed. Two diagonal lines run through the centre, and one vertical and one horizontal line run through the two broken edges of the finder pattern 1.
- A serial number is not enough to identify an item. DoDI 8320.04 states that a serial number, "even when combined with a national stock number, is not inherently unique to a single item" 4.
Status
Active. MIL-STD-130N w/Change 1 (16 November 2012) is the text in force. Notice 1 of 26 August 2019 confirmed it valid for acquisition 12. EverySpec lists no later revision 3. Both DFARS 252.211-7003 (JAN 2023) and DoDI 8320.04 (2024) cite "MIL-STD-130, latest version" or "current edition", not a specific revision letter 54. ASSIST, the DoD's official index of standards, was not checked for this page.
The DoD IUID Registry is the central repository for UIIs established at acceptance. Contractors report custody changes of Government-furnished property in the GFP module of the Procurement Integrated Enterprise Environment, under DFARS 252.245-7005 4. The older GFP clause 252.211-7007 is now marked "Reserved" 6.
Sources
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal