15 barcode types · Check digits added · Scan-checked

Free Barcode Generator

Make Code 128, UPC-A, EAN-13, ISBN, ITF-14 and GS1-128 barcodes, and Data Matrix, PDF417 and Aztec 2D codes. Check digits are added or verified for you, every barcode is scan-checked, and downloads come at the right size for your printer as PNG, SVG, PDF or EPS.

No account. No watermark. Nothing uploaded.

Last updated: October 2026

Live barcode preview

Every change is decoded to make sure the barcode scans as what you entered.

Generated Code 128 barcode

PNG: 748 × 264 px, tagged 300 DPI, quiet zones included. SVG, PDF and EPS are vector files, made at 63.3 mm wide.

Bulk: many barcodes and label sheets

Make up to 1,000 Code 128 barcodes from a list or a number sequence, with the type, size, printer and colors set above. Download them as files in a ZIP, or as a printable PDF of labels.

With a header row, values come from a column named Barcode, Number, SKU, GTIN, UPC, EAN, ISBN or Code. A File name column names each file, and a Label, Name or Product column adds a caption on label sheets. Without a header, the first column is used.

Files in a ZIP

One file per barcode, each scan-checked, plus report.csv.

Label sheet (PDF)

Barcodes keep the bar width set above when they fit; otherwise the bars get shorter, then the barcode is scaled down. Print a test page on plain paper first and hold it against a label sheet.

How to create a barcode

1

Choose the barcode type

Code 128 for your own labels, EAN-13 or UPC-A for products, ISBN for books, ITF-14 or GS1-128 for cartons, Data Matrix, PDF417 or Aztec for 2D codes, or Code 39, Code 93 or Codabar for older systems.

2

Enter the number or text

For UPC, EAN, ISBN and ITF-14, leave out the check digit and it is added, or enter the full number and it is checked.

3

Set the size and look

Choose your printer (203, 300 or 600 dpi) and the thinnest bar in mm or mils, then the bar height, the text under the bars and the colors.

4

Check and download

When the scan check passes, download a PNG, SVG, PDF or EPS at your print size, or copy the image.

Which barcode type should I use?

Use the type your retailer, warehouse or software asks for. If you are labeling your own items and nobody has specified one, Code 128 is the usual choice.

TypeHoldsUsed for
Code 128Letters, digits and symbolsShipping, inventory, asset tags
EAN-1313 digits with a check digitProducts sold in stores in most countries
UPC-A12 digits with a check digitProducts sold in the US and Canada
EAN-88 digits with a check digitSmall packs with little space
UPC-E8 digits (a zero-suppressed UPC-A)Small packs in the US
ISBNISBN-13 drawn as an EAN-13Books
ITF-1414 digits with a check digitOuter cartons and cases
Code 39A-Z, 0-9 and a few symbolsOlder industrial and ID systems
Code 93Plain ASCII textA more compact alternative to Code 39
CodabarDigits and a few symbols, between letters A-DLibraries, blood banks, older labels
GS1-128GS1 Application Identifiers: GTIN, batch, dates, SSCCCartons and pallets in supply chains
Data MatrixAny text, in a small squareSmall parts, electronics, healthcare labels
GS1 Data MatrixGS1 Application Identifiers in a small squareHealthcare and products with GS1 data
PDF417Long text in a stacked barcodeShipping labels, transport documents, tickets
AztecAny text, in a square with a bullseyeTickets and transport passes

Product barcodes and GS1 numbers

UPC and EAN barcodes carry a product number (a GTIN) that GS1 assigns to your company. GS1 US describes its numbers as identifying your company as the brand owner of the product (GS1 US). A number you make up may already belong to another company's product.

This generator draws the barcode for a number you already have. It doesn't issue or register numbers. To get product numbers, contact GS1 in your country (GS1 offices). For books, ISBNs come from your national ISBN agency.

For internal labels, such as your own inventory, shelves or assets, you don't need GS1 numbers. Use Code 128 with any text you like.

How the check digit works

The last digit of a UPC, EAN, ISBN-13 or ITF-14 number is a check digit, calculated from the others so scanners can detect a misread. GS1's method (GS1):

  1. Starting from the right, multiply the digits alternately by 3 and 1.
  2. Add up the results.
  3. The check digit is the amount needed to reach the next multiple of 10.

For example, GS1's number 629104150021 gives a sum of 57, so its check digit is 3 and the full number is 6291041500213. The generator does this for you, and tells you when a full number's last digit doesn't match.

Barcode size and quiet zones

Barcode sizes are set by the width of the thinnest bar, called the X-dimension. For EAN-13 on consumer products, GS1's size guide gives these values (GS1 Sweden):

EAN-13MinimumRecommendedMaximum
Thinnest bar (X-dimension)0.264 mm0.330 mm0.660 mm
Bar height18.28 mm22.85 mm45.70 mm

Quiet zones and print size

A quiet zone is the clear space on each side of the bars. GS1 asks for at least 11 bar widths on the left and 7 on the right of an EAN-13, and 9 on each side of a UPC-A. The generator includes them in every download, so don't crop the image or place other artwork in that space.

