Barcode Generator
Create clean, scalable barcodes for products, labels and inventory.
Barcode generator for labels, inventory and shelves
This barcode generator creates a clean, scalable barcode as an SVG file. Enter a value, choose a format, adjust the bar width, height and colours, and download. It is useful for inventory labels, shelf tags, asset stickers, library books, document files, price labels and internal tracking. The preview updates as you type.
How to create a barcode
- Enter the barcode value.
- Choose the format: Code 128, EAN-13, UPC, Code 39 or ITF-14.
- Set the bar width (Thin, Normal or Wide) and height (30 to 250), and pick the bar and background colours.
- Choose whether to show the text under the bars.
- Press Download SVG. The file is saved as praxtools-barcode.svg.
Which barcode format should I choose?
| Format | What it accepts | Typical use |
|---|---|---|
| Code 128 | Letters, digits and symbols, any length that fits | Inventory, shipping and internal labels |
| EAN-13 | 12 digits (the check digit is added) or 13 digits with a correct check digit | Retail products |
| UPC | 11 digits (the check digit is added) or 12 digits with a correct check digit | Retail products, mainly North America |
| Code 39 | Capital letters, digits and - . space $ / + % | Asset tags, ID badges, older systems |
| ITF-14 | 13 digits (the check digit is added) or 14 digits with a correct check digit | Cartons and outer packaging |
If the value does not suit the selected format, the page shows “Enter a value supported by the selected barcode format”. For example, the starting value 123456789012 works for Code 128, EAN-13, UPC and Code 39, but not for ITF-14, which needs 13 or 14 digits. Wrong check digits are rejected, and lowercase letters in Code 39 are converted to capitals.
Official product barcodes
This tool draws barcodes. It does not give you an official product number. If you sell goods through retail stores or online marketplaces that need registered EAN or UPC codes, you must get your numbers from the official issuer, which in India is GS1 India. For your own stock, bins and files, a Code 128 label with your own numbering is usually enough.
Printing and scanning tips
- Keep strong contrast. Dark bars on a white background scan best, and coloured or reversed barcodes can fail.
- Leave empty space on both sides of the bars. The generator adds a margin, so do not crop it away.
- Do not stretch the SVG unevenly. Resize it proportionally.
- Print at a good resolution and avoid shrinking labels so much that the bars blur. Choose Thin bars only if you have space and a good printer.
- Test with the scanner or app that you will actually use before printing a whole sheet of labels.
Privacy
The barcode is generated in your browser, so the value you enter is not sent to a PraxTools server, and no account is needed. The page loads a small open-source barcode library from a content delivery network, so you need an internet connection to open it. See the Privacy Policy.
Barcode generator FAQ
How do I make a barcode online?
Type your value, choose a format, adjust the look and download the SVG. Scan it before printing.
What is the difference between Code 128 and EAN-13?
Code 128 can encode letters, digits and symbols and is used for internal labels. EAN-13 encodes exactly 13 digits and is used for retail products with registered numbers.
Why does it say my value is not supported?
The value does not match the rules of the selected format, such as the wrong number of digits, letters in a numeric format or a wrong check digit. Try Code 128 for general text.
Can I get a PNG instead of SVG?
The download is an SVG, which stays sharp at any size. You can open it in a browser, image editor or word processor and export it as a PNG if needed.
Are these barcodes valid for selling products in shops?
The drawing is correct for the format, but retail use needs a registered number from the official issuer, such as GS1 India.
Is my barcode value uploaded?
No. It is generated in your browser.