Barcode Tools · Free
Free barcode generator.
Make a barcode in your browser: nothing is uploaded. Choose Code 128 or Code 39 for inventory and internal labels, or EAN-13, EAN-8 and UPC-A for retail. Download as PNG or SVG.
Which barcode type do you need?
- Selling in stores or on marketplaces (retail): use EAN-13 or UPC-A. These encode a GTIN, and GS1 says it is the only official provider of GTINs and EAN/UPC barcodes: you join your local GS1 office, which assigns your GS1 company prefix.
- Inventory, assets, shelves, internal tracking: use Code 128 (any printable text) or Code 39 (digits, capital letters and a few symbols). You choose the data yourself, so no GS1 prefix is involved.
- Small packages: EAN-8, or a shortened UPC via the UPC-E to UPC-A converter. These are still GS1 numbers.
- Cartons and cases: ITF-14.
A generated EAN or UPC image is only a picture of the digits you type. It does not make the number yours; retailers can check it against the GS1 database. Sources: GS1: get barcodes, GS1: EAN/UPC barcodes (checked 30 Sep 2026).
Inputs
Barcode
About barcode formats
Choosing the right barcode format depends on your use case. Each format has different character support and length requirements.
- CODE128: general purpose, inventory, shipping labels. Variable length, full ASCII.
- CODE39: non-retail, automotive, defense. Numbers, uppercase letters, and a handful of symbols.
- EAN-13: retail products worldwide. Fixed 13 digits.
- EAN-8: small retail products. Fixed 8 digits.
- UPC-A: retail in US and Canada. Fixed 12 digits.
- ITF-14: shipping cartons and cases. Fixed 14 digits.
Tips
- Validate input length before printing: short or extra characters break scanners.
- Test printed barcodes with multiple scanner apps before mass production.
- Print at 300 DPI or higher; keep at least 2.5 mm of quiet zone on each side.
- Maintain high contrast between bars and background.
How to get a barcode: FAQ
How do I get a barcode for my product?
Two steps. First get the number: for retail, contact your local GS1 office, become a member and receive a GS1 company prefix, from which you create a GTIN for each product. Second, turn that number into an image with a generator like this one and place it on your packaging. GS1 states that it is the only official provider of GTINs and EAN/UPC barcodes.
Do I need GS1 to make a barcode?
Only for retail EAN and UPC codes sold through stores or marketplaces that require GTINs. For internal use such as inventory or asset labels, Code 128 and Code 39 hold whatever data you choose, so no GS1 prefix is needed. Check the rules of any retailer or platform you sell through.
Does a generated EAN or UPC barcode make the number valid for selling?
No. This tool draws the barcode from the digits you enter. It does not register or issue numbers, and it cannot confirm that a number belongs to you. Numbers not issued through GS1 may be rejected by retailers.
Does the barcode contain the price or product name?
Generally no. GS1 explains that a retail barcode carries a number that identifies the item, and the description and price are looked up in a database.
Is my data sent anywhere?
No. The barcode is drawn in your browser and nothing you type is uploaded.
Sources: GS1: get barcodes. In Canada, see GS1 Canada.