How to use Barcode Generator
Generate standard 1D barcodes for retail, inventory, shipping, and identification purposes — entirely in your browser. Supports Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, ITF, and more. Download as SVG for crisp printing at any size or as PNG for digital use.
- Select the barcode format (Code 128 for general text, EAN-13 for retail products, etc.).
- Enter the data to encode — numeric only for EAN/UPC formats.
- Adjust the barcode height, bar width, and whether to display the human-readable number.
- Preview the barcode and verify the dimensions meet your label requirements.
- Download as SVG or PNG and embed in your label design or inventory system.
Your data never leaves your device — 100% private processing.
Barcode format selection guide
Code 128 is the most versatile 1D barcode, supporting all 128 ASCII characters and used for shipping labels, ID cards, and industrial applications. EAN-13 and EAN-8 are retail product barcodes (ISBN books use EAN-13 with a 978/979 prefix). UPC-A and UPC-E are North American retail standards. Code 39 is used in automotive, military, and government contexts for its ease of reading. ITF-14 (Interleaved 2 of 5) is used on shipping cartons. For new applications, Code 128 or QR codes are recommended over older formats.
| Format | Characters | Best use |
|---|---|---|
| Code 128 | All ASCII | Shipping, ID, general |
| EAN-13 | 12 digits + check | Retail products, books (ISBN) |
| UPC-A | 11 digits + check | North American retail |
| Code 39 | A-Z, 0-9, symbols | Automotive, military, healthcare |
| ITF-14 | 13 digits + check | Shipping cartons, logistics |
Print size and scanning requirements
Barcode scanners need a minimum quiet zone of 10 × the narrowest bar width on each side. Standard EAN-13 barcodes are 37.29 mm × 25.93 mm — print no smaller than 80% of this size for supermarket scanners. Code 128 barcodes must have a minimum bar height of 15% of the symbol length or 6.35 mm, whichever is greater. Always download as SVG for print production to ensure no rasterization artifacts, and test with a handheld scanner before committing to a large print run.
Worked examples
EAN-13 retail code
Inputs: 12 digits: 590123412345
Result: EAN-13 with auto check digit → 5901234123457
Code 128 shipping label
Inputs: SHIP-00427
Result: Code 128 barcode encoding the full alphanumeric string
Glossary
- Check digit
- A digit appended to a barcode that is mathematically derived from the other digits, used to detect scanning errors.
- Quiet zone
- The blank white space on both sides of a barcode required for scanners to determine the barcode boundary.
- Module width (X dimension)
- The width of the narrowest bar or space in a barcode, determining the physical size of the symbol.
- GS1
- The global organization that administers EAN and UPC barcode standards used in retail commerce worldwide.
Related reading
Frequently Asked Questions
Why use Barcode Generator?
- Covers Code 128, EAN-13, UPC-A, Code 39, and ITF-14 to match retail, shipping, and industrial standards
- SVG export scales to any print size with zero rasterization artifacts for label production
- Configurable bar height and module width to satisfy GS1 minimum dimension requirements
- Optional human-readable digit line below bars provides a manual-entry fallback for scanning failures
Common use cases
- Create Code 128 shipping labels for internal warehouse dispatch and receiving workflows
- Generate EAN-8 barcodes for small product packaging where a full EAN-13 label won't fit
- Print Code 39 labels for automotive parts components requiring legacy reader compatibility
- Produce UPC-A barcodes for products being submitted to a North American retail distributor
- Generate ITF-14 barcodes for outer shipping cartons to meet logistics partner scanning requirements
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Related QR & Barcode
QR Code Generator
Generate QR codes for URLs, text, and more. Customize the size, colors, and error correction, then download instantly — free and private.
WiFi QR Code Generator
Create a WiFi QR code so guests can connect to your network without typing a password. Works on Android and iPhone. Free and private.
Barcode Scanner
Scan and decode barcodes from images online. Upload a photo of a barcode to read its value instantly — free, private, and processed in your browser.
Bulk QR Code Generator
Generate multiple QR codes at once. Enter up to 50 URLs or text values to batch-create QR codes and download them as a ZIP.
vCard QR Code Generator
Create a QR code for your contact information. Anyone who scans it can save your details instantly. Free digital business card QR generator.
QR Code Scanner
Scan QR codes online using your camera or by uploading an image. Free, private, works in any browser. No app download required.
Explore all QR & Barcode.