To make a barcode, open the Barcode Generator, choose a format, type your number or text and download the image as PNG or SVG. Code 128 works for almost any text, while EAN-13, EAN-8 and UPC-A are for retail product numbers with a fixed number of digits.
How do I generate a barcode?
- Choose the format from the Format menu.
- Enter your number or text. The default example is TASKVEL-2026.
- Adjust the look: bar width, height, quiet margin, bar colour and background, and whether to show the number below with its text size.
- Download as PNG, or SVG for sharp printing at any size.
A live preview updates as you change the settings, so you can check it before saving.
Which format should I choose?
- Code 128: any text or number. A good choice for shelf labels, asset tags and inventory codes.
- EAN-13: retail products. Enter 12 digits and the check digit is added automatically.
- UPC-A: US-style product codes. Enter 11 digits.
- EAN-8: small packs. Enter 7 digits.
- Code 39 and ITF-14: older industrial uses and cartons.
If you are unsure, use Code 128.
Do I need official numbers for products?
A retail barcode is only a way of drawing a number. For products sold in shops or marketplaces, the numbers are normally issued by the GS1 standards body, so inventing digits for an EAN-13 can clash with real products. For internal use, such as your own shelves or stockroom, Code 128 with your own codes is fine.
Check your marketplace's current rules before printing labels.
Tips for barcodes that scan
- Keep dark bars on a light background.
- Leave a clear quiet margin on both sides.
- Do not stretch the image; resize it proportionally.
- Print at a decent size and test with a real scanner or phone before printing hundreds.
For a 2D code that holds links or UPI details, use the QR Code Generator instead.
Common mistakes
The usual errors are entering the wrong number of digits for an EAN or UPC, using very thin bars on cheap paper, and shrinking a PNG until bars blur. Download the SVG for large or high-quality printing. If you are making price labels or bills too, see the Invoice Generator.
Ready to try it? Open the Barcode Generator tool and it takes a minute.
Frequently asked questions
Which barcode format should I choose?
Code 128 works for any text or number. EAN-13 and UPC-A are for retail products and need exactly 12 to 13 or 11 to 12 digits.
Can I download as SVG?
Yes. You can download PNG or vector SVG.
Can I change the colours?
Yes. You can set the bar colour and background, but keep strong contrast so scanners can read it.
Is it free?
Yes, with no sign-up.
Keep reading
- Barcode Generator (free online tool)
- Barcode Types Explained: Code 128, EAN-13 and UPC
- Free QR Code Generator: Links, UPI, Wi-Fi, Email & More
- Browse all free Taskvel tools
Explore Taskvel
- Taskvel: task, team & compliance managementSee everything Taskvel includes, from Free to Enterprise.
- Premium plans & pricingPlans from ₹49/month with a 30-day free trial.
- All free Taskvel ToolsImage, PDF, GST, EMI, QR and SEO tools. Free, private, no sign-up.



