Aztec Code Generator
Turn any text into an Aztec code, the compact square 2D barcode used on rail tickets and mobile boarding passes. Its central bullseye lets scanners find it without a wide blank border. Adjust scale and colours, then download PNG, SVG or a vector PDF. Everything runs privately in your browser.
Generating…
Your data stays on your device.
How does it work?
- 1Type or paste the text or URL you want to encode.
- 2Watch the live preview and the valid/invalid indicator; very long inputs are reported if they do not fit.
- 3Adjust the scale and the colours to suit your print or screen size.
- 4Download the code as PNG, SVG or a vector PDF.
What is Aztec Code Generator?
Aztec Code is a two-dimensional matrix symbol invented by Andrew Longacre and Robert Hussey in 1995 and standardised as ISO/IEC 24778. It gets its name from the central finder pattern, a set of concentric squares that resembles the top of an Aztec pyramid. Because the finder sits in the middle rather than in the corners, the symbol grows outward from the centre in layers.
Compact Aztec symbols use 1 to 4 layers, and full-range symbols use up to 32 layers, from 15 by 15 up to 151 by 151 modules. A large symbol can hold around 3,000 letters or roughly 3,800 digits. Error correction is Reed-Solomon, with a default of about 23 percent of the symbol plus a few extra codewords, and the amount can be tuned.
The best-known feature is that Aztec Code does not need a quiet zone: the bullseye is enough for a scanner to locate the symbol. This is why it is popular on printed and on-screen tickets, where there is little room around the code. Aztec is used for rail tickets across Europe, airline mobile boarding passes and some postal and healthcare applications.
When should you use it?
- You are designing a ticket or a pass where the code has to sit close to text or borders.
- A transport operator or ticketing system specifies Aztec Code as the barcode format.
- You need a compact square code that scans well from a phone screen.
- You want to test how a reader handles Aztec compared with a QR Code or a Data Matrix.
Privacy
This tool runs in your browser. What you type, paste or open is processed on your device by JavaScript and is not sent to our servers, stored or shared. Your data stays on your device.
Your text is encoded locally in the browser and is never uploaded. An Aztec code is not encrypted, so anyone who scans it can read its content.
Frequently Asked Questions
Does Aztec really need no quiet zone?
The standard does not require one because the central bullseye locates the symbol. In practice, a small margin still helps camera scanners, and printing on busy or dark backgrounds can hurt scanning. Always test-scan the finished design.
How does Aztec differ from QR Code?
QR Code has three finder squares in the corners and needs a four-module quiet zone; Aztec has one finder in the centre and needs none. QR Code is more widely recognised by consumer phones, while Aztec is often specified by transport ticketing standards.
Is there a size limit?
Yes. The largest symbol holds about 3,000 letters, roughly 3,800 digits or 1,900 bytes, depending on the character set. The more data you add, the denser the modules become, so keep the content short, especially for a small ticket.
Will any phone camera read it?
Many modern phone scanners, including those in some barcode apps, read Aztec, but the built-in camera of some phones opens only QR Codes. If you need to be sure, test with the scanners your users will actually use.
Related tools
PDF417 Barcode Generator
Generate stacked PDF417 barcodes with a choice of error-correction level and columns.
Open toolData Matrix Generator
Create square ECC 200 Data Matrix codes for tiny marking, from text or a URL
Open toolQR Code Generator
Turn any text, link or data into a static QR code with colours, logo and PNG/SVG/PDF export
Open toolBulk Barcode Generator
Paste up to 500 values, one per line, and export all barcodes as ZIP or PDF
Open toolBarcode Scanner Online
Scan EAN, UPC, Code 128, Data Matrix, PDF417 and more with your camera or an image
Open toolA4 Barcode Label Sheets
Design barcode labels on A4 sheets (4 to 40 per page) and export a print-ready vector PDF
Open tool