Tool to generate barcodes in Aztec format, a standardized 2D barcode format ISO / IEC 24778: 2008 whose center is composed of concentric squares.
Aztec Barcode - dCode
Tag(s) : Image Processing, Character Encoding
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
An Aztec code consists of a central eye of 5 concentric squares on 9x9 pixels, and 4 marks at the corners to distinguish the orientation increasing the minimum size to 11x11 pixels minimum. The first 40 bits available are used to encode the message parameters.
The message data is then distributed in binary around the edge, always concentrically. In the message, check / error correction bits must be added according to the Reed-Solomon code.
The Aztec barcode uses 4-bit and 5-bit coding, with a switch system from one mode to another.
The 1 bits are encoded by black squares, and the 0 bits are encoded by white squares.
Refer to the documentation for more details. dCode allows the encoding of any ASCII message.
The reading consists of detecting the central eye of the 2D code, identifying the orientation and spiral reading the bits 0 and 1 (black = 1 and white = 0).
dCode does not offer playback, but recommends mobile phone apps.
The Aztec code has the ability to be adaptive in size while keeping it minimal. Graphical coding makes the data concentric.
The Aztec name (from the Aztec Indian people) comes from the graphical resemblance of the bar code center with the Aztec pyramids (seen from above).
An Aztec barcode is a 2D square composed of black and white dots (or 2 distinguishable enough colors). Its main feature is the center of the barcode with 5 concentric squares, 3 black and 2 white alternately. These squares may be reminiscent of an Aztec pyramid (staircase) in plan view.
dCode retains ownership of the "Aztec Barcode" source code. Any algorithm for the "Aztec Barcode" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Aztec Barcode" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Aztec Barcode" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Aztec Barcode" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Aztec Barcode on dCode.fr [online website], retrieved on 2025-04-16,