2D code on train tickets and boarding passes. Free, unlimited and instant — with every professional option included.
Free for personal and commercial use. No watermark, no sign-up.
For razor-sharp printing, download the SVG — it scales to any size.
Aztec Code is the 2D code printed on train tickets and airline boarding passes across Europe and beyond. It needs no quiet zone around it — the finder pattern sits in the centre — so it squeezes onto tight ticket layouts and still scans from a phone screen at a gate.
Aztec Code was invented in 1995 by Andrew Longacre at Welch Allyn and published into the public domain — a deliberate gift that helped it spread. Its name comes from the finder pattern at its centre, a square bullseye that reminded its creators of an Aztec pyramid seen from above. Because the finder sits in the middle rather than the corners, an Aztec symbol needs no quiet zone and can be printed right to the edge of its space, even in long thin strips. European railways noticed first: Deutsche Bahn put Aztec on its tickets in the 2000s, and the code became the standard skin of the mobile ticket era.
The symbol grows outward from the central bullseye in concentric square layers of data. Around the core, a mode message tells the scanner the layer count and data length; the payload itself is protected by Reed–Solomon error correction whose level you can trade against capacity — the default here reserves about 23% for correction. Aztec encodes text very efficiently with multiple internal alphabets, reaching roughly 3,800 characters at maximum size, and it remains readable when rotated, mirrored on a screen, or partly obscured — properties a gate scanner at a rainy platform genuinely needs. Type any text here — a link, a ticket reference, a message — and the generator builds the layered symbol.
Aztec’s party trick is placement: with no quiet zone required, it fits ticket edges, wristbands and narrow labels where a QR code’s mandatory border would waste a third of the space. Print it at 15 mm square or larger for phone scanning, keep contrast absolute, and if it will be scanned from screens, test at low brightness — platform gates live on dim phone displays. Download the SVG from this page for print, and remember that some ticket systems print Aztec in long rectangular forms; the compact square from this generator suits general use.
Aztec carries train tickets across Europe, airline boarding passes, event and venue tickets, government ID and vehicle documents in several countries, and loyalty and payment schemes that need edge-to-edge symbols. If you run an event or a transport service and your scanning app supports it, Aztec gives you QR-class capacity with better manners in tight layouts. For anything the general public must scan with an unknown phone, check your audience first — app support is the deciding factor, addressed honestly below.
The candid limitation: consumer recognition. iPhone and Android cameras read QR natively and Aztec only sometimes; dedicated scanner apps read both. Railways solve this by controlling the journey — their own apps and gates do the scanning. If you control the scanning point (your gate, your staff app, your venue), Aztec is superb. If you are printing a poster for strangers’ phones, QR remains the safer square.
Every option above the preview exists because a real labelling job needed it. Bar width sets the thickness of the narrowest bar — raise it for labels that travel far or are scanned at a distance, lower it only when space genuinely runs out. Barcode height does not change the data, but taller bars are dramatically easier to scan, especially handheld. The quiet zone slider controls the blank margin the scanner needs to find the symbol; the default suits most labels, and crowded artwork is the only reason to touch it. The text settings control the human-readable line under the bars — keep it on for anything people also read, and pick OCR-B for the classic machine-printed look. Colours should stay dark-on-light; the transparent background option is for placing the code over your own light artwork in a design program. Finally, the download size matters: SVG is a vector that stays perfect at any scale and is always the professional choice, while the 3x and 4x PNG options exist for software that cannot take vectors. Set the options once, watch the preview, and only then download.
Aztec versus QR Code: QR needs its quiet zone and is universally phone-readable; Aztec needs no border and packs tighter shapes, but leans on apps and controlled scanners. Versus Data Matrix: Data Matrix is the industrial tiny-parts and medical code with a one-module quiet zone; Aztec is the ticket and document traveller. Versus PDF417: both serve transport documents — PDF417 is the older stacked code on licences, Aztec the denser modern one on tickets.
When a freshly printed Aztec Code refuses to scan, the cause is almost never the data — it is the physics of the print. Work through the usual suspects in order. Contrast: scanners see in shades of red light, so black bars on white are the gold standard; red, orange and metallic bars can be nearly invisible, and a dark background with light bars defeats most readers entirely. Quiet zone: the blank margin around the symbol is part of the code — if text, borders or the edge of the label crowd it, the scanner cannot find where the code starts. Size: a symbol shrunk below its sensible minimum merges its fine bars into grey mush; print bigger or simplify the data. Print quality: inkjet bleed, a worn thermal head and low-resolution images all fatten or break bars — print from the SVG, at 100% size, on the best printer setting. Damage and gloss: creases, lamination glare and curved surfaces each steal a slice of the symbol; matte labels placed flat scan best. The professional habit that prevents all of it: print one label, scan it with the actual device that will be used, in the actual lighting, before printing the batch.
Five terms explain nearly everything about working with Aztec Code. The symbology is the language itself — the set of rules that turns data into bars and back; Aztec Code is one symbology among the twenty-one on this site. The X-dimension is the width of the narrowest bar or space, and every other measurement — total size, quiet zone, print tolerance — is expressed as a multiple of it. The quiet zone is the blank margin at both ends of the symbol; scanners use it to recognise where the code begins, and stealing it is the most common cause of failure. A check digit is a final character calculated from all the others, letting the scanner prove the read is correct instead of merely plausible. And the human-readable line is the printed text beneath the bars — there for people, ignored by scanners, and worth keeping accurate because when a scan fails, a human types exactly what it says. Keep these five straight and the rest of this page — and any barcode specification you are handed — becomes easy reading.
Professionals grade printed barcodes from A (excellent) to F (fail) with a device called a verifier, which measures contrast, bar accuracy and defects against the standard for the symbology. You do not need a verifier for everyday work, but the grades explain what “good” means: a Grade A symbol has crisp edges, bars within a hair of their intended widths, and strong contrast. Home and office printing usually lands at B or C — perfectly serviceable for internal labels, shelf edges and documents. Retail packaging and supply-chain labels are held to higher bars because they must scan first time, every time, on equipment you do not control. The practical translation: generate from a proper encoder (as this page does), print from vector artwork, keep contrast absolute, respect the quiet zone, and test-scan. Follow those five rules and your Aztec Code labels will behave like professionally produced ones, because the difference was never the price of the software — it is the discipline of the print.
Aztec codes work without a blank border, can be printed long and thin along a ticket edge, and scan reliably from screens in poor light — exactly what a platform gate needs.
Three reasons: it needs no blank border, so it fits ticket layouts and edges; it scans reliably from phone screens in poor light at gates; and the railway controls the scanners — its own apps and gates are built for it. Those advantages matter more in transport than universal phone-camera support.
Yes — completely free and unlimited. Create as many barcodes as you like and download them as PNG, SVG or JPG with no watermark and no sign-up. Everything is generated in your browser; nothing is uploaded.
Download the SVG for perfectly sharp printing at any size, or a PNG at Print quality (3x) or higher. Keep the quiet zone (the empty margin) around the code, print a test copy, and scan it with a phone or scanner before a big print run.
Yes — the Serial Numbers tab on this page generates a running series, and the Bulk List tab turns a pasted list (one value per line) into barcodes you can download together as a ZIP file or print as a sheet.