Skip to content
JustTools

Barcode Generator

Create scannable barcodes for products, inventory, shipping cartons and labels. Check digits are added for you, sizes are exact in millimetres, and you can download PNG or SVG or print a whole batch — free, with no sign-up.

Runs in your browser Free · no sign-up

At a glance

  • Creates 11 barcode types: Code 128, EAN-13, EAN-8, UPC-A, UPC-E, Code 39, ITF-14, Codabar, GS1-128, Data Matrix and PDF417.
  • The GS1 check digit for EAN-13, EAN-8, UPC-A, UPC-E and ITF-14 is calculated automatically; a check digit you type is verified.
  • Sizes are real-world: set the narrowest bar (X-dimension) and the bar height in millimetres, and the SVG and printout keep that exact size.
  • Downloads SVG (vector, sized in mm) or PNG at 150, 300 or 600 DPI with the resolution written into the file, or copies the image to the clipboard.
  • Batch mode turns up to 200 values — pasted from Excel or Google Sheets — into barcodes, downloaded as a ZIP or printed on one sheet.
  • Barcodes are drawn with Barcode Writer in Pure PostScript (bwip-js), a widely used open-source barcode engine.
  • Runs entirely in your browser: nothing you enter is uploaded.

Step by step

How to create a barcode

  1. 1

    Choose the barcode type

    Pick EAN-13 or UPC-A for retail products, Code 128 for labels and inventory, ITF-14 for cartons, or a 2D code such as Data Matrix.

  2. 2

    Enter your data

    Type the number or text. For EAN and UPC codes, leave out the check digit and it is added for you. For many barcodes, switch to Many (batch) and paste one value per line.

  3. 3

    Set the size and colours

    Adjust the bar width and height in millimetres, and keep dark bars on a light background.

  4. 4

    Download or print

    Download SVG for print and design work or PNG for documents, or print directly at true size. Scan a test print before printing labels in bulk.

Features

Everything you need, nothing you don’t

Check digits done for you

Type 12 digits for an EAN-13 and the 13th is calculated. Type all 13 and a wrong check digit is caught before it reaches a printed label.

Exact print size

Choose the bar width in millimetres (0.33 mm is the retail standard) and the height you need. What you set is what prints.

Batch from a spreadsheet

Paste a column of SKUs, product numbers or serials and get every barcode at once, as a ZIP of PNG or SVG files or a print-ready sheet.

Print-ready files

SVG stays sharp at any size in Illustrator, CorelDRAW, Canva and label software; PNG carries its DPI so Word places it at the right size.

Scanner-safe checks

Warnings appear for low contrast, light-on-dark codes and red bars, which laser scanners cannot see.

Private and unlimited

No account, no watermark and no limit. Product numbers and serials never leave your device.

Which barcode type should I use?

TypeWhat it encodesTypical use
Code 128Letters, digits and symbolsShipping labels, inventory, asset tags, tickets
EAN-1312 digits + check digitRetail products worldwide; books (ISBN, starting 978/979)
EAN-87 digits + check digitSmall retail packs
UPC-A11 digits + check digitRetail products in the US and Canada
UPC-ECompressed 6-digit UPCSmall items sold in the US and Canada
Code 39A–Z, 0–9 and - . $ / + % spaceIndustry, defence and older systems
ITF-1413 digits + check digit (GTIN-14)Outer shipping cartons
CodabarDigits and - $ : / . +Libraries, blood banks, couriers
GS1-128GS1 data such as GTIN, batch and expiryPallet and logistics labels, pharma
Data MatrixAny text, in a small squareSmall parts, electronics, medicines
PDF417Large amounts of textID cards, boarding passes, permits

Getting a real EAN or UPC number for your product

Barcodes on products sold in shops and on most marketplaces must use a number licensed from GS1 — in India, from GS1 India. The number identifies your company and product worldwide, so it can’t simply be made up.

This generator draws any number to the standard, and is ideal once you have your GS1 numbers, or for internal barcodes where you choose the numbering: stock-keeping units, shelf labels, library books, files, assets and event tickets. For those, Code 128 is usually the best choice.

Tips for barcodes that scan first time

  • Print at 100% scale — turn off “Fit to page” — so the bar width stays as you set it.
  • Keep the quiet zone (the blank margin) on both sides; text or edges too close to the bars stop scanners.
  • Use dark bars on a light background. Red, orange and yellow bars are invisible to red-light laser scanners.
  • On a 203 DPI thermal printer each dot is 0.125 mm, so bar widths of 0.25, 0.375 or 0.5 mm print cleanly; on 300 DPI printers use multiples of about 0.085 mm.
  • Don’t shrink retail codes below 80% of standard size (a 0.26 mm bar), and avoid cutting their height.
  • Scan a test print with a phone scanner app or your till scanner before printing hundreds of labels.

FAQ

Frequently asked questions

Is this barcode generator free?

Yes. Every barcode type, the batch mode and all downloads are free, with no watermark, sign-up or limit.

How do I get a barcode for my product?

Register with GS1 (GS1 India in India) to get your company’s product numbers, then enter each number here as an EAN-13 to create the barcode artwork.

Is the check digit added automatically?

Yes, for EAN-13, EAN-8, UPC-A, UPC-E and ITF-14. Enter the number without its last digit and the check digit is calculated; if you enter it yourself, it is verified.

Should I download PNG or SVG?

Use SVG for printing, packaging and design software: it is vector, stays sharp at any size and keeps the exact size in millimetres. Use PNG for Word, spreadsheets and websites; choose 300 or 600 DPI for print.

Can I create many barcodes at once?

Yes. Switch to Many (batch), paste up to 200 values (one per line, for example a column from Excel) and download them as a ZIP of PNG or SVG files, or print them all on one sheet.

What is the difference between a barcode and a QR code?

A barcode stores a short number or code in a row of bars and is read by retail and warehouse scanners. A QR code is 2D, holds much more, and is made for phone cameras — use the QR Code Generator for links, UPI payments and Wi-Fi.

Can I print barcodes on labels?

Yes. Print sends the barcodes at true size, as many copies as you choose. For pre-cut label sheets or thermal label printers, download SVG or PNG and place them with your label software or Word’s labels feature.

Is my data private?

Yes. Barcodes are generated in your browser, so product numbers and serials are never uploaded or stored.

Keep going

Browse every tool

Last updated Report a problem or suggest a feature