Don's Tools · Generators · Barcode Generator

Barcode generator

Create scannable barcodes in many formats and download them, right in your browser.

FormatBar width
Height
Works offline: barcodes are drawn in your browser with nothing uploaded. Code 128 encodes any text; retail formats like EAN-13 and UPC require an exact number of digits. Keep the white margin so scanners read it reliably.
Barcode Generator is a free tool that creates scannable barcodes entirely in your browser, with nothing uploaded. It supports Code 128 and Code 39 for general text and EAN-13, EAN-8, UPC, ITF-14, MSI, Pharmacode and Codabar for products, lets you adjust the size and value display, and downloads a crisp PNG or a vector SVG.

Frequently asked questions

Is anything uploaded?

No. Barcodes are generated entirely in your browser with nothing uploaded. It works offline after the first load, which fetches a small library once.

Which barcode formats are supported?

Code 128 and Code 39 for general text, EAN-13, EAN-8 and UPC-A for retail products, plus ITF-14, MSI, Pharmacode and Codabar.

Why does my value show as invalid?

Retail formats require an exact number of digits, for example EAN-13 needs 12 to 13 digits and UPC needs 11 to 12. Code 128 accepts any text, so use it when you are not encoding a product code.

Can I download a print-ready file?

Yes. Download a PNG for documents and the web, or an SVG, which is vector and stays crisp at any print size.

Will it scan reliably?

Yes, as long as you keep the surrounding white margin and print it large enough. Avoid stretching or cropping the bars.