Skip to content

Han Xin Code Generator

Generate Han Xin codes, the Chinese 2D matrix symbology of GB/T 21049 and ISO/IEC 20830, which encodes Chinese characters especially efficiently. Enter any text, including Chinese, and download a PNG or SVG.

Reset

Frequently asked questions

What is Han Xin code?

A 2D matrix barcode developed in China and standardized as GB/T 21049 and ISO/IEC 20830. Its encoding modes store Chinese characters more compactly than QR codes.

Where is it used?

Mostly in China, for example in logistics, government documents, tickets and product tracking.

Can it encode other languages?

Yes. Text in any language is encoded, though Chinese characters benefit most from its special modes.

How large can the code get?

Up to 84 versions of 23 to 189 modules per side; the encoder picks the size that fits.

PNG or SVG?

PNG works everywhere, from documents to label printers. SVG is a vector file that stays sharp at any size, which suits print layouts and design tools.

How do I test the code?

Scan it with a phone camera or a scanner app, or upload the image to the Barcode Reader.

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.