Free MaxiCode Generator
MaxiCode is the fixed-size 2D code with a bullseye in the middle that UPS prints on parcel labels, so sorting machines can read where a parcel goes at speed. Type a carrier message or any text, check that it scans and download it.
Carrier message (mode 2): postcode 152382802, country 840, service class 001.
A UPS carrier message, postcode<GS>country<GS>service class<GS>then the rest, or any text. Type <GS> between fields. Latin-1 characters only: up to 93 capital letters or 138 digits.
The blank margin around the code, in modules (the width of the narrowest bar or one cell). MaxiCode needs at least 1.
Made in your browser; nothing you type is sent to QRdx. WebP and AVIF are encoded by QRdx's server when you pick them, and nothing is kept.
Where MaxiCode barcodes are used
UPS parcel labels: the code carries the destination postcode, country and service class where a sorter expects them, followed by the shipment details.
The layout of a real shipping label and what goes in the rest of the message are set by UPS. Use their label guide for parcels you ship; the example here is a sample, not a shipment.
Carrier message or text?
A carrier message starts with the postcode, the 3-digit ISO country code (840 for the US) and the 3-digit service class, separated by GS characters. Type them as <GS>: 152382802<GS>840<GS>001<GS>then the rest. A message starting with the [)><RS>01<GS>96 header works too.
An all-digit postcode of up to 9 digits makes it mode 2 (US ZIP Codes); up to 6 capital letters, digits and spaces make it mode 3 (other countries). Anything else is drawn as text, mode 4.
What MaxiCode can hold
What it takes
A UPS carrier message, postcode<GS>country<GS>service class<GS>then the rest, or any text. Type <GS> between fields. Latin-1 characters only: up to 93 capital letters or 138 digits.
Example
152382802<GS>840<GS>001<GS>QRDX SAMPLE PARCELLatin-1 characters only: letters, digits, symbols and Western European accents.
As text it holds up to 93 capital letters or 138 digits, fewer with lowercase or symbols. A carrier message leaves about 84 characters after the postcode, country and service class.
A 5-digit ZIP Code is drawn with 0000 for the +4, and a mode 3 postcode is padded with spaces to 6 characters; readers return them that way.
Every MaxiCode is the same size: 33 rows of 30 hexagons around the bullseye. More data doesn't make it bigger, so there's a limit instead.
MaxiCode barcode size
| Example as SVG, PDF or EPS | 31.9 × 30.6 mm |
|---|---|
| Cell | 0.925 mm |
| Quiet zone | At least 1 cell all round; the generator starts with 2 |
- The vector downloads are MaxiCode's nominal size, about 28.1 × 26.9 mm without the quiet zone. Print it at that size: readers look for a symbol of that size.
- The generator starts with 2 modules of blank space all round; MaxiCode needs at least 1.
- Image size starts at 4×: below that, the hexagons are rounded to whole pixels and lose their shape.
MaxiCode barcode API
The same barcode is an image URL, with no API key: put it in an img tag, a label template or a product feed. It checks the value the way this page does, and allows 300 requests a minute per IP address. The barcode API docs list every option.
SVG image
https://api.qrdx.dev/v1/barcode?format=maxicode&data=152382802%3CGS%3E840%3CGS%3E001%3CGS%3EQRDX%20SAMPLE%20PARCELPNG, 3 pixels per module
https://api.qrdx.dev/v1/barcode?format=maxicode&data=152382802%3CGS%3E840%3CGS%3E001%3CGS%3EQRDX%20SAMPLE%20PARCEL&type=png&scale=3In a web page
<img src="https://api.qrdx.dev/v1/barcode?format=maxicode&data=152382802%3CGS%3E840%3CGS%3E001%3CGS%3EQRDX%20SAMPLE%20PARCEL" alt="MaxiCode 152382802<GS>840<GS>001<GS>QRDX SAMPLE PARCEL" />MaxiCode barcode FAQ
Can this page check that it scans?
Yes. As you edit, the generator decodes the image it would download with ZXing, an open-source reader that supports MaxiCode, and tells you whether it reads back your message.
Which modes does it make?
Modes 2 and 3 for carrier messages and mode 4 for text. Mode 5 (text with stronger error correction) and mode 6 (reader programming) aren't offered.
MaxiCode or a QR code?
MaxiCode where a carrier's system asks for it, as UPS's does. For anything people scan with a phone, a QR code.
Other barcode types
All 22 barcode typesBarcodes are static: the data is in the bars, so they work offline and never expire. For a link people scan with a phone camera, use one of the QR code generators.