How to use Barcode Generator
- Choose the barcode type required by your label or receiving system. Use plain Code 128 for printable ASCII text; use the matching EAN, UPC or ITF format for a product number.
- Enter the value. EAN-13, UPC-A, EAN-8 and ITF-14 can calculate a missing final check digit or validate one you supply.
- Set bar module width from 1 to 4 pixels and height from 60 to 180 pixels. The live preview follows the fields; readable text can be shown or hidden.
- Download SVG or PNG. Keep the white space beside the bars, avoid stretching the image unevenly and scan-test the actual file at its intended printed size.
Example: Barcode Generator
Make a Code 128 label for a local stock code.
Options
- Numeric check digits
- Enter 12 or 13 digits for EAN-13, 11 or 12 for UPC-A, 7 or 8 for EAN-8, or 13 or 14 for ITF-14. The shorter form gets a calculated final digit. A supplied final digit must match.
- Text formats
- Code 128 accepts 1 to 80 printable ASCII characters. Code 39 accepts 1 to 60 uppercase letters, digits, spaces or . - $ / + %. Do not include the Code 39 start/stop asterisk.
- SVG or PNG
- SVG preserves bar edges when resized; PNG has a fixed pixel size. Both exports include white quiet space. Hiding readable text does not reduce the reserved image height.
Supported inputs and limits
- Outer whitespace is trimmed.
- Code 128 accepts printable ASCII only; this page has no GS1-128 application-identifier or FNC1 mode.
- Code 39 accepts only its listed uppercase character set.
- Numeric formats require the exact supported digit count and a valid check digit.
- The tool draws your supplied identifier.
More details
It does not issue product numbers, verify ownership or certify a printed symbol.
Pixel dimensions are not a retail print specification: preserve contrast and clear margins and test the final print with the intended scanner.
Where your input is processed
This tool does not upload your inputs. See the limits for anything saved on your device.
What the image proves
A valid check digit can catch some typing errors, but it does not establish who owns a product number. Obtain identifiers through the issuing process required by your trading partners. The image is generated in this browser; its success on paper still depends on final dimensions, contrast, clear space, printer and scanner.
Questions about Barcode Generator
Can this page give me an official retail product number?
No. It only draws the number you enter and checks the EAN/UPC digit. It does not assign a GS1 prefix or establish ownership of a retail identifier.
Why was my EAN or UPC number rejected?
The supplied final digit must match the checksum calculated from the preceding digits. Remove that digit to have the tool add the expected one, or correct the number.
Should I download SVG or PNG?
SVG scales without losing bar edges. PNG may be convenient for software that needs a raster image. In either case, scan-test the exported file at its final printed size.
Can Code 128 contain letters?
Yes. This page accepts printable ASCII letters, digits and punctuation in Code 128, up to 80 characters.