How to make a barcode
Shop products use EAN and UPC codes; warehouses and labels use Code 128 and Code 39. Choose the type, enter your number or text and download the barcode.
Open the Barcode Generator tool
Step by step
- Choose the type. Pick Code 128, Code 39, EAN-13, EAN-8 or UPC-A.
- Enter the value. Type the number or text. The check digit is added for EAN and UPC.
- Download. Save the barcode as PNG or SVG.
Tips for better results
- For EAN and UPC enter the digits without the check digit; it is added for you.
- Print at the size you need and leave blank space on both sides.
- Real EAN and UPC numbers for shops are issued by GS1; a generated barcode with a made-up number is fine for testing and internal use.
Limits to know
- Formats: PNG and SVG images
- Size: Up to a few hundred characters
- Notes: Draws barcodes for the value you give. It does not issue product numbers (GS1) and does not read barcodes.
At a glance
| Tool | Barcode Generator |
|---|---|
| Category | QR and Barcode Tools |
| Works with | PNG and SVG images |
| Size limit | Up to a few hundred characters |
| Where it runs | In your browser tab; your input is not uploaded |
| Cost | Free, no sign-up |
Frequently asked questions
Which type should I use?
EAN-13 or UPC-A for retail products, Code 128 for shipping labels and inventory, Code 39 for simple labels and ID badges.
Does the tool give me a valid product number?
No. Numbers for selling in shops are issued by GS1. This tool draws the barcode for the number you provide.
Is the check digit right?
Yes. It is calculated with the standard algorithm, and if you enter a full number the tool checks it.
If something does not work
- The result says a value is invalid. Check that every field has a number in the allowed range; the message names the field.
- The numbers look different from another calculator. Rounding, rate and date conventions differ between calculators. Compare the assumptions shown with the result.
- The page does not update. Reload it and try again; if it still fails, report it.
- Is the answer advice? No. Results are estimates for general information.
Still stuck? Use Report a Problem and tell us the tool, your browser and what happened, or read the Help Center.
Related tools and guides
- QR Code Generator: Create QR codes for text, links, email, phone numbers, SMS, Wi-Fi and contacts. Choose colours and size, then download PNG or SVG. Read the guide
- URL to QR Code: Turn any web address into a QR code. Download it as PNG or SVG with your own colours. Read the guide
- Text to QR Code: Turn any text into a QR code: notes, codes, addresses or messages. Download as PNG or SVG. Read the guide
More tools like this are in QR and Barcode Tools, or browse all tools.