Type the value
The barcode is drawn as you type.
Type 7 digits and get a short EAN-8 barcode with the check digit added, ideal for small packages. Download it as PNG or SVG. Nothing is uploaded.
100% private — the barcode is drawn in your browser and nothing is sent to any server.
Keep going with your result in another tool. Nothing is uploaded.
The barcode is drawn as you type.
Set the bar width and height, and show or hide the text.
Save it as PNG or SVG and test it with a scanner.
To generate an EAN-8 barcode, enter the first 7 digits in the value box above and the barcode appears with the eighth digit, the check digit, added automatically. If you type all 8 digits, the tool verifies the last one. Download the barcode as PNG or SVG. It is generated in your browser and nothing is uploaded.
EAN-8 is the short version of EAN-13, made for products too small to carry the full code, such as cigarettes, chewing gum, cosmetics samples and pencils. It holds 8 digits: a 2 or 3 digit GS1 prefix, a short product number and a check digit. EAN-8 numbers are issued individually by GS1, so a company cannot make them up freely as it can with its own EAN-13 range.
| Feature | EAN-8 | EAN-13 |
|---|---|---|
| Digits | 8 | 13 |
| Width at 100% size | about 27 mm | about 37 mm |
| Numbers per company | issued one by one | a whole range |
| Typical products | very small packages | everything else |
Take the first 7 digits, 9638507. Multiply them alternately by 3 and 1, starting with 3 for the rightmost one: 9×3 + 6×1 + 3×3 + 8×1 + 5×3 + 0×1 + 7×3 = 86. The check digit is what you add to reach the next multiple of 10: 90 − 86 = 4. The full number is 96385074. The generator adds it for you when you type only the first 7 digits, and warns you if a full number has a wrong check digit.
This tool draws a correctly formatted barcode from any number you give it. That is enough for internal use, such as inventory, shelves or test labels. To sell a product in shops and on marketplaces, however, the number must be a GTIN issued by GS1 through a licensed company prefix; otherwise it may collide with another company's product. Buy your numbers from GS1 in your country, then use this tool to draw the codes.
The code is drawn by your browser on your own device. What you type, including passwords and contact details, is never sent to a server, and the finished image is yours with no watermark and no expiry.
More utilities that also run without leaving your browser.