Free Barcode Generator
Create barcodes for products, inventory, shipping and libraries. Check digits are added for you, the preview updates as you type, and you can download PNG or SVG.
Your barcode
Save it
1. Enter your data
Products sold in stores need numbers issued by GS1. Do not invent numbers for retail goods, because they can clash with real products.
2. Style it
How to make a barcode
- Enter your value. Type or paste the number or text. Spaces and dashes are removed for number-only formats.
- Pick a format. Choose from retail, shipping and inventory, or industrial and library formats. A short rule under the menu tells you what each one accepts.
- Let the tool add the check digit. For EAN-13, EAN-8, UPC-A and ITF-14, leave off the last digit. If you type the full number and it is wrong, the tool shows the right one and fixes it with one tap.
- Style it. Adjust colors, bar width, height, the empty border and the text under the bars. The status message warns you about scan problems before you print.
- Download. Save a PNG or SVG, or copy the image into a document or chat.
Which barcode format should I use?
Tips for a barcode that scans every time
- Use dark bars on a white background. Light bars, inverted colors and red bars fail on many scanners.
- Keep the empty border. Scanners need clear space on both sides of the bars. About 10 bars wide is a safe default.
- Do not shrink it. Print the SVG or a high-quality PNG at full size, and avoid stretching it in a layout tool.
- Use a thicker bar width for rough surfaces. Bar width 3 or more suits labels printed on low-resolution printers.
- Test before you print a batch. Scan one printed sample with the same scanner you will use.
Frequently asked questions
Is this barcode generator free?
Yes. It is free to use, needs no account or sign-up, and adds no watermark to your barcode.
Is my data uploaded to a server?
No. The barcode is drawn by JavaScript running in your own browser, and what you type is not sent to our server. Your browser only downloads the generator script from a public CDN when the page opens.
Which barcode format should I choose?
Use CODE128 for inventory, SKUs, shipping labels and general text. Use EAN-13 or UPC-A for retail products, ITF-14 for outer shipping cartons, and CODE39 for simple industrial or library labels. Check what your scanner, marketplace or warehouse requires before you print.
Do I need to type the check digit?
No. For EAN-13, EAN-8, UPC-A and ITF-14, enter the number without its last digit and the tool adds the correct check digit. If you enter the full number and the last digit is wrong, the tool shows you the correct one.
Can I use these barcodes on products sold in stores?
The barcode image is technically valid, but products sold in stores need a number issued by GS1, the global standards organization. Made-up numbers can clash with real products. For internal use such as inventory, tickets or library items, any valid value works.
Should I download PNG or SVG?
Use PNG for websites, documents and quick sharing, and choose a higher quality setting for print. Use SVG for professional printing, because it stays sharp at any size.
Why does my barcode not scan?
The usual causes are low contrast, light or red bars, an inverted dark background, too little empty space on both sides (the quiet zone), bars that are too thin, or a print that is too small. Use dark bars on a white background, keep a quiet zone of about 10 modules, and print larger.
Your barcodes are generated in your browser. What you type is not sent to our server.