Han Xin Code generator
Generate a Han Xin Code from a reference number or text and download PNG or SVG for your label.
Using Han Xin Code on labels
Han Xin Code is a square 2D barcode format, also called Chinese Sensible Code. This tool selects the size automatically and uses error correction level L2. Keep the white margin and the original proportions when printing.
Download PNG for documents or SVG for a sharp, resizable print layout. Generation takes place in your browser, without an account.
Han Xin Code questions
- Will Chinese text and other languages scan correctly?
- This generator encodes text as UTF-8 bytes. The receiving software must interpret those bytes as UTF-8 to recover the same text; a successful preview alone does not confirm that. Test your actual text with the intended reader. For a link people will scan with ordinary phone cameras, use a QR code.
- How do I check the code before printing?
- Leave the white margins intact, keep the image in proportion and scan a sample at its final printed size with the device you intend to use.
Symbology rendering uses BWIPP via bwip-js — MIT License. BWIPP © 2004–2024 Terry Burton; bwip-js © 2011–2025 Mark Warren.