---
title: "Aztec Code Generator – Free 2D Barcode, PNG & SVG"
description: "Free Aztec code generator. Create the 2D barcode used on train tickets and boarding passes from any text or URL. Download PNG, SVG, JPG or PDF instantly."
url: https://barcodejar.com/aztec-code-generator
source: BarcodeJar (free barcode tools)
---

# 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.

_Interactive tool: open https://barcodejar.com/aztec-code-generator to use it in your browser. It is free with no sign-up._

## 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](https://barcodejar.com/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

-   **Type:** 2D matrix with central bullseye
-   **Characters:** Full ASCII and byte data (UTF-8 supported)
-   **Capacity (max):** 3,832 digits, 3,067 alphabetic characters or 1,914 bytes
-   **Sizes:** Compact: 15×15 to 27×27. Full-range: 19×19 to 151×151 modules
-   **Error correction:** 5% to 95% of the data (23% recommended, used here)
-   **Quiet zone:** Not required
-   **Standard:** ISO/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](https://barcodejar.com/compact-aztec-code-generator).

## 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](https://barcodejar.com/qr-code-generator) 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](https://barcodejar.com/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](https://barcodejar.com/compact-aztec-code-generator).

## Related free tools

[![Compact Aztec Code Generator example](/thumbs/azteccodecompact.svg)**Compact Aztec Code Generator**Create Compact Aztec Code barcodes free. PNG, SVG, PDF.](https://barcodejar.com/compact-aztec-code-generator)[![Aztec Runes Generator example](/thumbs/aztecrune.svg)**Aztec Runes Generator**Create Aztec Runes barcodes free. PNG, SVG, PDF.](https://barcodejar.com/aztec-runes-barcode-generator)[**QR Code Generator**Free static QR codes with colors and logo. No sign-up.](https://barcodejar.com/qr-code-generator)[![Data Matrix Generator example](/thumbs/datamatrix.svg)**Data Matrix Generator**Create Data Matrix barcodes free. PNG, SVG, PDF.](https://barcodejar.com/data-matrix-generator)[![PDF417 Generator example](/thumbs/pdf417.svg)**PDF417 Generator**Create PDF417 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/pdf417-generator)[![HIBC Aztec Code Generator example](/thumbs/hibcazteccode.svg)**HIBC Aztec Code Generator**Create HIBC Aztec Code barcodes free. PNG, SVG, PDF.](https://barcodejar.com/hibc-aztec-code-generator)[**Online Barcode Scanner**Scan any barcode with your phone or webcam camera.](https://barcodejar.com/barcode-scanner)[**QR Code vs Barcode**1D vs 2D codes and which to choose.](https://barcodejar.com/guides/qr-code-vs-barcode)
