Barcode Generator – Code 128, EAN-13, UPC-A
Make a scannable barcode for a product, a shelf label or an inventory tag, and download it as a sharp PNG or SVG.
How to use the Barcode Generator
- Choose the typeCode 128 for anything with letters (inventory, shipping, IDs); EAN-13 or UPC-A for retail products; EAN-8 for very small packs.
- Enter the contentFor EAN and UPC, type the digits without the last check digit and it is calculated for you, or type all of them and it is checked.
- Size and downloadSet the bar width and height, colours and text, then download a PNG or an SVG for labels and packaging.
Example
EAN-13 590123412345 gets the check digit 7, giving 5901234123457.
Code 128 MAGIKNEX-2026 encodes letters, a dash and digits; long runs of digits are packed in pairs to keep the barcode short.
Frequently asked questions
Can I make up my own EAN or UPC number?
You can for internal use, but products sold in shops need numbers issued by GS1 to your company, so they do not clash with other products.
Which colours scan best?
Dark bars on a light background, ideally black on white. Red bars are invisible to many scanners, and inverted (light bars on dark) often fails.
How big should I print it?
Keep the white quiet zone on both sides and do not shrink it too much. For EAN-13 the standard size is about 37 × 26 mm; use a bar width of 2–3 px for screen and an SVG for print.