Barcode Generator

Type it in.
Print it right.

34 barcode types, sharp and scannable, with full Vietnamese text in QR and other 2D codes. Rendered by the Z2PL label engine, right in your browser.

Free to use Stays on your device No sign-up

Your barcode

Choose a type, enter your data and download.

Loading…

Letters, digits and keyboard symbols.

dots

= 0.25 mm

mm

Loading the barcode engine…

Preview is scaled to fit. Downloads keep the exact size.

Code 128
Your barcode appears here as you type.

Free to use. No ads.

Exact to the printer dot.

Bars are sized in whole printer dots at 203, 300 or 600 dpi, so they print crisp and scan reliably.

Private by design.

The barcode is drawn on your device. Your data is never uploaded.

Every format you need.

PNG for documents, SVG and PDF for design and print, ZPL for Zebra label printers.

Just three steps.

No software to install and nothing to learn. The preview updates as you type.

01

Choose a type.

Pick one of 34 types: a linear barcode such as Code 128 or EAN-13, or a 2D code such as QR Code.

02

Enter your data.

Type a product number, a serial number or a link. Adjust size, rotation and resolution.

03

Download.

Save it as PNG, SVG, PDF or ZPL, sized exactly to the barcode.

Good to know.

Short answers to the questions that matter before you print a barcode.

Use EAN-13 or UPC-A for retail products with registered GS1 numbers, Code 128 for shipping, inventory and serial numbers, and QR Code for links. Data Matrix suits very small parts and labels. Follow the type your customer, marketplace or carrier requires.
Each barcode type accepts only certain characters and lengths. EAN-13, for example, needs exactly 12 digits; the check digit is added for you. The hint under the data field explains the rule for the selected type. Linear barcodes accept standard keyboard characters only.
Yes, in QR Code, Data Matrix, PDF417, Compact PDF417, MicroPDF417 and Aztec Code. The text is stored as UTF-8, the same as a Zebra printer with ^CI28, so phones and scanners read the accents correctly. Linear barcodes such as Code 128 cannot hold accented letters.
Bar width is the narrowest bar, in printer dots. Resolution is your printer’s dots per inch. Matching the resolution to your label printer keeps every bar an exact number of dots, which is what makes a barcode scan reliably. For office printers and screens, 300 dpi is a good choice.
Yes. The generated images are yours to use. Retail barcodes (EAN and UPC) also need a number registered with GS1 for your company; this tool draws the barcode but does not issue numbers.
No. The Z2PL label engine runs in your browser using WebAssembly, so the data you type stays on your device.