Check digits, fixed for you
Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.
Create Han Xin Codes, the Chinese national 2D barcode built to encode Chinese characters efficiently. Enter text and download a print-ready symbol in vector or high-resolution formats.
Checked live against the official rules for this barcode type.
Any text.
Pick a label template or adjust size, text, colors and style.
One click styles the label. Your data and size stay as they are.
Check your data
Tap to preview
Han Xin Code is a 2D matrix symbology developed in China and published as the national standard GB/T 21049, then internationally as ISO/IEC 20830. It has a finder pattern in each of its four corners, so it can be located and oriented quickly.
It comes in 84 versions, from 23 × 23 to 189 × 189 modules. Besides numeric, text and byte modes, it has dedicated modes for Chinese characters from GB 18030, so a symbol holds up to about 2,174 common Chinese characters, 4,350 text characters or 7,827 digits.
Reed–Solomon error correction has four levels, L1 to L4, recovering roughly 8%, 15%, 23% and 30% of the symbol — similar to the levels of QR code.
Specification
Four steps from data to a print-ready file.
Step 1
Enter your Han Xin Code data. Any text.
Step 2
Check the live validation — check digits are added for you and any problem is explained in plain words.
Step 3
Pick a label template or adjust bar width, height, text, colours and style. The printed size updates as you go.
Step 4
Download a PNG at up to 1200 DPI, vector SVG or PDF — or print it on label sheets — and test it with your scanner.
Details most barcode generators charge for — all free in the studio above.
Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.
Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.
Set the bar width and height and see the finished printed size update live, in mm or inches.
PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.
Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.
Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.
Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.
Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.
Real-world applications for this symbology.
Product, address and logistics data written in Chinese characters.
Certificates and official forms in China carrying their data in a 2D code.
Shipping and tracking labels for domestic Chinese supply chains.
Origin and batch information printed on packaging.
Small details that make the difference between a code people ignore and one they scan.
Choose error correction with eclevel=L1 to L4 in the advanced options; L3 or L4 suits labels that may get damaged.
Fix the symbol size with version=1 to 84 if every label in a series must match.
Keep a quiet zone of 3 modules around the code.
Confirm your scanner supports Han Xin before rolling it out — it is less widely supported than QR code, and the in-browser Test scan does not read it.
Han Xin encodes Chinese characters more compactly and covers the full GB 18030 character set, which matters for Chinese-language data. QR code is better supported by phones.
Yes. It started as Chinese national standard GB/T 21049 and was published as ISO/IEC 20830 in 2021.
Some Chinese apps and industrial scanners can, but most standard phone camera apps cannot.
Up to about 2,174 Chinese characters, 4,350 text characters or 7,827 digits at the lowest error correction level.
Store more data in a small square or stacked symbol.
Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.
The barcodes people make most.