Barcode Generator
Create scannable barcodes for products, inventory and shipping. Check digits are added for you, sizes are exact at 300 dpi, and you can make hundreds at once on printable label sheets.
Key facts
- Price
- Free, with no sign-up and no usage limits
- Privacy
- Runs in your browser: your files and text are never uploaded
- Works on
- Any current browser on Windows, macOS, Linux, ChromeOS, Android and iPhone
- Made by
- Toolgu
- Last updated
How to make a barcode
- Choose the barcode type. Not sure? Use Code 128 for your own labels and UPC-A or EAN-13 for retail products.
- Type the value. For UPC, EAN and ITF-14 you can leave out the last digit and the check digit is added.
- Pick the bar width and height, then download a PNG (300 dpi) or an SVG for print.
- For many barcodes, switch to “Bulk and label sheets”, paste one value per line and download a ZIP or a PDF of labels.
Barcode types
- Code 128: Shipping, inventory and asset labels. Any letters, digits and symbols.
- EAN-13: Retail products worldwide (outside the US and Canada). 12 digits plus a check digit.
- UPC-A: Retail products in the US and Canada. 11 digits plus a check digit.
- EAN-8: Small retail packages. 7 digits plus a check digit.
- ITF-14: Outer cartons and cases (GTIN-14). 13 digits plus a check digit.
- Code 39: Industry, military and ID badges. Capital letters, digits and - . $ / + % space.
- Codabar: Libraries, blood banks and parcel services. Digits and - $ : / . +
Printing barcodes that scan
- Print at 100% (“Actual size”), not “Fit to page”, so the bars keep their width.
- Keep the blank space on both sides (the quiet zone). The downloads include it.
- Use dark bars on a light background. Red bars or a dark background often won’t scan.
- Test one label with your scanner or a phone app before printing hundreds.
Do I need GS1 numbers?
To sell through retailers, marketplaces like Amazon, or anywhere that scans products at checkout, your UPC or EAN numbers must come from GS1, the organisation that issues them. For internal use, such as stock rooms, libraries, asset tags, tickets or shipping labels, you can use any numbering you like with Code 128.
Frequently asked questions
How do I make a barcode?
Choose the barcode type, type the number or text, and download it as a PNG for documents or an SVG for print and packaging design. For many barcodes at once, switch to “Bulk and label sheets” and paste one value per line.
Which barcode type should I use?
For products sold in stores use UPC-A in the US and Canada or EAN-13 elsewhere, with numbers assigned by GS1. For your own stock, shelves, assets or shipping labels, Code 128 is the most flexible: it holds letters, digits and symbols and prints compactly.
Can I make a UPC or EAN barcode for selling on Amazon or in shops?
You can draw any valid number here, but retailers and Amazon require numbers licensed to your company by GS1. Buy a company prefix from GS1, then use this generator to create the barcode images for those numbers.
What is a check digit?
The last digit of EAN, UPC and ITF-14 codes is calculated from the others so scanners can catch misreads. Enter the number without it and it is added for you; enter the full number and a wrong check digit is flagged.
What size should a barcode be?
The standard UPC-A size is about 37 × 26 mm (1.47 × 1.02 in) at 100%. Choose “Standard” bar width for everyday use, keep the blank margin on both sides, and print at 100% (Actual size) so scanners read it first time.
Are the barcodes free to use?
Yes. The images are generated in your browser, with no watermark, no sign-up and no limit, and you can use them commercially.
Sources
The rules and figures this tool uses come from:
Related tools
- Password GeneratorStrong random passwords, locally generated
- QR Code GeneratorLinks, Wi-Fi, text, email and phone to QR
- UUID Generatorv4 and v7 UUIDs in bulk
- JSON FormatterPretty-print, validate and minify JSON
- Base64 Encode / DecodeText and files to and from Base64
- URL Encode / DecodePercent-encode text and inspect URLs
- Hash GeneratorMD5, SHA-1, SHA-256 and SHA-512 for text and files
- JWT DecoderInspect header, payload, expiry and signature