Make a barcode from a number or text in seconds. Choose Code 128, EAN-13, UPC-A, EAN-8, Code 39 or ITF, adjust the size, and download the barcode as a PNG or SVG image.
All Free ToolsQR Code GeneratorUTM Link Builder
This tool draws barcodes in your browser. The number you type is not uploaded. It does not register or reserve numbers: for products sold in shops, use numbers issued through GS1.
What Is a Barcode Generator?
A barcode generator turns a number or a short text into a pattern of bars that a scanner can read. You type the value, choose the barcode type, and download the image to print on labels, packages, tickets or shelves. The generator only draws the bars. It does not give you the right to use a number, which matters for products sold in shops.
Barcode Types You Can Make
| Type | What you can enter | Common use |
|---|---|---|
| Code 128 | Letters, numbers and symbols | Inventory, shipping, internal labels |
| EAN-13 | 12 or 13 digits | Retail products in most countries |
| UPC-A | 11 or 12 digits | Retail products, mainly North America |
| EAN-8 | 7 or 8 digits | Small retail packages |
| Code 39 | Capital letters, numbers, a few symbols | Tools, ID cards, industry labels |
| ITF | Digits, even count | Cartons and boxes |
How to Make a Barcode
- Choose the barcode type.
- Type your number or text. The line under the box tells you what the type accepts.
- Adjust bar width, height and margin if you need to, and decide whether to show the number under the bars.
- Press Download PNG for printing or Download SVG for a sharp image you can resize in a design program.
- Scan the barcode with a phone or a scanner to test it before you print many copies.
What Is the Check Digit?
EAN-13, UPC-A and EAN-8 end with a check digit. It is calculated from the other digits and helps a scanner catch reading mistakes. If you enter one digit fewer than the full length, the tool adds the check digit for you. If you enter the full number, the tool checks it, and it tells you when the number is not valid.
Barcodes for Products Sold in Shops
Retail barcodes such as EAN-13 and UPC-A need unique product numbers, which are issued through GS1, the organization that manages them. If you make up a number, it may clash with another product and shops or marketplaces may not accept it. Check the GS1 office in your country for the current rules. For stock on your own shelves, library books, tools or event tickets, you can use your own numbering, and Code 128 is a good choice. Read our guide to the free barcode generator for more detail.
Tips for Printing a Barcode That Scans
- Use black bars on a white background. Strong contrast is the safest.
- Keep the quiet zone: empty space on both sides of the bars. Do not let text or borders touch the barcode.
- Do not stretch the image. Resize it evenly, or use the SVG.
- Do not make it too small. Tiny barcodes fail on cheap printers.
- Print a test copy and scan the paper, not only the screen.
Frequently Asked Questions
Is the barcode generator free?
Yes. It is free and needs no sign-up.
Are my numbers uploaded?
No. The barcode is drawn in your browser. The tool does load its drawing library from a public code library when the page opens.
Can I use these barcodes to sell products in shops?
Only with a valid, unique product number issued through GS1. This tool only draws the bars.
Which type should I choose for inventory?
Code 128 is a common choice because it accepts letters and numbers. Choose the type your scanner and software support.
What is the difference between a barcode and a QR code?
A barcode is a 1D pattern of bars that holds a short value. A QR code is a 2D square that can hold links and text. Use the QR code generator for QR codes.
More Free Tools
Try the QR code generator, learn how a barcode scanner works, find out how to read the barcode of a product, or browse all free online tools.