❯
Barcode Generator
Barcode Generator

Barcode Generator

Make free barcodes for products, labels and shipping.

Choose a barcode type (Code 128, EAN-13, UPC-A, EAN-8, Code 39 or ITF-14), type your number or text, and your barcode appears instantly. Check digits are added for you. Set the bar size and height, show or hide the text, pick colours, then download it as PNG, SVG or JPG. Everything is made in your browser, so nothing you type is uploaded. Free, with no sign-up and no watermark.

100% Free

No Hidden Fees Ever

6 Barcode Types

EAN, UPC & Code 128

Private & Secure

Nothing Is Uploaded

PNG, SVG & JPG

Print-Ready Files

Barcode content · Code 128

Letters, numbers and symbols. Best for labels, inventory and shipping.

Your barcode appears here

Pick a type and type your value above.

No content yet
Settings
Size

Width of the thinnest bar in the PNG or JPG. SVG is a vector and scales to any size.

Bar height
60 × bar width

Taller bars are easier to scan by hand. Retail barcodes are usually around 70.

Text

Scanners need blank space on both sides. Keep the quiet zone on unless you add it in your design.

Colours

Black bars on white scan best. Avoid red bars: most scanners use red light and can't see them.

Save as

PNG for documents and labels, SVG for print and packaging design, JPG for smaller files.

Private by design: your barcode is made in your browser and nothing you type is stored. Protected by Cloudflare Turnstile.

Why Use a Free Barcode Generator?

To make a barcode online, choose the barcode type, enter your number or text, and the barcode appears straight away. For EAN-13, UPC-A, EAN-8 and ITF-14 the check digit is calculated for you. Adjust the bar size, height, text and colours, then download it as PNG, SVG or JPG. Teasoft's Barcode Generator works in your browser, so your data is never uploaded.

A barcode turns a number or short text into bars that a scanner can read in a fraction of a second, with no typing mistakes. Shops use EAN and UPC barcodes on products, warehouses use Code 128 and ITF-14 on labels and cartons, and offices use Code 39 and Code 128 for ID cards and asset tags. Many barcode tools add watermarks or limit downloads. This one makes clean, standard barcodes you can use on labels, packaging and documents.

Common reasons to make a barcode:

What each setting does:

SettingWhat it doesWhen to use it
Barcode typeChooses the barcode standard: Code 128, EAN-13, UPC-A, EAN-8, Code 39 or ITF-14.Always. Use the type your shop, marketplace or scanner expects.
SizeSets the width of the thinnest bar in PNG and JPG files: 2, 3, 4 or 8 px.4 px for most labels. 8 px or SVG for print and packaging.
Bar heightSets how tall the bars are, from 20 to 150 times the bar width.Around 60–70 for products. Taller for scanning by hand.
TextShows or hides the number or text under the bars.Keep it on so people can type the code if a scan fails.
Quiet zoneAdds the blank margin scanners need on both sides.Keep it on, unless your design already leaves space.
ColoursSets the bar and background colours, or a transparent background.Dark bars on a light background. Avoid red bars.
Save asPNG, SVG (vector) or JPG.PNG for labels and documents, SVG for print, JPG for smaller files.

Good to know

What You Can Do With This Tool

Which Barcode Type Should I Use?

Use EAN-13 or UPC-A for products sold in shops, ITF-14 for outer cartons, and Code 128 for almost everything else, such as labels, inventory and shipping. Code 39 suits older scanners and ID cards.

Code 128: Text and numbers for labels, inventory and shipping.
EAN-13: 13-digit retail barcode used worldwide.
UPC-A: 12-digit retail barcode for the US and Canada.
EAN-8: 8-digit barcode for small packages.
Code 39: Uppercase letters and numbers for IDs and asset tags.
ITF-14: 14-digit barcode for shipping cartons and cases.

How to Make a Barcode (4 Steps)

Choose the type

Pick the barcode type: Code 128, EAN-13, UPC-A, EAN-8, Code 39 or ITF-14. Use the type your shop, marketplace or scanner asks for.

Enter your value

Type or paste your number or text. For EAN, UPC and ITF-14, leave out the last digit and the check digit is added for you.

Adjust the settings

Choose the bar size and height, show or hide the text, keep the quiet zone on, and pick the colours. The preview updates as you go.

Download and test

Choose PNG, SVG or JPG and click Download barcode, or copy the image. Scan a printed sample before you print in bulk.

Tip: for products sold in shops, use the EAN or UPC number assigned to you by GS1. A made-up number can scan fine but may be rejected by retailers and marketplaces.

Which Settings Should I Use?

Which barcode type should I choose?

TypeWhat it holdsUsed for
Code 128Letters, numbers and symbols, any lengthShipping labels, inventory, warehouses, general use
EAN-1312 digits + check digitRetail products worldwide, including India
UPC-A11 digits + check digitRetail products in the US and Canada
EAN-87 digits + check digitSmall retail packages with little space
Code 39A–Z, 0–9, space and – . $ / + %ID cards, asset tags, older industrial systems
ITF-1413 digits + check digitOuter cartons and cases (GTIN-14)

Which size should I download?

SizeUse it for
Small (2 px)Screens, emails and small web images.
Standard (3 px)Documents and office labels.
Large (4 px, default)Most label printers and product sheets.
Print (8 px)High-resolution printing and large labels.
SVGPackaging design and professional print. Scales to any size without blurring.

