---
title: Free UDI Barcode Decoder & Parser | Instant GS1, HIBCC, ICCBBA — Stanza API
description: Free online medical device UDI barcode decoder and instant REST API. Parse DI/PI tokens (GTIN, lot, serial, expiration date) from GS1-128, HIBCC Modulo-43, and ICCBBA barcodes with FDA 21 CFR 801 & EU MDR compliance.
canonical: https://stanzaapi.com/tools/udi-decoder/
---

[Home](/)/[API Directory](/tools/)/Medical Device UDI Barcode & AIDC Engine

 <5ms Edge Latency99.9% SLA AvailableVerified: Sep 2026V8 Pure ComputeMedical Devices & Healthcare Regulation

# Medical Device UDI Barcode & AIDC Engine

Decode medical device Unique Device Identifiers (UDI) across all 3 FDA/EU accredited issuing agencies: GS1, HIBCC, and ICCBBA.

[Subscribe & Get API Key →](/tools/pricing)[⚡ Live Playground](#live-playground)[Specs (8)](#specifications)

 Interactive Edge Workbench

## ⚡ Live Pure-Compute Playground

 Test deterministic edge parsing with sub-2ms execution across 330+ Cloudflare V8 edge locations. Zero persistent storage, zero cold-starts, pure function $f(x)=y$.

32KB Demo Cap60 req/min Burst<2ms V8 ComputeZero Data Retention

input.txt0 B

 Reset

1

(01)00884838012345(17)261231(10)LOT456(21)SN78912

 RUN VALIDATION (<5ms) [ CHECKSUM: AWAITING RUN ]

output.jsondemo-ready

Status: Ready Copy

```
{
  "status": "Click RUN VALIDATION to execute on the Cloudflare edge..."
}
```

Sandbox Quota: Free Tier (50 reqs/mo) • Production keys from $29/mo[Get Free Sandbox Key →](/login?email=)

Need 512KB+ Payloads, High-Throughput & 99.9% Production SLA?

Direct API keys include pooled monthly quotas, zero cold-starts, and HIPAA BAA eligibility on the Mega tier.

[Get Production API Key →](/pricing)

## Key Capabilities & Performance Architecture

- ✓Universal support for GS1-128 / GS1 DataMatrix, HIBCC (Health Industry Bar Code), and ICCBBA ISBT 128
- ✓Automated Device Identifier (DI) and Production Identifier (PI) separation (Lot, Serial, Expiration, Manufacturing Date)
- ✓HIBCC Modulo-43 checksum calculation and verification
- ✓FDA GUDID and European Union EUDAMED submission readiness check
- ✓Deterministic pure compute execution on Cloudflare Workers (<3ms latency)
- ✓Public sandbox endpoints process synthetic and test data only — live PHI is not accepted anywhere on the platform until the HIPAA compliance program (BAA execution, audit) is formally announced.

## Issuing Agency UDI Specifications (8 Specifications)

Explore full structural breakdowns, checksum logic, and field schemas for every supported format.

[GS1 UDI Barcode Format & AI Parser Guide (GS1-128 & DataMatrix) — Parse GS1-128 linear barcodes and 2D DataMatrix medical device UDIs into structured DI/PI attributes in milliseconds. — View Specification →](/tools/udi-decoder/standard/gs1-udi-format)[HIBCC Medical Device Barcode Decoder & Modulo-43 Checksum Spec — Parse primary and secondary HIBCC medical barcodes with Modulo-43 check character validation. — View Specification →](/tools/udi-decoder/standard/hibcc-udi-format)[ICCBBA ISBT 128 Medical Device & Cellular Therapy UDI Spec — Decode ICCBBA ISBT 128 medical and biologics identifiers for human cells, tissues, and cellular products. — View Specification →](/tools/udi-decoder/standard/iccbba-udi-format)[FDA Global UDI Database (GUDID) Submission & Compliance Spec — Validate medical device UDI records against FDA GUDID data requirements before submitting to the FDA. — View Specification →](/tools/udi-decoder/standard/fda-gudid-spec)[EU Medical Device Regulation (MDR 2017/745) EUDAMED UDI Spec — Verify Basic UDI-DI and UDI-DI data models for European EUDAMED regulatory compliance. — View Specification →](/tools/udi-decoder/standard/eu-mdr-eudamed-spec)[FDA AccessGUDID Device Identifier (DI) Lookup & Record Verification — Lookup and validate medical device Device Identifiers (UDI-DI) directly against FDA AccessGUDID data dictionary specifications. — View Specification →](/tools/udi-decoder/standard/accessgudid-di-lookup)[Medical Device Barcode Decoder — 2D DataMatrix, GS1-128 & Hospital Scanners — Decode 2D DataMatrix and linear GS1-128 barcodes scanned at hospital bedsides and surgical supply rooms into structured JSON. — View Specification →](/tools/udi-decoder/standard/medical-device-barcode-decoder)[EU EUDAMED Basic UDI-DI & UDI-DI Validation Architecture — Validate European Union MDR & IVDR Basic UDI-DI keys and packaging UDI-DI hierarchies for EUDAMED regulatory submission. — View Specification →](/tools/udi-decoder/standard/eudamed-basic-udi-di-lookup)

## API Endpoints & Request Signatures

| Method | Path | Description |
| --- | --- | --- |
| `POST` | `/api/v1/udi/decode` | Decode raw UDI barcode string and extract DI/PI elements |
| `POST` | `/api/v1/udi/validate` | Validate issuing agency syntax and check digits |

## Sample Response JSON Payload

All endpoints deliver strongly-typed envelopes with deterministic parsing and performance metrics.

HTTP 200 Response PayloadCopy

```
{
  "success": true,
  "data": {
    "issuingAgency": "GS1",
    "deviceIdentifier": "00884838012345",
    "productionIdentifier": {
      "expirationDate": "2026-08-31",
      "lotNumber": "LOT7788",
      "serialNumber": "SN991823"
    },
    "gudidCompatible": true,
    "eudamedCompatible": true
  },
  "meta": {
    "latency_ms": 1.45,
    "version": "1.0.0"
  }
}
```

## Multi-Language Integration Code

Copy and paste ready-to-run snippets with your direct API credentials:

cURLCopy

```
curl --request POST \
  --url "https://api.stanzaapi.com/udi-decoder/api/v1/udi/decode" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data '{
  "udi": "(01)00884838012345(17)260831(10)LOT7788(21)SN991823"
}'
```

Node.js (Fetch)Copy

```
const response = await fetch("https://api.stanzaapi.com/udi-decoder/api/v1/udi/decode", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "x-api-key": process.env.API_KEY || "YOUR_API_KEY"
  },
  body: JSON.stringify({
  "udi": "(01)00884838012345(17)260831(10)LOT7788(21)SN991823"
})
});

const data = await response.json();
console.log(data);
```

Python (Requests)Copy

```
import requests
import json

url = "https://api.stanzaapi.com/udi-decoder/api/v1/udi/decode"
headers = {
    "Content-Type": "application/json",
    "x-api-key": "YOUR_API_KEY"
}
payload = {
    "udi": "(01)00884838012345(17)260831(10)LOT7788(21)SN991823"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
```

GoCopy

```
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	url := "https://api.stanzaapi.com/udi-decoder/api/v1/udi/decode"
	payload := []byte(`{"udi":"(01)00884838012345(17)260831(10)LOT7788(21)SN991823"}`)

	req, _ := http.NewRequest("POST", url, bytes.NewBuffer(payload))
	req.Header.Add("Content-Type", "application/json")
	req.Header.Add("x-api-key", os.Getenv("API_KEY"))

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
```

## Frequently Asked Questions

Which issuing agencies are accredited for UDI?

The US FDA and European Commission accredit three issuing agencies: GS1, HIBCC (Health Industry Business Communications Council), and ICCBBA (International Council for Commonality in Blood Banking Automation).

What is the difference between UDI-DI and UDI-PI?

UDI-DI (Device Identifier) is the mandatory fixed identifier for the device model/labeler. UDI-PI (Production Identifier) encodes dynamic manufacturing attributes (lot, expiration date, serial number, donation identification number).

## Complementary Enterprise APIs

Seamlessly orchestrate data pipelines across adjacent financial, regulatory, and supply-chain protocols:

[GS1 2027 Barcode & QR Decoder → — Universal GS1 AI parser supporting GS1-128, DataMatrix, and Digital Link QR formats.](/tools/gs1-decoder/)[FDA DSCSA Drug Serialization → — Comply with FDA drug supply chain serialization, EPCIS XML, and 2D DataMatrix scanning.](/tools/pharma-dscsa/)[Healthcare EDI ANSI X12 → — Verify healthcare provider claim attachment identifiers and surgical billing records.](/tools/x12-parser/)
