MaxiCode Generator API
UPS package tracking standard
MaxiCode is a fixed-size two-dimensional symbology standardized as ISO/IEC 16023, developed by UPS to sort packages at high speed on conveyor lines. Unlike most 2D formats, every MaxiCode symbol is exactly the same physical size, a grid of hexagonal dots surrounding a bullseye finder pattern, which lets fixed-focus scanners read it reliably at any rotation as packages pass beneath them.
BarGen generates a MaxiCode symbol from a structured data string via the REST API, returning SVG or PNG output sized to the fixed MaxiCode dimensions for direct placement on shipping labels.
MaxiCode is a 2D barcode consisting of a central bullseye finder pattern surrounded by a hexagonal grid of modules. Developed by UPS in 1992, it was designed specifically for high-speed package sorting.
The code has a fixed size of 1 inch square and can encode up to 93 alphanumeric characters. It uses Reed-Solomon error correction and can withstand up to 8% damage while remaining readable.
MaxiCode's unique hexagonal pattern allows it to be read from any orientation and at high speeds—critical for automated package sorting conveyor systems. UPS uses it as their primary package tracking barcode.
Beyond package tracking, MaxiCode is used in automated industrial systems and anywhere high-speed omni-directional scanning is required. It became an international standard (ISO/IEC 16023) in 2000.
Common use cases
Parcel sortation
UPS and other high-volume couriers rely on MaxiCode to route packages automatically at conveyor speeds without slowing the line for orientation.
High-speed conveyor scanning
Distribution centers use MaxiCode where fixed-position scanners need to read labels regardless of how the package is oriented on the belt.
International shipping documentation
Cross-border courier labels encode MaxiCode alongside human-readable address fields for customs and routing automation.
Frequently asked questions
Why is MaxiCode always the same size?
Its fixed dimensions let high-speed fixed-focus scanners on conveyor systems read the symbol without adjusting for size, which is essential for UPS parcel sorting at line speed.
How much data does MaxiCode hold?
A MaxiCode symbol holds up to about 93 characters of structured data, enough for a shipment's routing code, service class, and destination postal information.
Can MaxiCode be read from any angle?
Yes, its central bullseye finder pattern allows scanners to decode it correctly regardless of the package's rotation on the belt.
Specifications
- Capacity
- 93 alphanumeric or 138 numeric characters
- Size
- Fixed 1 inch square (866 hexagons)
- Error Correction
- Reed-Solomon (up to 8% damage)
Availability
This format is on our roadmap and not yet available via the API.
Related formats
Start generating MaxiCode barcodes
Free tier with 1,000 API calls per month. No credit card required.