QR Code Tools

Barcode Generator

Create EAN-13, EAN-8, UPC-A, Code 128, Code 39, ITF-14 and MSI barcodes with automatic check digits, then download them as SVG or PNG.

Private by design: anything you enter is processed in your browser only. It is never uploaded to or logged on our servers. The barcode is drawn in your browser; nothing you type is sent anywhere.

Preview

SVG stays sharp at any print size. The PNG is saved at 3× the preview size.

Need a QR code instead? Use the QR Code Generator, or read one with the QR Code Scanner.

Which barcode should I use?

Code 128 is the best general-purpose choice: it encodes any printable ASCII text (letters, digits, symbols) compactly, so it suits serial numbers, asset tags, shipping labels and internal IDs. Code 39 is older and wider but still required by some badge, library and automotive systems; it only has capitals, digits, space and - . $ / + %.

EAN-13 (worldwide) and UPC-A (USA and Canada) are the retail product codes scanned at the till, and EAN-8 is the short version for small packs. ITF-14 marks outer cartons that hold several retail units. These GS1 formats end in a check digit: type the number without it and it is added, or type the full number and it is verified, with the correct digit shown if yours is wrong. To sell in shops you need numbers from a GS1-registered company prefix; a generated barcode does not register a product.

MSI Plessey is a digits-only code still used on supermarket shelf labels and in warehouses. The optional Mod 10 check digit is the one most MSI scanners expect.

Keep the quiet zone (the empty margin on both sides) and dark bars on a light background: scanners use red light, so red or pale bars often cannot be read. Print a test label and scan it before ordering a large run.

Frequently Asked Questions

Use Code 128 for general text such as serial numbers, asset tags and shipping labels. EAN-13 (worldwide) and UPC-A (USA and Canada) are retail product codes, EAN-8 is for small packs and ITF-14 for outer cartons. Code 39 and MSI are older formats still required by some badge, library, warehouse and shelf-label systems.

No. For EAN-13, EAN-8, UPC-A and ITF-14 type the number without its last digit and the GS1 check digit is added. If you type the full number, the check digit is verified and the correct digit is shown when yours is wrong. MSI can add an optional Mod 10 check digit.

Only with a number you own. Retailers require EAN and UPC numbers from a GS1-registered company prefix. The generator draws a correct barcode for any number, but it does not register a product for you.

SVG is a vector file that stays sharp at any print size, so use it for labels and packaging. PNG is saved at three times the preview size for documents and web pages. Keep dark bars on a light background and leave the quiet zone around the bars, otherwise scanners may fail.