Type a number or a short text, pick the barcode type and you get a finished barcode that you can download as a PNG picture or as an SVG file. For the retail types the tool works out the check digit for you, and if you type a complete number it checks the last digit and tells you what it should have been. Everything is drawn in your browser, so nothing you type leaves your device.
A barcode does not hold a name or a price. It holds a short code, and the system that scans it looks the code up in a database. That is why the same barcode can be read by any scanner, and why the number you encode matters more than the picture.
A worked example: the check digit
Take the EAN-13 4006381333931. The last digit is the check digit. To work it out from the first twelve digits, 4 0 0 6 3 8 1 3 3 3 9 3, multiply the digits alternately by 1 and 3, starting with 1 on the left: 4, 0, 0, 18, 3, 24, 1, 9, 3, 9, 9, 9. These add up to 89. The check digit is whatever brings the sum up to the next multiple of 10, which is 1, because 89 plus 1 is 90. If anyone mistypes one digit, the sum no longer works out, and the scanner rejects the code instead of reading a wrong product.
Print and size tips
Every barcode needs an empty margin on both sides, called the quiet zone, and the tool always includes the minimum its type requires. Do not crop it. Keep the bars dark on a light background with strong contrast; light bars on a dark background are not read by many scanners. Never stretch a barcode on one axis, which changes the widths. For retail EAN codes, the nominal bar width is 0.33 mm and the code may be scaled between 80 and 200 percent. Whatever you print, scan it with the actual scanner before you print a thousand labels.
Limits
Code 128 accepts up to 80 characters. GS1-128 with application identifiers and full ASCII Code 39 are not supported.