Why Use This Free Online Barcode Generator?
All Common Barcode Formats in One Place
Instead of searching for a different tool for each format, you can use one barcode generator tool for Code 128, EAN-13, UPC-A, EAN-8, Code 39, ITF-14 and more. Switch the type, keep your value and compare the result.
Bulk Barcode Generator
Most free tools make one barcode at a time. As a barcode generator for whole lists, this tool lets you generate barcodes in bulk: enter values one per line, import a CSV file, or generate a numbered sequence with a prefix, suffix, start number and step. You can then download every barcode in one ZIP file.
Check Digits Calculated for You
EAN and UPC barcodes end with a check digit. The generator calculates it automatically, so you do not have to work it out by hand.
Download in PNG, JPG, SVG or PDF
Use PNG or JPG for websites and documents, SVG for sharp printing at any size, and PDF when you want to print. You can also copy the barcode as an image or copy the SVG code.
Print-Ready Labels
Open the label print layout to arrange barcodes on A4 or US Letter label sheets, or print them on a thermal or roll printer.
Works on Desktop and as a Mobile Barcode Generator
This barcode generator web tool runs in your browser, so you can use it as a barcode generator online free of charge and as a mobile barcode generator on a phone or tablet. There is nothing to install.
Barcode Maker, Barcode Creator, Barcode Generation: Are They the Same?
Yes. People search for a barcode creator, barcode maker, free bar code maker or even "gen barcode", and they all mean the same thing: a tool that turns a number or text into a barcode image. The process is called barcode generation. Some people write it as two words, so you may also search for a bar code generator, a free bar code generator or a bar code generator free of charge. It is the same tool.
This is a generic barcode generator that works with any value you enter. It is also a custom barcode generator because you can choose the format, size, colors and the text under the barcode.
How to Generate a Barcode
Learning how to generate barcode images takes about a minute. To generate a barcode online, or to make a barcode for the first time, follow these five steps.
Step 1: Choose the Barcode Type
Select the format you need. If you are not sure which one to pick, see the guide below. For general use, Code 128 is a safe choice.
Step 2: Enter Your Number or Text
Type the value you want to encode. The preview shows the barcode as you type. For EAN and UPC formats, use digits only.
Step 3: Adjust the Settings
Change the bar width, height and margin, pick the bar and background colors, and choose whether to show the text under the barcode. Dark bars on a white background scan best.
Step 4: Download, Copy or Print
Choose PNG, JPG, SVG or PDF, pick a size and click Download. You can also copy the barcode to paste it into another document.
Step 5: Test Before You Print
Scan the barcode with a phone camera or a barcode scanner. Check that it reads the correct number. See our Barcode Scanner tool.
Barcode Generator From Number
Most people search for a barcode generator from number because they already have the digits and want the barcode image. That is exactly how this tool works. Type or paste the numbers and the generator turns them into a barcode.
Barcode Generator With Numbers: One at a Time
Use this when you need a single barcode, such as a product label, a shelf tag or an asset sticker.
Barcode Numbers Generator: Many at Once
Use the list, CSV and sequence options when you need many barcodes. For example, set the prefix to ITEM-, start at 1, use 4 digits and a quantity of 100 to get ITEM-0001 to ITEM-0100. This works as a barcode number generator for inventory and asset tags.
Number to Barcode Generator for Spreadsheets
Paste two columns from your spreadsheet: the value and the text you want printed under the barcode. This number-to-barcode generator then creates each one with its caption.
Barcode Types Supported
This barcode code generator supports the formats below. Pick one in the tool and your value is encoded in that format.
| Format | What It Encodes | Typical Use |
|---|---|---|
| Code 128 | All ASCII characters, very compact | Shipping, logistics and inventory |
| EAN-13 | 13 digits | Retail products worldwide |
| UPC-A | 12 digits | Retail products in the US and Canada |
| EAN-8 | 8 digits | Small retail packages |
| Code 39 | Uppercase letters, digits and a few symbols | Industrial, asset and ID labels |
| ITF-14 | 14 digits | Cartons and cases |
| ISBN-13 | 13-digit book number | Books |
| UPC-E | Shortened UPC | Small packages |
| EAN-5 / EAN-2 | Add-on digits | Book prices and magazine issues |
| Codabar | Digits and a few symbols | Libraries, blood banks and older labels |
| MSI Plessey | Digits | Warehouse and shelf labels |
| Pharmacode | A number | Pharmaceutical packaging |
| Interleaved 2 of 5 | Digits in pairs | Industrial and distribution |
Which Barcode Type Should You Use?
- Selling products in stores: EAN-13 worldwide or UPC-A in the US and Canada.
- Inventory, shipping and general labels: Code 128. It handles letters and numbers in a small space.
- Simple internal or industrial labels: Code 39.
- Cartons and cases of products: ITF-14.
- Books: ISBN-13.
If you only need to track items inside your own business, any format works as long as your scanner supports it. Code 128 is the usual choice.
How the EAN-13 and UPC Check Digit Works
The last digit of an EAN-13 or UPC-A barcode is a check digit. It lets scanners catch typing errors. Here is how to work it out for the EAN-13 number 400638133393, which contains the 12 digits before the check digit.
- Add the digits in odd positions (1st, 3rd, 5th and so on): 4 + 0 + 3 + 1 + 3 + 9 = 20.
- Add the digits in even positions (2nd, 4th, 6th and so on): 0 + 6 + 8 + 3 + 3 + 3 = 23, then multiply by 3 = 69.
- Add the two results: 20 + 69 = 89.
- The check digit is the number that brings the total up to the next multiple of 10: 90 − 89 = 1.
The full barcode number is 4006381333931. You do not need to do this by hand because the generator calculates it for you.
Barcode Generator for Retail Products
You can use this free barcode generator for retail products to create the barcode image. There is one important point to understand before you sell in stores or online marketplaces.
A Barcode Image Is Not a Registered Product Number
A UPC generator barcode tool turns a number into a picture. It does not give you the right to use that number. Retailers and many online marketplaces expect your product numbers (GTINs) to be issued by GS1, the organisation that manages them. They may be checked against the GS1 database.
A Unique Barcode Generator for Your Own Use
If you only need a unique barcode generator for your own stock, assets or events, you do not need GS1. Make up your own numbering system, such as a prefix plus a sequence, and use Code 128. Do not use those numbers as retail product codes.
What to Do for Retail Sales
Get your numbers from GS1 or the authorised GS1 member in your country, then enter them here and download the barcode. Check the product category rules of the store or marketplace you sell on.
Print Barcode Labels
Open the Label Print Layout to place barcodes on a sheet. You can choose A4 or US Letter label sheets, plain paper, a custom size or a thermal roll printer.
Before you print a full sheet:
- Print one test page on plain paper.
- Scan a few barcodes from the test print.
- Turn off "fit to page" or scaling in the print dialog because resizing can change the barcode.
- Print at the highest quality your printer allows.
Tips for a Scannable Barcode
A barcode that does not scan is useless. Use these tips with this scannable barcode generator to create scannable barcode images reliably.
- Keep high contrast. Black bars on a white background are the safest. Avoid red bars and light bars on a dark background.
- Leave a quiet zone. Keep a blank margin on both sides of the barcode. Required margins depend on the barcode format.
- Do not stretch or squash it. If you resize it, keep the proportions. EAN and UPC barcodes should follow the specifications for the selected format.
- Use enough height. Short, flat barcodes are harder to scan. Keep the height generous.
- Print on a flat, matte surface. Glossy or curved surfaces can cause glare.
- Test with the scanner you will really use. A phone camera, handheld scanner and point-of-sale scanner can behave differently.
Barcode vs QR Code
A barcode is a 1D code. It holds a short number or text and is read by a scanner. A QR code is a 2D code and can hold links, text, Wi-Fi details and more. Phones can read it with a camera.
Use a barcode for products, inventory and shipping. Use a QR code when you want people to open a link or see information. Try the QR Code Generator.
Who Uses a Barcode Creator?
- Shops and online sellers: Price and product labels.
- Warehouses: Bin, pallet and shelf labels.
- Libraries and schools: Book and equipment tracking.
- Offices: Asset tags for laptops, monitors and furniture.
- Events: Tickets and badges with unique numbers.
- Small businesses: Order and invoice numbers on paperwork. Try the Invoice Generator.
- Makers and crafters: Product labels for handmade goods.
Barcode Examples
Here are sample values you can paste into the generator to see how each format looks.
| Format | Sample Value |
|---|---|
| EAN-13 | 4006381333931 |
| UPC-A | 036000291452 |
| EAN-8 | 96385074 |
| ISBN-13 | 9780306406157 |
| Code 128 | ITEM-0001 |
| Code 39 | ASSET123 |
| ITF-14 | 10012345678902 |
Frequently Asked Questions
1. Is this barcode generator free?
Yes. This is a free online barcode generator. You can create barcodes at no cost, and no sign-up is needed. You can download them as PNG, JPG, SVG or PDF.
2. How do I generate a barcode online?
Choose a barcode type, enter your number or text, adjust the size and colors if you like, and click Download. The preview shows the barcode as you type.
3. Can I create a barcode from a number?
Yes. Type or paste your digits and the generator turns them into a barcode. For EAN and UPC formats, the check digit is calculated for you.
4. Which barcode type should I choose?
Use Code 128 for inventory, shipping and general labels. Use EAN-13 or UPC-A for retail products, and ITF-14 for cartons. Use Code 39 for simple industrial labels.
5. Can I use these barcodes to sell products in stores or on Amazon?
The barcode image encodes a number, but stores and many marketplaces expect product numbers to be issued by GS1. Do not make up numbers for retail products. Get your numbers from GS1, then use this tool to create the barcode image.
6. Can I generate many barcodes at once?
If bulk generation is available in the tool, enter one value per line, import a CSV file or create a numbered sequence with a prefix, suffix, start number and step. You can then download the generated barcodes in a ZIP file.
7. Which file format should I download?
Use PNG or JPG for documents and websites, SVG for sharp printing at any size, and PDF for printing. A larger image may be useful for print, depending on the required label size.
8. Why is my barcode not scanning?
Common causes include low contrast, a barcode that is too small or stretched, missing blank margins, or a scanner that does not support the format. Use dark bars on white, keep the proportions, leave margins and test before printing.
9. What is a check digit?
A check digit is the last digit of formats such as EAN-13 and UPC-A. It is calculated from the other digits so scanners can detect certain errors. The generator can calculate it for you.
10. Can I print barcode labels?
Yes, if the tool's label print layout supports your required format. Arrange barcodes on A4 or US Letter label sheets, or use a compatible thermal or roll printer. Print a test page first.
Related Tools
Explore these free tools on FreeGenLab:
Create Your Barcode Now
Whether you want a free online barcode generator for one label or for a hundred, open the tool, pick your format, enter your number and download your barcode. If you need many barcodes, use the list, CSV or sequence options if supported by the tool.