Business Tools
Barcode Generator — EAN, UPC, Code 128 and More
Generate seven barcode formats in your browser, check or add GTIN check digits, customize colors and size, and download PNG or SVG images.
Business Tools
Generate seven barcode formats in your browser, check or add GTIN check digits, customize colors and size, and download PNG or SVG images.
A barcode represents data as a pattern of bars and spaces. This generator supports EAN-13 (JAN), EAN-8, UPC-A, Code 128, Code 39, ITF-14 and Codabar (NW-7). Choose a format, enter your value, then download a PNG or SVG image.
Generation runs in your browser. You can change the bar width, height, colors and human-readable text. PNG exports use twice the preview dimensions; SVG preserves vector shapes. Neither option guarantees a particular physical size or print quality.
The example values illustrate the input format. They are not numbers allocated to you for use on products. Generating a barcode image does not assign a GTIN, register it with GS1 or establish a right to use the number.
The last digit of a GTIN helps detect errors. For an EAN-13 payload of 12 digits, multiply alternating digits from the left by 1 and 3, add the results, and take the difference to the next multiple of ten. If the sum is already a multiple of ten, the check digit is zero.
For example, the payload 490123456789 has a weighted sum of 146, so its check digit is 4 and the complete value is 4901234567894. This is a calculation example, not an allocation of that number.
This tool adds the digit only when you enter a payload of the correct length. If you enter a complete value with an incorrect check digit, it reports the expected digit instead of silently changing your input. A valid check digit cannot establish the product's identity, ownership or GS1 allocation.
Keep the blank quiet zones around the symbol. Use black bars on a white background where possible. The tool requires darker bars and an on-screen RGB contrast ratio of at least 4.5:1; this is a basic screen check, not barcode print verification.
Red, orange, pink and pale yellow bars may be difficult for red-light scanners to detect. Avoid these colors for bars. Test the actual printed size, material and scanner. A readable preview or a successful download does not prove compliance with a retailer's or logistics provider's requirements.
Questions or feedback? Contact NanToo