๐Ÿ”ณ Aztec Code Generator

19 characters
Foreground color#000000
Background color#ffffff

The Aztec code (ISO/IEC 24778) is a 2D barcode standard with a concentric-square finder pattern in the center. It needs almost no surrounding quiet zone, so it prints more compactly than a QR code.

Enter text to generate an Aztec code

Generates Aztec codes from text or URLs on the spot. Unlike QR codes, it doesn't need a large surrounding quiet zone, making it a compact 2D code standard used for things like boarding passes and train tickets.

How to use

  1. Enter text or a URL in the input field.
  2. Adjust the colors if needed.
  3. Use "Copy SVG" or the download buttons to get the result.

How the calculation works

Generate an Aztec code, a two-dimensional code read by locating the concentric squares (the bullseye) in its centre. Developed in 1995, it is named for the centre patternโ€™s resemblance to an Aztec pyramid seen from above. Unlike a QR code, it needs no blank margin (quiet zone) to scan, so it can be printed right up to the edge of a small space. Sizes range from 15ร—15 to 151ร—151 modules, holding up to 3,832 digits, 3,067 letters or 1,914 bytes.

Worked example

Used for European rail tickets, mobile airline boarding passes and many digital transit tickets. A short URL such as โ€œhttps://example.com/abcโ€ gives a small code of about 23ร—23 modules.

Things to be aware of

  • Phone camera apps often cannot read Aztec codes. Use a compatible app or this siteโ€™s Barcode Reader.
  • Japanese and other non-ASCII text is written as UTF-8 without a character-set marker, so some readers show it garbled. A QR code is more reliable for Japanese.
  • Although no margin is needed, busy patterns or text right up against the code can still make it harder to read.

FAQ

How is an Aztec code different from a QR code?

An Aztec code has its finder pattern in the center and needs very little surrounding quiet zone, so it can be printed in a smaller space than a QR code.

Where are Aztec codes commonly used?

They're commonly used for airline boarding passes and digital train tickets, where space is limited.

Is the generated code sent to a server?

No, code generation happens entirely in your browser โ€” the text you enter is never sent anywhere.