Barcode Generator

Free online barcode generator for EAN-13, UPC, Code 128, ISBN, ITF-14, Data Matrix and more. Check digits are added for you. Download PNG or SVG, ready to print.

Make a barcode

Size and colours
Colours
Your barcode
Loading…
Your barcode will appear here

Check it scans: test it with the barcode scanner

Made in your browser. Nothing you type is uploaded.
Free for any use, with no watermark and no sign-up.

How to make a barcode

Three steps, in your browser.

1

Choose the type

Pick the barcode your shop, printer or system needs. Not sure? Use the table below.

2

Type the number

The barcode appears as you type. Leave off the check digit and it’s added for you, or type it and it’s checked.

3

Download or print

Get a PNG for documents and labels, or an SVG that stays sharp at any size. You can also copy or print it.

Which barcode do I need?

Which barcode type to use for each purpose
You’re labellingUse
A product sold in shops (most countries)EAN-13
A product sold in shops in the US or CanadaUPC-A
A very small product packageEAN-8 or UPC-E
A bookISBN (add-on for the price)
A magazine or newspaper issueEAN-13 with a 2-digit add-on
Stock, SKUs, shipping or warehouse labelsCode 128
ID badges, asset tags or an older systemCode 39
A carton or case of productsITF-14
Pallet labels with batch or expiry datesGS1-128
Library books, lab samplesCodabar
Tiny parts, medicine packs, electronicsData Matrix
ID cards, tickets, shipping papersPDF417

Selling in shops? Get a GS1 number

Shops expect EAN and UPC numbers registered with GS1, the organisation that issues them in each country (in Pakistan, GS1 Pakistan). A made-up number can clash with another company’s product and be rejected by the retailer.

Once you have your number, this tool draws the barcode for it. For stock, assets or anything used only inside your business, Code 128 needs no registration.

Printing tips

  • Print at 100%. Turn off “fit to page” and never stretch a barcode in one direction.
  • Keep the white margin on both sides. Scanners need it to find the start and end.
  • Dark bars on a light background. Black on white scans best; red bars don’t scan at all.
  • Standard EAN-13 size is about 37 × 26 mm. Shops accept 80% to 200% of that.
  • Test before a big print run with the barcode scanner or your own device.

Frequently asked questions

Common questions about making barcodes.

Yes. It’s free with no sign-up and no watermark, and you can use the barcodes you make for anything, including products you sell.

Not for selling in shops. Retailers expect EAN and UPC numbers registered with GS1, the organisation that issues them (in Pakistan, GS1 Pakistan). A made-up number can clash with another company’s product. Once you have your GS1 number, this tool draws the barcode for it. For stock, assets or anything used only inside your business, use Code 128 instead.

It’s the last digit of an EAN, UPC, ISBN or ITF-14 number, worked out from the other digits so scanners can catch misreads. Type the number without it and the generator adds it. Type the full number and it checks that the last digit is right.

Use SVG for printing and for design tools like Illustrator, Canva or Word, because it stays sharp at any size. Use PNG for websites, documents and label software that needs a picture. Choose Large before downloading a PNG for print.

Choose ISBN, type your ISBN with hyphens exactly as on your copyright page, then enter the 5-digit price add-on. For example, 52499 means US$24.99, and 90000 means no set price. Use the add-on code your distributor asks for.

Code 128 holds all keyboard characters, including lowercase letters, and makes a shorter barcode, so it suits most new labels. Code 39 only holds capital letters, digits and a few symbols, but some older systems still need it.

Use Data Matrix for very small items like electronic parts and medicine packs, where it fits more data into less space. PDF417 is used on ID cards, driving licences and boarding passes. For links people scan with their phones, a QR code is better: use the QR code generator.

Every format is tested by scanning the generated image back. To make sure printed barcodes scan, print at 100% size without stretching, keep dark bars on a light background, and leave the white margin on both sides.

No. The barcode is made in your browser, so the numbers and text you type never leave your device.