BARCODE GENERATOR / EAN · UPC · CODE 128 · DATA MATRIX

Barcode Generator

Pick a type, enter the number, and the check digit is done for you. Download it or print labels.

Made in your browser · no watermark

For EAN, UPC and ITF-14 enter the digits without the check digit and it is added for you.

For label sheets, a list here is printed as listed; leave it empty to print the single code above in the chosen quantity.

Label stock
Styles

When printing, set scale to Actual size / 100% and margins to None.

YOUR NEXT STEP

Give your next inquiry a place in your team workflow

Create a company account, connect your inquiry mailbox and set team permissions. Explore Pro for higher processing limits, automatic acknowledgements and team workflows.

New companies receive a 14-day Pro trial, with no card required. Trials exclude the paid monthly credit grant.

Already have an account? Open your workspace →

How to create a barcode

  1. Choose the type and enter the number. For retail codes enter the digits without the check digit; wrong check digits are flagged with the correct value.
  2. Adjust bar height, colour and human-readable text under Appearance and watch the live preview.
  3. Download SVG for packaging, PNG for spreadsheets and web pages, or switch to Label sheets to print at true size.

Which barcode should I use?

Common barcode types and uses
TypeUsed forContent
EAN-13Retail products worldwide (China, Europe, Asia)Digits, 13 including the check digit
UPC-A / UPC-EUS and Canadian retail; UPC-E for small packsDigits, 12 / 8
EAN-8Packs too small for EAN-13Digits, 8
ISBNBooks (EAN-13 plus price add-on)13 digits from 978/979, optional 5-digit add-on
ITF-14Outer cartons (GTIN-14) with bearer barsDigits, 14
GS1-128Logistics labels: SSCC, batch, expiry, weightGS1 Application Identifiers
Code 128Internal IDs, bin locations, Amazon FNSKU, parcelsLetters, digits and symbols
Code 39Industrial, automotive and legacy systemsUpper-case letters, digits, - . $ / + %
Data MatrixSmall parts, electronics, medical devices (GS1 DataMatrix)Any text, up to about 2,000 characters
PDF417IDs, boarding passes, shipping documentsAny text, up to about 1,800 characters

Print size and scanning requirements

X is the width of the narrowest bar. GS1 allows retail codes from 80% to 200%; codes printed smaller or with truncated bars may not scan. Use dark bars on a light background: red, orange and yellow bars are invisible to red-light scanners. Test-scan the first print.

Summarised from the GS1 General Specifications
TypeX-dimensionBar heightQuiet zone
EAN-13 / UPC-A0.264 – 0.660 mm(80% – 200%)About 22.85 mm at 100%Left 11X, right 7X (UPC-A 9X each side)
ITF-140.495 – 1.016 mmAt least 32 mm10X each side plus bearer bars
GS1-128Logistics labels 0.495 – 1.016 mmAt least 32 mm10X each side
Code 128 / FNSKUIdeally at least 0.25 mmAt least 6 mm or 15% of the length10X each side

Where do retail barcode numbers come from?

This tool draws barcodes; it does not issue numbers. To sell through supermarkets, Amazon, Walmart and other retailers, EAN/UPC numbers come from a GS1 company prefix licensed by your national GS1 office, with one number per product; cheaply resold numbers may be rejected by marketplaces. Internal, warehouse and FNSKU labels can use Code 128 with no registration.

Frequently asked questions

Can I use the barcodes commercially? Do they expire?

Yes: free, no watermark, commercial use allowed, and they never expire. A barcode is just your number drawn as bars, created in your browser without passing through our server.

What if the printed barcode does not scan?

The usual causes are printing too small, truncated bar height, crowded quiet zones or poor contrast. Print larger following the size table, set the print scale to Actual size / 100%, and use a 203 dpi or better thermal printer.

SVG, PNG or printed labels?

Give designers SVG for packaging and print (vector, scales cleanly); use PNG in Excel, web pages and Word; use label printing for office or thermal printers, laid out at true millimetre size.

Barcode generator practical guide and common questions

What does a Barcode generator do?

Supports EAN-13, EAN-8, UPC-A, UPC-E, ISBN, ITF-14, GS1-128, Code 128, Code 39, Codabar, Data Matrix, GS1 DataMatrix and PDF417; retail codes and GS1 Application Identifiers get their check digits added and verified.

Who is this for, and when is it useful?

Online sellers, factories, warehouses and designers creating product barcodes, internal codes for bins and assets, or artwork for packaging.

How do I use this Barcode generator?

Choose the type, enter the number (retail check digits are added), adjust height and text under Appearance, then download PNG / SVG or switch to label printing.

How should I interpret the results?

This tool draws barcodes but does not issue numbers; retail EAN/UPC numbers come from GS1. Test-scan the first print.

Where is the work performed, and which services receive data?

Barcodes are encoded and drawn in your browser by bwip-js; numbers and imported files are never uploaded.