How big should a printed barcode be?

BarcodeTypical printed size
EAN-13 / UPC-AAbout 37 × 26 mm at standard size. Can usually be printed from 80% to 200% of that.
EAN-8About 27 × 21 mm at standard size.
ITF-14Larger, often 10–15 cm wide on cartons.
Code 128 / Code 39Depends on length. Keep the thinnest bar at least about 0.25 mm wide.

Always check your retailer’s or printer’s requirements, and don’t squash a barcode to fit: change the overall size instead.

Which format should I save as?

FormatChoose it when
PNGYou need a sharp image for labels, documents or screens. Supports a transparent background.
SVGYou are sending it to a printer or using design software. It is a vector, so it never gets blurry.
JPGYou need a small file. No transparency.

Tips for a barcode that scans every time

Selling in shops? Get your numbers from GS1.

Retailers and most online marketplaces only accept EAN and UPC numbers that are registered to your company with GS1 (in India, GS1 India). Once you have your numbers, use this tool to draw the barcodes for your packaging. For internal use, such as stock labels or asset tags, you can use any number or text with Code 128 or Code 39.

Frequently Asked Questions

Open Teasoft's Barcode Generator, choose a type such as Code 128 or EAN-13, enter your number or text, and the barcode appears instantly. Adjust the size and height if you like, then click Download barcode. It is free, with no sign-up.

Use EAN-13 (or UPC-A in the US and Canada) for products sold in shops, ITF-14 for outer cartons, and Code 128 for labels, inventory and shipping. Code 39 suits ID cards and older scanners.

Yes. Choose EAN-13 and enter the 12-digit number from your GS1 registration; the check digit is added for you. To sell in shops or on most marketplaces, the number itself must come from GS1.

Retail barcode numbers (EAN and UPC) are issued by GS1. In India, apply through GS1 India. For internal labels such as stock or asset tags, you can use your own numbers with Code 128 or Code 39.

It is the last digit of an EAN, UPC or ITF-14 number, calculated from the other digits so scanners can catch reading errors. Enter the number without it and the tool calculates it; enter the full number and the tool checks it.

Both are retail product barcodes. 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 can be read as an EAN-13 with a leading zero.

Code 128 in this tool encodes letters, numbers, spaces and standard keyboard symbols. It switches to a compact mode for long runs of digits, so number-only codes stay short.

Code 39 encodes uppercase A–Z, digits 0–9, space and the symbols - . $ / + %. Lowercase letters are changed to uppercase. It is wider than Code 128 for the same text.

ITF-14 marks outer cartons and cases in the supply chain. It holds a 14-digit GTIN and prints well on corrugated cardboard.

For EAN-13 and UPC-A, the standard size is about 37 × 26 mm, and it can usually be printed from 80% to 200% of that. For other types, keep the thinnest bar at least about 0.25 mm wide and leave the quiet zone clear.

PNG for labels, documents and screens; SVG for packaging design and professional printing because it scales without blurring; JPG when you need a small file without transparency.

Yes. Pick any bar and background colour, or a transparent background. Keep bars dark on a light background, and avoid red, orange or yellow bars, which many scanners can't see.

Common causes are low contrast, coloured bars, a missing quiet zone, printing too small, a stretched or squashed image, or a wrong check digit. Reset to the defaults, print a test and try again.

Yes. Untick Show the number or text under the bars. For retail barcodes it is best to keep the numbers so they can be typed in if a scan fails.

No. The barcode is made in your browser. Nothing you type is sent to or stored on a server.

Yes. You can use the barcodes on products, labels, packaging and documents, with no watermark and no attribution needed. For retail products, use numbers registered to you with GS1.

Yes. It is free, with no sign-up, no watermark and no download limits.

About Teasoft's Barcode Generator

Teasoft's Barcode Generator is a free browser-based tool for making Code 128, EAN-13, UPC-A, EAN-8, Code 39 and ITF-14 barcodes. Check digits are added automatically, and you can set the bar size, height, text, quiet zone and colours, then download the barcode as PNG, SVG or JPG.

It is made for small businesses, online sellers, shops, warehouses, schools and offices that need barcodes for products, stock, shipping, ID cards or asset tags. For more, browse Teasoft's free online tools or try the QR Code Generator.

Everything runs locally in your browser. Your data is not sent to a server. Retail barcode numbers are managed by GS1, the global standards body for barcodes, so use your GS1 numbers for products sold in shops. Always test-scan a printed sample before you print in bulk.

Barcode Types Explained

Code 128 Barcode

A compact, high-density barcode for letters, numbers and symbols. Widely used on shipping labels, in warehouses and for inventory.

EAN-13 Barcode

The 13-digit retail barcode used on products in India and most countries. The number is issued by GS1 and ends with a check digit.

UPC-A Barcode

The 12-digit retail barcode used mainly in the US and Canada. Scanners worldwide also read it as an EAN-13 with a leading zero.

EAN-8 Barcode

A short 8-digit retail barcode for small packages where an EAN-13 won't fit, such as cosmetics and confectionery.

Code 39 Barcode

An older, easy-to-read barcode for uppercase letters, digits and a few symbols. Common on ID cards, asset tags and in industry.

ITF-14 Barcode

A 14-digit barcode for outer cartons and cases. It carries a GTIN-14 and prints well on corrugated cardboard.