Under Size and print in the tool, choose your printer and the thinnest bar width. The tool shows the printed size, rounds each bar to whole printer dots so every bar prints the same width, tags the PNG with your printer's DPI, and makes the SVG, PDF and EPS at that exact size. When you place the file, scale it in proportion and never stretch it unevenly.

Always print a proof and test it with the scanner or app that will read it.

2D codes and GS1 data

Data Matrix, PDF417 and Aztec hold text in a pattern of small squares instead of bars, so they fit much more into less space and can hold any language. Data Matrix suits small parts and labels, PDF417 holds long text on shipping and transport documents, and Aztec is common on tickets. The scan check decodes each one, like the linear barcodes.

For codes that people scan with a phone to open a link, use the QR code generator: phone cameras open links from QR codes.

GS1-128 and GS1 Data Matrix carry several pieces of data, each after its GS1 Application Identifier in brackets: (01)05012345670003(17)271231(10)AB12 is a GTIN, an expiry date and a batch number. The tool lists each element by name and checks GTIN and SSCC check digits and dates, which the barcode engine itself does not. The data titles and formats follow GS1's Application Identifier list.

The scan check also confirms the code reads as GS1 data, not as plain text, so GS1 scanners split it into its elements.

Bulk barcodes and label sheets

Making barcodes for a whole product range, a stock count or a batch of boxes? Use the Bulk section under the tool. Start from a CSV, TXT or Excel (.xlsx) list, or from a number sequence such as BOX-0001 to BOX-0500, up to 1,000 at a time.

  • ✓Values come from a column named Barcode, Number, SKU, GTIN, UPC, EAN, ISBN or Code, or from the first column.
  • ✓A File name column names each file; a Label, Name or Product column prints a caption on label sheets.
  • ✓Every barcode uses the type, size, printer and colors set above.
  • ✓Files come in one ZIP, each scan-checked, with a report that lists invalid values and the reason.

Spreadsheets: Excel drops leading zeros from numbers and turns long ones into values like 5.01235E+12. Format the barcode column as Text first; the tool warns when a list looks affected.

A label sheet PDF places the barcodes on printable labels:

  • ✓Letter, 30 labels of 1 × 2⅝ in (the size of Avery 5160)
  • ✓A4, 21 labels of 63.5 × 38.1 mm (the size of Avery L7160)
  • ✓A4, 24 labels of 70 × 37 mm
  • ✓A custom grid, or one label per page for roll label printers

Print several copies of each barcode and start at any label on a part-used sheet. Barcodes keep your bar width when they fit; if a label is too small, the bars are shortened and then the barcode is scaled down, and the tool tells you how many changed. Print at 100% (actual size), not “fit to page”, and test on plain paper first.

Make barcodes that scan

  • ✓Dark bars on a light, plain background, never the reverse
  • ✓Black, dark blue or dark green bars; avoid red, orange and yellow, which scanners' red light can't see
  • ✓Keep the quiet zones on both sides clear
  • ✓Resize in proportion, and never squash or stretch the bars
  • ✓Print large enough; very small barcodes need a sharp printer
  • ✓Test a printed proof with the scanner you'll use

Need to check an existing barcode? Open it in the barcode reader. Need a code that opens a link on a phone? Use the QR code generator.

Frequently asked questions

Is this barcode generator free?+

Yes. There is no sign-up, trial or watermark. Make as many barcodes as you need and download them as PNG, SVG, PDF or EPS, or copy the image.

Which barcode type should I use?+

For products sold in stores, EAN-13, or UPC-A in the US and Canada. For books, ISBN. For outer cartons, ITF-14. For your own labels, such as inventory, shipping or asset tags, Code 128, which holds letters and digits in a compact barcode. Code 39 and Codabar are mainly for older systems that already use them.

Can I make a UPC or EAN barcode for my product here?+

You can draw it here, but the number has to be yours. GS1 assigns product numbers to companies, so a made-up number may already belong to someone else's product. Get your numbers from GS1, then enter them here to make the barcode images.

What is a check digit?+

The last digit of a UPC, EAN, ISBN or ITF-14 number. It is calculated from the other digits, so a scanner can tell when a digit was misread. Enter the number without it and the tool adds it, or enter the full number and the tool checks it.

Why does it say my check digit is wrong?+

Usually because of a typo in one of the digits. The tool shows which last digit the number should have. Check the number against your GS1 record or packaging, or enter it without the last digit to have the check digit calculated.

What is the difference between UPC-A and EAN-13?+

UPC-A has 12 digits and is used mainly in the US and Canada. EAN-13 has 13 digits and is used in most other countries. A UPC-A number is the same as an EAN-13 number with a leading 0, which is why scanners often report UPC-A codes with 13 digits.

Can I make an ISBN barcode for a book?+

