Skip to content

Barcode Generator (EAN, UPC, Code 128)

Make EAN-13, EAN-8, UPC-A, Code 128, Code 39, ITF-14 and Codabar barcodes with check-digit validation, size and colour options, and PNG or SVG download. Bulk to ZIP.

Barcode Generator (EAN, UPC, Code 128)1 free run a dayNewImage & MediaRuns in your browser

How many

Any text: letters, numbers, symbols. Shipping and inventory labels.

Encodes AIRL-2026-0042

Preview

Size and style
2 px

Width of the thinnest bar. 2 px suits most labels.

100 px
10 px

Blank space around the bars. Scanners need some.

18 px
#000000
#ffffff

PNG resolution

SVG is always included for single barcodes and scales to any size without blur.

Works in your browser. What you paste or upload is processed on your device.

Key features of the barcode generator

  • EAN-13, EAN-8, UPC-A, Code 128, Code 39, ITF-14 and Codabar
  • Calculates or verifies GS1 check digits and explains errors
  • Live preview with bar width, height, margin, text size and colours
  • PNG at 1× to 4× resolution plus a vector SVG
  • Bulk mode: up to 500 values from a pasted list, downloaded as a ZIP
  • Warns when colours are too low-contrast or inverted for scanners
  • Runs in your browser; your product numbers are never uploaded

How to use the barcode generator

  1. Choose the barcode type

    Pick EAN-13 or UPC-A for retail products, ITF-14 for cartons, or Code 128 for any text.

  2. Enter the value

    Type the number or text. For EAN and UPC, enter the digits without the check digit and it is added for you.

  3. Adjust size and style

    Set bar width, height, margin and colours while watching the live preview.

  4. Generate

    Press Generate barcode. For a list, switch to Bulk, paste one value per line and generate them all.

  5. Download

    Download the PNG or SVG, or all bulk files as one ZIP.

What is a barcode generator?

A barcode generator turns a number or text into the bars a scanner reads. This one makes the seven most used linear formats: EAN-13 and EAN-8 for retail products, UPC-A for the US and Canada, ITF-14 for shipping cartons, Code 128 for any text on shipping and inventory labels, Code 39 for older industrial systems and Codabar for libraries and blood banks.

For EAN, UPC and ITF-14 it calculates the GS1 check digit for you, or verifies the one you typed and tells you the correct digit if it's wrong, so you don't print a barcode that won't scan. You set the bar width, height, quiet zone, text size and colours, and see a live preview. Each barcode downloads as a PNG (at 1× to 4× resolution for print) and as an SVG that scales to any size. Bulk mode turns a list of up to 500 values, pasted from Excel or a CSV column, into one file per value in a ZIP.

Limits: this tool draws the barcode; it doesn't issue product numbers. To sell in most retail stores you need GS1-registered numbers from your local GS1 office, and a made-up EAN or UPC can clash with another company's product. QR codes and 2D formats such as Data Matrix are not included.

Why use a barcode generator?

Small sellers, warehouses, libraries and event organisers need print-ready barcodes without installing label software. Check-digit validation catches typos before they reach a printer, SVG output stays sharp at any label size, and bulk mode saves making hundreds of codes one by one.

Barcode generator: frequently asked questions

Something else? Ask the team

How do I calculate an EAN-13 check digit?

Enter the first 12 digits and the tool adds the 13th. It multiplies the digits alternately by 1 and 3 from the left, adds them up, and the check digit is the amount needed to reach the next multiple of 10. If you type all 13 digits, it checks the last one and tells you the correct digit if it's wrong.

Can I use these barcodes to sell products in stores or on Amazon?

The barcodes are standard and scannable, but retailers and Amazon usually require GS1-registered product numbers. Get your numbers from GS1 in your country, then use this tool to draw them.

PNG or SVG: which should I use?

Use SVG for print and label software, since it stays sharp at any size. Use PNG for documents, spreadsheets and websites; choose 3× or 4× resolution if you will print it.

Can I make many barcodes at once?

Yes. Switch to Bulk, paste up to 500 values (one per line, straight from an Excel or CSV column) and generate them in one run. Invalid lines are listed with the reason and skipped, and the rest download as a ZIP.

What is the difference between Code 128 and Code 39?

Code 128 encodes all standard keyboard characters, upper and lower case, and is more compact. Code 39 supports only upper-case letters, digits and a few symbols, and is wider for the same text. Use Code 39 only when an older system requires it.

Why won't my barcode scan?

Common causes are low contrast (use dark bars on white), too small a margin around the bars, bars printed too thin, or a wrong check digit. The tool warns about contrast and check digits; for print, keep a bar width of at least 2 px at 3× resolution.

Does it work on a phone?

Yes. The generator, preview and downloads work in mobile browsers on iPhone and Android.

Is it free?

The live preview is always free. Generating the files uses a run: one run per day is free, then each run costs 5 credits with a free AI Rank Lab account. A bulk run of up to 500 barcodes counts as one run.

Want to win more AI citations?

Barcode Generator (EAN, UPC, Code 128) is one piece of the puzzle. See how ChatGPT, Gemini, Perplexity, and Google AI Overviews actually view your brand, and get a prioritised list of fixes, with a free AEO & GEO audit from AI Rank Lab.

One check is a start. The audit checks the whole site.

Run a free AEO & GEO audit or View pricing.

  • Scores SEO, answer-engine (AEO) and generative-engine (GEO) readiness
  • Lists the fixes, page by page
  • Then track whether ChatGPT, Gemini, Perplexity and Google AI Overviews cite you
fieldnote.app4,571 credits

Site audit

fieldnote.app · SEO, AEO and GEO

Illustrative data
SEO
82
+6
AEO
64
+11
GEO
58
+9
Pages
48
Fixesby impact
  • /pricing · Missing H1High
  • /blog/guide · No FAQ schemaMedium
  • /llms.txt · Not foundMedium
  • /about · Meta description too longLow

See where your whole site stands

Paste your site. The free audit scores it for SEO, answer engines and generative engines, with the fixes.