How to create a MaxiCode barcode
- Enter your data in the box above. Mode 2 (US) is used: start with a 9 or 5-digit ZIP code, ^029, a 3-digit country code, ^029, a 3-digit service class, ^029, then the rest. ^029 is the GS separator. Max 138 digits or 93 characters.
- The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
- Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
- Test it with our online barcode scanner before you print a large run.
What is a MaxiCode barcode?
MaxiCode is a fixed-size 2D barcode developed by UPS for fast sorting of parcels on conveyor belts. It is made of 884 hexagonal modules in 33 rows around a central bullseye, and is always about 1 inch (25 mm) square.
MaxiCode has several modes. Modes 2 and 3 carry a structured carrier message with a postcode, country code and service class in a highly protected primary area, so sorting machines can route the parcel even if part of the code is damaged. Mode 2 is for numeric US ZIP codes and mode 3 for alphanumeric postcodes. Mode 4 is for general data.
Where MaxiCode is used
- UPS shipping labels
- High-speed parcel sorting on conveyors
- Carrier labels that follow the ANSI MH10.8.3 format
- Logistics labels that need a fixed-size, damage-tolerant code
MaxiCode specifications
| Type | 2D matrix, hexagonal modules with bullseye |
|---|---|
| Size | Fixed, about 28 × 27 mm (1.11 × 1.05 in) |
| Modules | 884 hexagons in 33 rows |
| Capacity (max) | 93 alphanumeric characters or 138 digits |
| Modes | 2 (US postcode), 3 (international postcode), 4 (standard), 5 (enhanced ECC), 6 (reader programming) |
| Error correction | Reed-Solomon, extra protection for the primary message |
| Standard | ISO/IEC 16023 |
Tips for a barcode that scans first time
- Do not scale MaxiCode down. It is designed to be printed at its fixed nominal size.
- If you print UPS labels for real shipments, generate them from UPS or your shipping software, which fills in the tracking data correctly.
- Use the default example as a template for the mode 2 structure.
Frequently asked questions
What is MaxiCode used for?
It is used by UPS on parcel labels so automated sorters can read the destination and service even at high speed or when the label is damaged.
Why does my text give an error?
This page uses mode 2, which expects a structured message: a ZIP code, ^029, a 3-digit country code such as 840 for the US, ^029, a service class, ^029, then the rest of the data. Plain text on its own is not valid in mode 2.
How much data can MaxiCode hold?
Up to 93 alphanumeric characters or 138 digits. The size of the symbol never changes.
What is the difference between mode 2 and mode 3?
Mode 2 has a numeric postcode of up to 9 digits, for US ZIP codes. Mode 3 has an alphanumeric postcode of up to 6 characters, for countries such as Canada and the UK.
Can I resize a MaxiCode?
The standard defines one size, about 1 inch square. Printing it much smaller or larger can stop sorting equipment reading it.
Can my phone read MaxiCode?
Some scanning apps can, but MaxiCode is meant for industrial scanners in sorting centres. Try our image scanner to check a label.