Flexible product code
Typing 123456789012 with format CODE128 draws a scannable barcode with that value shown as readable text underneath the bars — download it as barcode.png or barcode.svg.
Generate barcodes (Code 128, EAN, UPC and more) and download as PNG or SVG — free online.
About
Turns a value you type into a scannable barcode in the format you choose, ready to download as a PNG or SVG.
Small retailers use it to print barcodes for handmade or repackaged products, while warehouse and inventory staff use it to generate labels for internal tracking. It's one of many free generator tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.
Examples
3 worked examples
Typing 123456789012 with format CODE128 draws a scannable barcode with that value shown as readable text underneath the bars — download it as barcode.png or barcode.svg.
Typing 5901234123457 with format EAN-13 draws a valid EAN-13 barcode, since 7 is the correct check digit for those 12 leading digits.
Typing 12AB with format EAN-13 shows "That value is not valid for the EAN13 format." instead of a barcode, since EAN-13 needs 12–13 digits, not letters.
FAQ
Quick answers to common questions about the Barcode Generator.
It turns a value you type into a scannable barcode image in the format you choose, which you can download as a PNG.
Yes. It's free, with no sign-up, no watermark and no limit on how many barcodes you generate.
Yes. The value you type is drawn into a barcode entirely in your browser using a small library loaded from this site — it's never sent to a server.
CODE128 handles almost any text or number and is the safest default; EAN-13/EAN-8/UPC are for standard retail product codes with a fixed digit count; CODE39, ITF-14, MSI and Pharmacode suit specific industrial or logistics uses.
Formats like EAN-13 and UPC require an exact number of digits (often with a check digit), so a value that's too short, too long, or contains letters will be rejected — switch to CODE128 if you just need a flexible code.
Yes, most barcode scanner apps and hardware scanners can read a barcode directly from a phone or monitor screen, though printing it usually scans more reliably.
Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.
It outputs a PNG or an SVG at the size the library draws by default — there's no custom bar colour option.
Did Barcode Generator work for you?