Skip to content

Aztec Code Generator

Generate an Aztec code from text or a URL for tickets, boarding passes, patient wristbands and mobile payments. Aztec codes have a bullseye in the center, need no white margin and hold up to about 3000 letters or 3800 digits with Reed Solomon error correction. The tool picks the smallest compact or full symbol that fits and draws it as a PNG image or an SVG file.

Reset

Frequently asked questions

What can I encode in an Aztec code?

Any text, including URLs, line breaks and accented characters, which are encoded as UTF-8. The largest symbol holds about 3800 digits, 3000 letters or 1900 bytes, and this tool accepts up to 3832 characters.

How is the symbol size chosen?

The tool uses the smallest symbol that fits your data, from the compact 15 by 15 module form up to the full 151 by 151 module form. Short texts produce compact symbols with a smaller bullseye.

How much error correction is used?

The tool reserves about 23 percent of the symbol for Reed Solomon error correction, the level the Aztec standard recommends. A code with some damage, glare or dirt can therefore still be read.

Does an Aztec code need a white margin?

No. Aztec codes are located through their central bullseye, so they do not need a quiet zone and can be printed close to other graphics. The tool still adds a small white margin so the code stands out on any page.

Can I download the Aztec code as a vector file?

Yes. Choose SVG for a vector file that stays sharp at any size in print and design software, or PNG for a raster image that works in documents, web pages and label printers. Both come with a white background and a white margin.

What does the scale do?

Each module is drawn 2 pixels per scale step, so at the default scale 3 a module is 6 pixels wide. The scale accepts 1 to 10, and the image may be at most 4000 pixels on a side.

Where are Aztec codes used?

Railways and airlines print them on mobile and paper tickets, hospitals on patient wristbands, and several countries on vehicle registration documents. They are also used for payment and loyalty codes in mobile apps.

Can phones scan Aztec codes?

Most barcode scanner apps and ticket validation devices read Aztec codes, and some phone camera apps do as well. Test with the readers your users have before printing.

Why are there no bar height or text options?

Aztec is a two dimensional matrix code with square modules and no human readable line, so only the format and the scale apply.

Is my text stored?

No. It is used only to draw the code you download.

About OneClick Pro

OneClick Pro is a free collection of more than 150 web tools for everyday work: converting images and units, formatting and validating code, checking domains and SEO, and working with text, dates and numbers. Every tool runs without registration or subscription, and what you enter is only used to calculate your result and is never stored. Use it as a quick toolbox for one-off tasks, or bookmark the tools you rely on every day.