Barcode Generator
Generate scannable barcodes with automatic check digits, PNG or vector SVG.
Enter a value to encode.
Features
- Four symbologies covering retail and general use
- Check digits calculated and validated automatically
- Adjustable module width, height and colours
- PNG raster and SVG vector export
- Encoder written in-house, no external requests
How to use it
- Choose the barcode type you need.
- Enter the value, check digits are added for you.
- Adjust the size and colours.
- Download as PNG for screen or SVG for print.
Which symbology to use
Code 128 encodes the full printable ASCII set and is the right default for anything internal, asset tags, shipping references, work orders, library codes. It is also space-efficient: it has a mode that packs two digits into each symbol, so long numeric strings stay compact. This encoder switches into that mode automatically when it pays off.
EAN-13 and UPC-A are for retail products sold through shops, and you cannot simply invent one. The leading digits identify the issuing organisation and the manufacturer, and those prefixes are allocated by GS1 for a fee. A made-up EAN will scan fine but may collide with a real product, so use Code 128 for internal purposes and only use EAN or UPC with a number properly assigned to you.
Two practical points about printing. The check digit is a modulo-10 calculation over the preceding digits, this tool computes it if you omit it, and tells you if the one you supplied is wrong. And the quiet zone matters more than people expect: barcodes need a clear margin of roughly ten times the module width on each side, and scanners fail on codes printed right up against other artwork. Both exports here include the correct quiet zone.
Frequently asked questions
Related tools
Further reading
Read the full guide on the 123MiniApps blog.