Yes. Enter an ISBN-13, which starts with 978 or 979, or an ISBN-10, which is converted to its 978 ISBN-13. The barcode is an EAN-13 with the ISBN printed above it. ISBNs come from your country's ISBN agency. The 5-digit price add-on that some books carry isn't supported yet.

What is Code 128 used for?+

Shipping labels, inventory, asset tags and other internal labels. It holds letters, digits and symbols, up to about 80 characters here, and stays more compact than Code 39 for the same text.

Do I need to add asterisks to Code 39?+

No. Code 39 starts and ends with an asterisk, and the tool adds both automatically. They appear in the text under the bars, as they do on most Code 39 labels.

What is the difference between Data Matrix and a QR code?+

Both are 2D codes. Data Matrix fits more data into a smaller square and is common on small parts, electronics and healthcare products, where industrial scanners read it. Phone cameras usually open links from QR codes, so for anything people scan with their phone, use a QR code instead.

What are GS1 Application Identifiers?+

Numbered prefixes in brackets that say what each piece of data is: (01) is the GTIN, (17) the expiry date, (10) the batch or lot number, (21) the serial number and (00) the SSCC of a pallet. Write them one after another, such as (01)05012345670003(17)271231(10)AB12. The tool checks GTIN and SSCC check digits and dates, and lists each element by name.

How do I write dates in GS1-128?+

As YYMMDD: 271231 is 31 December 2027. A day of 00 means the end of the month. The tool rejects dates that don't exist, such as a 13th month or 30 February.

Can I make a PDF417 barcode for a driver's license or ID card?+

No. The tool makes general PDF417 codes from your own text, but it doesn't create driver's license or ID card data formats.

Can a barcode hold a website link?+

A Code 128 barcode can hold the text of a link, but phone cameras don't open links from barcodes. For a link people can scan with their phone, use a QR code instead.

What does the scan check do?+

After every change, the tool decodes the exact PNG and SVG a download would produce and confirms they scan as the value you entered. PDF and EPS files are drawn from the same design. If they don't, it names the likely cause, such as low contrast or red bars.

How big should I print a barcode?+

For EAN-13 on consumer products, GS1 recommends a thinnest bar of 0.330 mm and a bar height of 22.85 mm, with clear quiet zones on both sides. Under Size and print, choose your printer and the thinnest bar in mm or mils: the tool shows the printed size, warns when an EAN-13 falls outside GS1's limits, and makes every download at that size. Test a printed proof with the scanner you'll use.

Why does the bar width change slightly for my printer?+

Printers draw whole dots: 203, 300 or 600 per inch. A width like 0.33 mm is 2.6 dots on a 203 dpi label printer, so some bars would print 2 dots wide and others 3. The tool rounds the thinnest bar to whole dots (3 dots, 0.375 mm, at 203 dpi) so every bar prints exactly as designed, and tells you the width it used.

Can I change the colors?+

Yes, but keep dark bars on a light background. Most barcode scanners read with red light, so red, orange and yellow bars can disappear even though they look dark on screen. The tool warns about low contrast, light bars and red bars.

Which file format should I download?+

PNG works in documents, label software and online stores; with a printer chosen, it has one pixel per printer dot and is tagged with that DPI, so it prints at the size shown. SVG, PDF and EPS are vector files made at your print size: SVG for websites and design apps, PDF for printing and sharing, EPS for print shops and older label software. PNG, SVG and PDF can have a transparent background.

Can I make many barcodes at once?+

Yes. Under Bulk, upload a CSV, TXT or Excel (.xlsx) list or paste one value per line, up to 1,000 at a time, or make a number sequence. Every barcode uses the type, size and colors you set, and you can download them as PNG, SVG, PDF or EPS files in a ZIP, each scan-checked and listed in a report, or as a label sheet PDF.

Can I print barcode labels on Avery or other label sheets?+

Yes. Choose Label sheet and a layout: letter sheets of 30 labels (1 × 2⅝ in, the size of Avery 5160), A4 sheets of 21 (63.5 × 38.1 mm, the size of Avery L7160) or 24 (70 × 37 mm), a custom grid, or one label per page for roll label printers. You can print several copies of each barcode, start at any label on a part-used sheet, and add a caption from your list. Print at 100% (actual size) and test on plain paper first.

Why do my barcode numbers change in Excel?+

Excel stores long numbers as numbers: it drops leading zeros, so 036000291452 becomes 36000291452, and very long ones turn into 5.01235E+12. Format the column as Text before typing or pasting the numbers. The bulk tool warns when values look like they lost a zero or were shortened.

Can I make sequential barcode numbers?+

Yes. Choose Number sequence and set a prefix, a start number, how many, a step and the number of digits, such as BOX-0001 to BOX-0100. For UPC and EAN, the check digit is added to each number. Only use product numbers from your own GS1 range.

Is my data uploaded?+

No. Barcodes are created and checked in your browser. The barcode engine loads from this site the first time you make a barcode, and the numbers and text you enter are not sent anywhere.

Ready to create your barcode?

Choose the type, enter your number or text, set your printer, let the scan check confirm it, and download a PNG, SVG, PDF or EPS.