Skip to content

Aztec Code Generator

The 2D code on train tickets and mobile boarding passes.

Any text, up to 1,000 characters.

Units
mm
Rotation

SVG and PDF are vectors: sharp at any size, best for print.

Made in your browser. Nothing is uploaded.

More Barcode Tools

All tools

How to use the aztec code generator

Three steps, all in your browser.

  1. 1

    Enter your data

    Type or paste the number or text to encode. Errors are explained.

  2. 2

    Adjust the barcode

    Change the options if you need to. The preview updates as you type.

  3. 3

    Download

    Save the result and print it. Test a printed sample before a big run.

Aztec Code Generator: what to know

An Aztec code is a square 2D barcode built around a bullseye of nested squares in the centre. Scanners find the bullseye first and read outwards, so the code needs no blank quiet zone and can sit right up against other content, which makes it a favourite for tickets shown on phone screens.

Aztec codes come in compact sizes for short data and full sizes that hold up to 3,832 digits or 1,914 bytes, with Reed-Solomon error correction set as a percentage of the symbol. The generator encodes your text into the smallest Aztec symbol that fits with the error correction chosen.

Rail operators across Europe and many airlines use Aztec codes on e-tickets and mobile boarding passes, following the IATA boarding pass standard, which allows Aztec alongside PDF417 and QR codes.

Popular uses

  • Train and transit e-tickets
  • Mobile boarding passes and event tickets
  • Tickets and passes shown on a phone screen
  • Labels where there's no room for a quiet zone

Tips for the best result

  • Increase the screen brightness when scanning an Aztec code from a phone.
  • Even though it needs no quiet zone, a small margin helps scanners in bright light.
  • Test the code with the scanner model your venue or operator uses.

Read how JustYourBarcode works and our privacy details. Numbers, pictures, CSV files and camera frames are processed in your browser and are never sent to our server. A barcode doesn't register a product number: retail UPC and EAN numbers come from GS1.

Frequently asked questions

An Aztec code is found by its bullseye centre, so it needs no blank margin and reads well from phone screens, even when tilted or partly covered. Many rail operators and airlines use it for e-tickets and mobile boarding passes.

Up to 3,832 digits, 3,067 letters or 1,914 bytes in the largest symbol at the minimum error correction. Tickets typically carry a few hundred characters.

No. Barcodes are drawn in your browser, and camera frames, pictures and CSV files are processed on your device. Nothing is stored and nothing is sent to our server, and it's all gone when you close or reload the page.

No. A barcode is a picture of a number. Retail product numbers (GTINs such as UPC and EAN) are licensed from GS1, which links them to your company; making a barcode image here doesn't assign or register a number. Retailers and marketplaces may check numbers against GS1's records.

Yes. Every tool is free with no sign-up and no limits on use, including commercial use of the barcodes you make. Clearly labeled ads keep it that way.

Yes. The tools work in any modern browser on phones, tablets and computers, and the scanner uses your phone's camera.