Aztec Code Generator

Create an Aztec code from any text or URL. It is the square 2D barcode with a bullseye in the middle, used on train tickets and mobile boarding passes. Downloads are free.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Any text, including lower case and UTF-8. Up to 3,832 digits, 3,067 letters or 1,914 bytes. The size is chosen automatically, with about 23% error correction.

Customize size, color & style
Make many

How to create a Aztec Code barcode

  1. Enter your data in the box above. Any text, including lower case and UTF-8. Up to 3,832 digits, 3,067 letters or 1,914 bytes. The size is chosen automatically, with about 23% error correction.
  2. The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
  3. Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
  4. Test it with our online barcode scanner before you print a large run.

What is an Aztec Code barcode?

An Aztec code is a square 2D barcode built around a central bullseye finder pattern, which looks a little like the top of a step pyramid, hence the name. It was invented by Andrew Longacre at Welch Allyn in 1995.

Because the scanner finds the code from its centre, Aztec needs no quiet zone and reads well from screens, at odd angles and in poor print. That makes it popular for tickets: European rail operators use it under the UIC 918.3 standard, and airlines use it for mobile boarding passes.

Where Aztec Code is used

  • Rail tickets (UIC 918.3 and many national operators)
  • Mobile and printed airline boarding passes (IATA BCBP)
  • Event and transit tickets on phone screens
  • Vehicle registration documents in some countries
  • Patient wristbands and healthcare labels

Aztec Code specifications

Type2D matrix with central bullseye
CharactersFull ASCII and byte data (UTF-8 supported)
Capacity (max)3,832 digits, 3,067 alphabetic characters or 1,914 bytes
SizesCompact: 15×15 to 27×27. Full-range: 19×19 to 151×151 modules
Error correction5% to 95% of the data (23% recommended, used here)
Quiet zoneNot required
StandardISO/IEC 24778

Tips for a barcode that scans first time

  • Aztec reads well on phone screens, so it is a good choice for mobile tickets.
  • Even though no quiet zone is required, a small margin helps when the code sits near other graphics.
  • For tiny amounts of data, try a compact Aztec code.

Frequently asked questions

What is an Aztec code used for?

Mostly tickets: rail tickets across Europe, airline boarding passes and event tickets. It reads reliably from phone screens and from damaged or low-quality prints.

How much data can an Aztec code hold?

Up to 3,832 digits, 3,067 letters or 1,914 bytes in the largest 151 × 151 symbol. Ticket codes usually hold a few hundred bytes.

Aztec code vs QR code: what is the difference?

Aztec has one bullseye in the centre and needs no quiet zone. A QR code has three corner squares and needs a margin. Aztec is often slightly smaller for the same data, but QR codes are read by more phone cameras.

Can my phone scan an Aztec code?

Many phones can, through the camera or a scanning app, but support is not as universal as for QR codes. Test it with our online barcode scanner.

Why does an Aztec code not need a quiet zone?

The scanner locates the symbol from its central bullseye rather than its edges, so it does not need empty space around it.

What is a compact Aztec code?

A smaller form with 1 to 4 data layers, from 15 × 15 to 27 × 27 modules, for short data. See the compact Aztec generator.

Related free tools