Barcode Generator
Create Code 128, Code 39, EAN, UPC, ITF and more barcodes with check-digit validation. Download PNG, SVG or PDF.
About Barcode Generator
The Barcode Generator draws barcodes in 18 formats, including Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14 and Codabar, with check-digit validation and a scan check. Download PNG, SVG, PDF or JPG.
Which format?
EAN-13 and UPC-A for retail products, Code 128 for most stock, shipping and asset labels, ITF-14 for cartons, Code 39 for older systems.
Check digits
EAN and UPC numbers are checked, so a typing mistake is caught before you print.
Code 128 sets
A packs capital letters and control codes, B handles normal text, and C packs digits in pairs for shorter codes.
Layout
Set bar width, height, quiet zone, text size, colours and rotation for vertical labels.
Print to scan
Dark bars on a light background, a clear quiet zone and enough height. Test with your scanner before printing many.
Many barcodes?
Use the Bulk Barcode Generator.
Private
Codes are made in your browser. Nothing you type is uploaded.
How to use Barcode Generator
- Choose the barcode format (for example Code 128, EAN-13, UPC-A or Codabar).
- Type or paste the value. The tool shows what is wrong if the digits or check digit do not fit the format.
- Set the bar width, height, quiet zone, text size, rotation and colours while the preview updates live.
- Check the scan result under the preview, then download PNG, SVG, PDF or JPG, or press Copy image.
Help & FAQ
Which barcode format should we use?
EAN-13 or UPC-A for retail products, Code 128 for general labels and inventory, Code 39 for industrial and automotive use and ITF-14 for outer cartons.
Why does it reject our number?
EAN and UPC barcodes need a specific number of digits and a correct check digit. For EAN-13 and UPC-A you can enter the digits without the check digit and it is added for you.
Can a barcode be scanned from the screen?
Usually yes, but print quality and contrast matter. Print at a good size on a clean white background for the most reliable scanning.
How do we make a free barcode online?
Choose the format, type the value, check the preview and download the image. For retail numbers, the digits must follow the format rules, which the tool checks.
Can we make a barcode from a web link?
A long link is better as a QR code. Use the QR Code Generator for links. Linear barcodes suit short numbers and codes.
Do we have to pay for EAN or UPC numbers?
Official product numbers come from the barcode issuing organisation in your country. This tool draws the barcode for a number you already have.
How do we scan a barcode online?
Use the Barcode Scanner tool with your camera or upload a picture of the barcode.
What is a check digit?
It is the last digit that lets a scanner confirm the number was read correctly. For EAN-13 and UPC-A the tool adds it for you; other formats are checked where the format requires it.
Which file type should we download?
SVG stays sharp at any size and suits printing. PNG is fine for screens and documents, and PDF is handy when you want to print the barcode straight away.
How many digits does an EAN-13, UPC-A or EAN-8 barcode need?
EAN-13 needs 13 digits including the check digit, UPC-A needs 12 and EAN-8 needs 8. If you enter one digit less, the tool can calculate the check digit for you.
Can we put letters in a barcode?
Yes, in Code 128 (letters, digits and symbols) and Code 39 (capital letters, digits and a few symbols). EAN, UPC and ITF formats take digits only.
Does the barcode generator store or upload our numbers?
No. The barcode is drawn in your browser, so the value stays on your device.
How big should a printed barcode be?
Large enough for your scanner to read it easily. Keep the bars at least the default width, leave blank space on both sides and test one printed label before printing many. Retail EAN and UPC codes have size rules from GS1, so follow them for products sold in shops.
Can we use a generated EAN or UPC number to sell in shops?
Only with numbers issued to your company by GS1 (your national GS1 organisation). This tool formats and checks numbers but does not allocate or register them.
What is the difference between Code 128-A, 128-B and 128-C?
128-A covers capital letters and control characters, 128-B covers upper and lower case letters, digits and symbols, and 128-C encodes two digits per bar group, so long numbers need the least width. Pick plain Code 128 if you are not sure, the tool chooses a valid set for you.
What are EAN-5 and EAN-2 barcodes?
They are short add-on codes printed to the right of an EAN-13. EAN-5 usually shows the recommended retail price of a book and EAN-2 shows the issue number of a magazine or periodical. They are not read on their own.
What is a UPC-E barcode?
UPC-E is a shortened form of UPC-A for small packages. It uses 8 digits starting with 0 or 1, and the last digit is the check digit.
How do we make a vertical barcode?
Use the Rotate option and choose 90 or 270 degrees. The preview, PNG, SVG, PDF and JPG downloads are all rotated, and the scan check still reads the unrotated bars.
Can we make hundreds of barcodes at once?
Yes. Use the Bulk Barcode Generator on Toolysite: paste a list or create a number series and download all barcodes as a ZIP file. Use the Label Designer to print them on label sheets.
How do we paste the barcode into Word or Canva?
Press Copy image and paste it with Ctrl+V. If your browser does not allow copying, download the PNG and insert the file instead.