How to use it
- Enter the text to encode.
- Set the printed width. A margin is optional for Aztec, but don't let artwork touch the code.
- Download and test with the ticket reader or app that will scan it.
The bullseye
An Aztec code grows outwards from a central finder pattern of concentric squares. Scanners locate the bullseye first and read the data in layers around it. Because it doesn't depend on the edges, an Aztec code needs no quiet zone and can sit closer to other printed content than a QR code or Data Matrix.
Small codes use the compact form (up to 27 × 27 modules); larger ones use the full-range form, which can hold around 3,000 characters of text. Reed-Solomon error correction lets damaged codes still be read.
Where Aztec is used
- Rail tickets. European rail operators use the UIC 918.3 standard, which is based on Aztec.
- Mobile boarding passes and event tickets, where the code is shown on a phone screen.
- Transport and ticketing systems in general, where the reader hardware is controlled.
Things to know
- Don't cover the central bullseye with a logo or design. Scanners need it to find the code.
- Built-in phone cameras mostly look for QR codes, so for codes that the public will scan with their own phones, QR is the safer choice.
- ScanHatch's Aztec generator accepts standard English characters (ASCII).
Frequently asked questions
Does an Aztec code need a white border?
No, that's one of its advantages. A small margin doesn't hurt, but it isn't required.
Aztec or QR code?
QR codes are recognised by more phone cameras, so they're better for the public. Aztec suits ticketing systems where you control the scanner.
Related formats
Further reading
Need another format? The full Barcode Generator supports 15 barcode and 2D code types.