Barcode generator
Generate CODE128, EAN13, EAN8, UPC and CODE39 barcodes locally as SVG or PNG.
Text, files and images are processed in your browser and are not uploaded.
Result
Run the tool to see the result.
Result text
How to use
Choose CODE128, EAN13, EAN8, UPC or CODE39 and export SVG or PNG. CODE128 accepts 1–100 printable ASCII characters; CODE39 uses uppercase letters, digits, spaces and -.$/+%. EAN13 accepts 12 or 13 digits, EAN8 accepts 7 or 8, and UPC accepts 11 or 12. Missing check digits are calculated; incorrect ones are rejected. Set bar width from 1 to 4 pixels and height from 20 to 512 pixels, and optionally show the value. A 12-module quiet zone surrounds the bars; preserve it when printing. Test the result with the intended scanner.