Type a tool name, for example "keyword density" or "transcript".
Generate CODE128, EAN-13, UPC-A, and more. Download as PNG or SVG.
This free barcode generator creates scannable barcodes in eight formats, including CODE128, EAN-13, UPC-A, CODE39, EAN-8, ITF-14, MSI and Pharmacode. Enter a value, adjust bar width, height and colors, then download the result as a PNG or SVG for product labels, inventory tags, shipping sheets or documents.
A barcode is a pattern of bars and spaces that represents a short string of numbers or characters in a form a scanner can read. The scanner sweeps light across the pattern, measures which parts reflect it and which absorb it, and converts the bar widths back into characters.
The code is only an identifier. A grocery barcode does not contain the price. The checkout system reads the number, looks it up in its own database, and returns the product and price. That is why one number should always point to one item.
Many formats end with a check digit, a final digit calculated from the others so a scanner can catch misreads. EAN-13, EAN-8, UPC-A and ITF-14 all use one, and this barcode maker adds it for you.
Pick the format based on where the barcode will be scanned, not on how it looks. Retail checkouts expect EAN or UPC, warehouses often use CODE128 or ITF-14, and internal labels can use almost any format.
| Format | What you enter | Typical use |
|---|---|---|
| CODE128 | Any ASCII text, 1 to 80 characters | Shipping, assets, general labels |
| CODE39 | Letters, digits, space and - . / + % $ *, up to 43 | Industrial parts, ID badges |
| EAN-13 | 12 digits | Retail outside North America |
| EAN-8 | 7 digits | Very small retail packages |
| UPC-A | 11 digits | Retail in the US and Canada |
| ITF-14 | 13 digits | Cartons and pallets |
| MSI | Digits only, 1 to 30 | Inventory and shelf labels |
| Pharmacode | A number from 3 to 131070 | Pharmaceutical packaging |
CODE128 is a compact format that can encode the full ASCII character set, which means letters, digits and punctuation in one barcode. That flexibility is why it is the default choice here and the safest pick when you are not bound by a retail standard.
You can go from a blank form to a downloadable barcode in under a minute.
For EAN-13 you enter 12 digits and the tool appends the 13th. Say you enter 590123412345.
The barcode therefore encodes 5901234123457, and that full 13-digit number appears beneath the bars. The same method works for UPC-A: enter 11 digits such as 03600029145 and the tool completes it with the check digit 2, giving 036000291452.
Notice that you never type the check digit yourself. If you enter 13 digits into an EAN-13 field, the tool will reject the value because it expects exactly 12.
A good result is a clean preview with dark bars on a light background and the correct number printed below. If the tool shows an error message instead, the value does not match the rules of the chosen format.
A wider bar setting makes each bar thicker, so the barcode becomes wider and easier for cheap scanners to read. Heights around 80 to 120 px suit most labels. Keep strong contrast: dark bars on a light background scan best, while light bars on a dark background or two similar colors often fail.
Anyone who needs a scannable code without buying label software can use it. Common situations include:
CODE128 holds up to 80 characters, so short links fit well. If a web address is too long, shorten it first with the bulk URL shortener and encode the result.
Most scanning problems come from a few avoidable errors, so test before you print in bulk.
Check digits are a separate idea from payment card checks, but if you are curious how another check-digit scheme works, the credit card validator demonstrates the Luhn method.
The tool creates one barcode at a time, so a large batch means repeating the steps for each value. It produces standard one-dimensional barcodes only, so it does not make QR codes.
A correctly formatted EAN-13 or UPC-A is not the same as an official product number. To sell through major retailers, you normally need a company prefix from GS1, and the tool cannot register numbers for you. For internal tracking, you can use CODE128 with your own numbering.
Barcodes shown inside payment or wallet apps, such as the codes used to add cash at a store, are created for your account by that app. A barcode made here will not work for those purposes.
The generator also does not look up products, so it will not tell you what an existing barcode belongs to.
Choose your format, enter your value and press Generate Barcode on this page. Within seconds you will have a PNG or SVG ready to print or drop into your document. For more helpers like this, browse the online calculators and utilities collection.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market