Barcode Generator
Turn a product number, stock code or any short text into a scannable barcode. Choose Code 128, EAN-13, EAN-8, UPC-A, UPC-E, Code 39, ITF-14, Interleaved 2 of 5, Codabar, MSI or Pharmacode, and the generator validates your input, works out retail check digits and gives you a PNG for documents or an SVG that stays sharp at any print size.
Create a Barcode
Scan check
Your barcode
Details
Your download
How to Use the Barcode Generator
- Pick the barcode type. Use Code 128 for general text and internal labels, and EAN or UPC only for numbers you have been assigned.
- Type the content. For EAN-13, EAN-8 and UPC-A you may leave out the last (check) digit; it is calculated for you.
- Adjust bar width, height, quiet zone and colours if needed, then press Generate.
- Download the PNG or SVG and test-scan a printed copy before printing labels in bulk.
About This Tool
Small shops labelling stock, warehouse and inventory teams, librarians, event organisers printing tickets, and developers who need test barcodes.
Input: Numbers or text · Output: PNG / SVG.
Features and Limitations
Features
- Eleven symbologies, including the retail EAN and UPC families.
- Automatic check-digit calculation and a clear message when a check digit you typed is wrong.
- PNG and scalable SVG downloads with your chosen colours.
- Contrast warning when bar and background colours are too similar to scan.
- Barcode library is loaded only when you press Generate, keeping the page light.
Limitations
- Generating an EAN or UPC image does not register a product number. Retail numbers must come from GS1 or your supplier.
- 2D codes such as QR and Data Matrix are not produced here; use the QR Code Generator for QR codes.
- Printer resolution matters: very thin bars (1 pixel) can blur on low-quality printers.
- Results are computed in your browser; nothing you enter is sent to a server.
Example
EAN-13 content 590123412345 gets the check digit 7, giving 5901234123457. Code 128 accepts mixed text such as BOX-0042-A.
Frequently Asked Questions
Which barcode type should I use?
For internal labels, asset tags and anything with letters, Code 128 is compact and widely supported. Retail products sold in shops use EAN-13 (or UPC-A in North America) with a number issued by GS1. Shipping cartons often use ITF-14.
What is a check digit?
The last digit of EAN, UPC and ITF-14 codes is calculated from the others so a scanner can detect misreads. If you type a full number with a wrong final digit, the tool tells you the correct one.
PNG or SVG?
Use SVG for professional printing and label software because it scales without blurring. PNG is easier to paste into documents and spreadsheets.
Can I make barcodes for products I sell on Amazon or in stores?
You can draw the image here, but the number itself must be licensed from GS1 (or provided by the marketplace). Made-up EAN or UPC numbers may clash with real products.
Related Tools
More like this: all Codes & Scanning tools, all Productivity tools or the TinySandy home page.