Barcode generator
Media and filesHow do I make a barcode?
EAN-13, EAN-8, UPC-A, Code 128 and Finnish bank barcodes, ready to download.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
12 digits, or 13 with the check digit
0.33 mm prints EAN-13 at its standard size
EAN-13
4006381333931
Check digit 1 added
On paper
- Width × height
- 37.3 × 33 mm
Making the image doesn't register a product number: numbers for products sold in shops come from GS1.
Sponsored Links
EAN-13, EAN-8, UPC-A, Code 128 and Finnish bank barcodes, ready to download.
How to use
- Choose the barcode type: EAN-13 for most shop products, EAN-8 for small packages, UPC-A for North America, Code 128 for any text, or the Finnish bank barcode for an invoice.
- Type the number or text. For EAN and UPC you can leave out the last digit: the check digit is added for you, and a typed one is checked.
- Download the barcode as PNG or SVG. Print it at 100 % and test it with a phone or scanner before printing many.
Sponsored Links
How it works
A barcode stores digits or text as a row of dark bars and light spaces of a few set widths. A scanner measures the widths and turns them back into the same characters. Light margins on both sides tell the scanner where the code starts and ends.
EAN and UPC numbers end in a check digit that catches typing mistakes. Multiply the digits from the right alternately by 3 and 1, add them up, and the check digit is what brings the sum to the next multiple of 10. For 400638133393 the weighted sum is 89, so the check digit is 1 and the full EAN-13 is 4006381333931 (GS1 General Specifications). Code 128 has its own check character and packs pairs of digits into one symbol, so long numbers stay short (ISO/IEC 15417).
The Finnish bank barcode is a 54-digit virtual barcode that holds the payee's IBAN, the amount, the reference number and the due date, printed as Code 128. It follows Finance Finland's bank barcode guide (Pankkiviivakoodi-opas); a banking app reads it to fill in a payment.
A made-up EAN may already belong to someone else's product, which is why shops ask for GS1-issued numbers. Size matters too: EAN-13 is designed for bars 0.33 mm wide, and a code printed much smaller may not scan.
Worked example
What EAN-13 number is made from 400638133393?
- The calculated check digit is 1.
- Append it to the original digits: 4006381333931.
The complete EAN-13 number is 4006381333931. This example does not assign a product number.
Frequently asked questions
Can I sell products with a barcode made here?
Only with a number you own. Shops expect GS1-issued product numbers; join GS1 in your country to get a company prefix, then make the barcode for your number here.
What's the difference between EAN-13 and UPC-A?
UPC-A is the 12-digit North American version. Every UPC-A is an EAN-13 with a leading zero, and scanners worldwide read both.
Why was a digit added to my number?
EAN and UPC numbers end in a check digit. If you type the number without it, it's calculated and added. If you type it, it's verified, and a wrong one is shown with the right digit.
Which size should I print?
Use 0.33 mm for EAN-13 at its standard size. GS1 allows about 80 % to 200 % of that in retail. Larger codes scan more easily; very small ones may fail.
Are my bank details saved anywhere?
No. The barcode is made on your device. The account, reference, amount and date are kept out of the page address and out of copied links unless you include them.
Should I choose PNG or SVG?
SVG stays sharp at any size and prints at the chosen bar width. PNG is an image at about 300 dpi for documents and labels; don't scale it up.
Next you might need
- QR and Barcode ScannerScan with your camera or an image and see what a code holds, and where a link really leads, before you open it., private, runs on your deviceMedia and filesCheckerEncoding
- Reference number generatorCreate a Finnish reference number with its check digit, or check one, with the RF form., private, runs on your deviceCountry-specific: FinlandMoney & financeGeneratorChecker
- Hash generatorSHA-256, SHA-512, SHA-1 and MD5 hashes of any text, made in your browser., private, runs on your deviceWeb & developerGeneratorEncoding
- Morse code translatorTurn text into Morse code and back, play it as sound or light, decode it from the microphone or camera, or key it by hand., private, runs on your deviceText toolsGeneratorSoundEncoding
- UUID generatorRandom UUIDs, version 4 or time-ordered version 7, made on your device., private, runs on your deviceWeb & developerGeneratorEncoding
- Wi-Fi cardA printable card with a QR code that joins your Wi-Fi when guests scan it with a phone camera., private, runs on your devicePrintablesGeneratorNetworksEncoding
More in Media and files
All 12 utilities in Media and files- Aspect ratio calculatorFind the aspect ratio of a width and height, or resize a picture or video to a new width or height without stretching it., private, runs on your device
- Image compressMake a photo's file smaller and see how much you saved. It stays on your device., private, runs on your device
- Image convertConvert an image between PNG, JPEG, WebP and AVIF. It stays on your device., private, runs on your device
- Image resizeResize a photo or picture by width, height or percent. It stays on your device., private, runs on your device
- Keyboard testPress keys to see their codes and track which keys you have tested., private, runs on your device
- Microphone testPress Start and speak: the level meter shows what your microphone picks up., private, runs on your device
Popular now
Sponsored Links
Sponsored Links
Sponsored Links