What Is a Han Xin Code Barcode?
Han Xin Code is a 2D matrix symbology developed in China, published as a Chinese national standard and later as ISO/IEC 20830. It looks similar to a QR code but has finder patterns in all four corners.
Its main strength is encoding Chinese characters compactly, including the large GB 18030 character set, while also handling digits, Latin letters and binary data. Codes can hold several thousand characters in the largest sizes.
Use Han Xin when a Chinese partner or regulation asks for it. For international use, QR codes and Data Matrix are far more widely supported by scanners and phones.
What Data Can Han Xin Code Hold?
Text including Chinese characters, digits and Latin letters, up to about 3,261 bytes. We show how much capacity you are using.
Recommended Size
Leave a quiet zone of a few modules on every side. Larger amounts of data produce more modules, so print bigger as data grows and test with your scanner.
Han Xin Code Versions and Error Correction
Han Xin has 84 versions, from 23 x 23 modules in version 1 up to 189 x 189 in version 84. Each version adds two modules per side.
Four error correction levels are available, from roughly 8% to 30% of the symbol. The highest level lets a code still read when close to a third of it is damaged.
How Han Xin Encodes Chinese Characters
Han Xin has dedicated modes for the most common Chinese characters, a double-byte mode, and a four-byte mode that covers the rest of GB 18030, alongside numeric, text and binary modes. The encoder switches modes inside a single message, so mixed Chinese and Latin text stays compact.
A QR code's Kanji mode is built for the Japanese Shift JIS set. Chinese text in a QR code is usually stored as bytes, taking three bytes per character in UTF-8, which needs more modules for the same message.
More 2D Codes barcodes
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
Han Xin Code FAQs
Most phone camera apps do not support it. It is mainly read with industrial scanners and dedicated apps that list Han Xin as a supported symbology.
Han Xin was designed for Chinese character sets and encodes them efficiently. QR codes can also hold Chinese text, and are more widely readable, so choose based on what your readers support.
Yes. It started as a Chinese national standard and is also published as ISO/IEC 20830.
84, from 23 x 23 modules (version 1) to 189 x 189 modules (version 84).
It is the Chinese national standard that first defined Han Xin Code, before it was published internationally as ISO/IEC 20830.
