Barcode Generator
Create static Code 128, EAN-13, EAN-8 and UPC-A barcodes locally. Download SVG or PNG with validated check digits.
Your result
Print a sheet of barcode labels
Print one or more copies of each barcode on a sheet, up to 100 labels total. Enter each distinct value once. Copies are grouped by value, in the order entered. Download one SVG per barcode in the same order to place the codes in your own design.
About this tool
Make a printable barcode for a shelf label, product or inventory bin. Choose EAN or UPC for an assigned retail number, or Code 128 for your own text. Preview the label, print it or save an SVG or PNG. Your data stays in this browser.
Use this tool step by step
- Select the barcode format and enter the data in the form shown. For retail codes, check the required number of digits and the reported check digit.
- Download the rendered code without stretching its proportions. Print or display it at the intended size and test your actual scanner; generation alone does not establish retailer registration or acceptance.
How it works
Code 128 encodes start, data, checksum and stop symbols. EAN/UPC use alternating weights 1 and 3 from the right of the data digits: check digit = (10 − weighted sum mod 10) mod 10. The encoder validates complete identifiers.
Example workflow
Choose EAN-13 and try 400638133393. The last digit is calculated as 1, so the bars encode 4006381333931. Entering all 13 digits checks the final digit. For an internal bin label such as SOLVENOOK-001, choose Code 128.
Generate and print Code 39 inventory labels
Choose Code 39 when your inventory system or scanner requires that format. Try BIN-001 in the single barcode form, or enter BIN-001 and BIN-002 on separate lines in the label sheet. You can print the codes or download the SVGs.
Use uppercase letters, digits, spaces and the symbols - . $ / + %. The encoder adds the start and stop marks. Leave out asterisks. This tool generates standard Code 39 without the optional Mod 43 check character. Check your scanner’s settings and test a printed label before using a batch.
Print EAN-13 labels at a chosen width
Choose EAN-13 in the label sheet and enter one assigned number per line. Enter all 13 digits to check the final digit, or enter 12 digits to calculate it. Generate the sheet, then enter the total printed barcode width in millimetres if your layout calls for a specific size.
Width includes the clear margins on both sides. Use Actual size or 100% in your browser print dialog. Measure and scan a proof on the intended scanner before printing the batch. For retail use, check the applicable GS1 requirements for bar width, height and clear margins.
Assumptions and limitations
Only printable ASCII is accepted for Code 128. EAN-13 accepts 12/13 digits, EAN-8 7/8 and UPC-A 11/12. Black bars on white and 12-module side margins are fixed. Module width is 1–4 pixels. Outputs are static and do not expire or track scans.
Use an identifier allocated to you when trading retail goods. This tool does not register GS1 identifiers, certify print quality or guarantee scanner compatibility. Preserve quiet zones, print at actual size and test the finished label. SVG and PNG processing stay in your browser.
Common questions
Will the generator add a retail barcode’s check digit?
Enter the data digits in the selected EAN or UPC format. The generator calculates the missing check digit, or validates it when the full number is supplied.
Can I enter letters in a barcode?
Use Code 128 for supported printable ASCII text. EAN-13, EAN-8 and UPC-A use digits and have fixed lengths.
Does generating an EAN or UPC assign it to my product?
It renders the number you supply. Use a number assigned to your product if you need an identifier recognised by a retailer.
Can I generate GS1-128 (EAN-128) barcodes here?
No. The Code 128 option creates plain Code 128. GS1-128 also needs an FNC1 character after the start character and data in GS1 Application Identifier format. Typing an identifier in brackets, such as (01), encodes the brackets as ordinary text. Use an encoder that explicitly supports GS1-128, then check the label against your trading partner's requirements.
Guide updated 2026-11-21. Calculation method and source dates remain separate.
Method reviewed 2026-10-13. Calculation standards · Report an issue