Barcode generator
Make Code 128, EAN-13, UPC and other barcodes as PNG or SVG.
Made on your device · nothing is uploaded
About the Barcode Generator tool
This barcode generator turns a number or text into a barcode you can download as a PNG image or an SVG file. It supports Code 128, EAN-13, EAN-8, UPC-A, ISBN, Code 39, ITF-14, MSI and Codabar. Product numbers are checked as you type, the GS1 check digit is added for you, and everything is drawn on your device. Example: a small shop or warehouse can print Code 128 stock labels such as TP-2026-0042, while packaged products sold in Indian retail use EAN-13 numbers from GS1 India.
At a glance
- Formats
- Code 128, EAN-13, EAN-8, UPC-A, ISBN, Code 39, ITF-14, MSI, Codabar
- Check digits
- GS1 mod-10 added or verified for EAN, UPC and ITF-14; ISBN checked too
- Output
- SVG, or PNG at 2× (screen), 4× (print) or 8× (large print)
- Method
- Drawn in your browser with the open-source JsBarcode library
- Price
- Free, no sign-up
- Works in
- Your browser, on phone or computer. Works offline after the first visit.
- Privacy
- Files are processed on your device and never uploaded.
How to make a barcode
- Choose the barcode type, for example Code 128 for your own labels or EAN-13 for retail products.
- Type the value. The barcode updates as you type and any mistake is explained in plain words.
- Download it as a PNG for documents or as an SVG for sharp printing at any size.
Private
Your files are processed in your browser and never uploaded.
Fast
No upload or queue. Results are ready in seconds.
Free
No sign-up, no limits and no watermark on your files.
Barcode Generator: frequently asked questions
Which barcode type should I use?
Use Code 128 for your own labels and EAN-13 for products sold in shops. Code 128 holds letters and numbers in little space, so it suits stock, files and asset tags. Retail products use EAN-13 (UPC-A in the USA and Canada), cartons use ITF-14 and books use the ISBN barcode.
Can I make an EAN-13 barcode for my own product?
You can draw any valid EAN-13 here, but the number must be issued to your company by GS1 to sell in shops. In India that is GS1 India. A made-up number can clash with another company’s product on large marketplaces.
What size should I print a barcode?
Print it without squashing it sideways and keep the white margin (quiet zone) on both sides. For print, use the SVG or the 4× PNG, and test-scan one printout before printing many.
Is anything I type uploaded?
No. The code is created in your browser, and nothing you type is sent to a server or stored by us.



