Barcode Generator.
Type a product code, SKU or number, choose Code 128, EAN-13, UPC-A or EAN-8, and this tool draws the barcode instantly, calculates the check digit for you and lets you download it as a PNG or a scalable SVG. Everything happens in your browser.
Print barcodes at 100 percent scale on a laser or thermal printer and test-scan before a full run. Retail EAN and UPC numbers must be licensed from GS1; this tool draws the bars, it does not issue numbers.
Barcode Generator is a free online tool from Neweb (neweb.ai) for small businesses, with no sign-up. Type a product code, SKU or number, choose Code 128, EAN-13, UPC-A or EAN-8, and this tool draws the barcode instantly, calculates the check digit for you and lets you download it as a PNG or a scalable SVG. Everything happens in your browser.
| Cost | Free, no account, no sign-up |
|---|---|
| Built for | Boutiques and other small businesses |
| Made by | Neweb, the AI website builder and online presence manager (free plan; paid plans from $9/month billed yearly) |
Facts checked October 2026.
What you'll get.
A real example of what this tool produces. Run it above with your own inputs.
A barcode is a number or short piece of text drawn as bars so a scanner can read it faster and more accurately than a person can type it. Small businesses use them for two different jobs. Inside the business, barcodes on shelf labels, stock bins, invoices, assets and membership cards speed up stocktakes and lookups. Outside it, retail barcodes on packaging let shops and marketplaces scan your product at the till.
This generator handles both. Code 128 encodes letters, digits and punctuation and is the usual choice for internal SKUs, order numbers and labels. EAN-13, UPC-A and EAN-8 are the retail formats; enter the number and the tool validates it and adds the check digit if you leave it off. Adjust the bar height and width, show or hide the human-readable number, and download a PNG for documents or an SVG that stays sharp at any print size.
The tool is free, needs no sign-up and runs in your browser. It comes from Neweb, the AI website builder for small businesses, which has a free plan and paid plans from $9/month billed yearly ($19 month-to-month). If the products you are labelling also need an online home, Neweb builds the website; for a full online store with a cart you would pair it with a dedicated ecommerce platform.
How to use the barcode generator
Choose the barcode type: Code 128 for your own codes, EAN-13 or UPC-A for retail products, EAN-8 for very small packs.
Type the text or number. For retail formats you can leave off the last digit and the check digit is calculated.
Set the bar height and bar width and decide whether to show the number under the bars.
Click Generate barcode. The line under the buttons confirms the format and check digit.
Download PNG for Word, labels and invoices, or Download SVG for packaging artwork, then test-scan a printed copy.
Why this matters for your business
Scanning beats typing. Keying in codes by hand is slow and error-prone. A barcode on every shelf label or job sheet makes stock counts and lookups a one-second scan with a cheap USB scanner or a phone app.
Retailers require them. Supermarkets, pharmacies and most online marketplaces will not list a product without a valid EAN or UPC on the pack.
When to use each barcode type
Use Code 128 whenever the code is yours: SKUs, invoice and order numbers, asset tags, library or membership IDs. Use EAN-13 for retail products sold outside North America and UPC-A for the United States and Canada, with a number licensed from GS1. Use EAN-8 only when GS1 has issued you one for a small pack. To send a customer to a web page or a payment, a barcode is the wrong tool; use the QR code generator instead.
Tips for better results
- Leave the white margin on both sides of the bars intact when you place the image; scanners need that quiet zone.
- Print in black on a white or pale background. Red bars and dark backgrounds do not scan.
- Do not stretch the image sideways. Scale it evenly, and avoid printing retail codes below about 80 percent of their nominal size.
- Use SVG for packaging and anything a printer will resize; use PNG for office documents and label software.
- Scan a printed sample with the kind of scanner your customer or warehouse uses before you print in bulk.
Example
A real-world walkthrough
A boutique in Jaipur labels its stock with its own SKUs and also sells one packaged product through a marketplace. For the shelf labels, the owner selects Code 128 and types the SKU "KRT-BLU-M-014". The tool draws the barcode and she downloads the PNG into her label template.
For the packaged product, GS1 India has assigned a number beginning 890. She selects EAN-13 and types the first twelve digits, 890123456789. The tool reports "EAN-13 8901234567890. Check digit: 0." and draws the bars with the full number underneath. She downloads the SVG and sends it to the packaging designer.
Frequently asked questions
Which barcode type should I use?
For your own internal codes, use Code 128: it handles letters and numbers and is read by practically every scanner. For products sold in shops, use EAN-13 (most of the world) or UPC-A (United States and Canada) with a number assigned to you by GS1. EAN-8 is a short form for very small packaging and is issued by GS1 on request.
Can I make up my own EAN or UPC number?
You can draw any valid number, but you should not put an invented one on a product for retail. EAN and UPC numbers are licensed through GS1 so that each product in the world has a unique number tied to its brand owner; retailers and marketplaces check them against the GS1 database. For internal use, where the code never leaves your business, use Code 128 with whatever numbering you like.
How is the check digit calculated?
For EAN-13, the first twelve digits are weighted alternately by 1 and 3 from the left, the results are added, and the check digit is whatever brings the total up to the next multiple of ten. For 890123456789 the weighted sum is 130, so the check digit is 0. UPC-A and EAN-8 use the same method with the weights starting on 3. The tool calculates it for you and tells you if a digit you typed is wrong.
Should I download PNG or SVG?
SVG is a vector format: it stays perfectly sharp at any size and is what packaging designers and print shops prefer. PNG is an image with fixed pixels, exported here at three times the on-screen size, and is easier to drop into Word, Excel, Google Docs and label printing software.
Will these barcodes scan?
The encodings follow the published Code 128 and EAN/UPC symbol tables, and the output includes the required quiet zones. Whether a printed code scans also depends on print quality, size, colour contrast and the surface. Always test a printed sample with a real scanner before a production run.
Is there a limit or a cost?
No. Generate as many barcodes as you need, free, with no account. The barcode is drawn in your browser and your data is not sent anywhere.
Your entire online presence, on one subscription.
Boutiques and more. AI website builder, free domain, managed hosting and AI SEO, free to start and from $9/month billed yearly.