Generate one-dimensional barcodes in the browser with the JsBarcode library and download them as crisp SVG or PNG files.
- Code 128: any ASCII text; the general-purpose choice for internal labels, shipping and asset tags.
- EAN-13 / EAN-8 / UPC-A: retail product codes. Enter the digits without the final check digit (12, 7 or 11 digits) and it is calculated for you, or enter the full code and it is validated.
- Code 39: uppercase letters, digits and a few symbols; still common in older industrial systems.
- ITF-14: 14-digit shipping carton codes.
Invalid input for a format is reported with the rule it broke. You can adjust bar width, height, margins, font size and colours. Keep dark bars on a light background with a decent quiet zone; many scanners cannot read inverted or low-contrast barcodes.
Generating a valid EAN or UPC image does not register a product number. Retail codes must come from a GS1 allocation; random numbers are fine only for testing.