Generate professional barcodes in 10+ industry-standard formats. Customize dimensions, colors, and text. Download as SVG or PNG — free, browser-based, no sign-up required.
A barcode generator is a tool that encodes alphanumeric data into a visual pattern of parallel bars and spaces that can be read by a barcode scanner or smartphone camera. Barcodes are used across every industry — retail point-of-sale systems, warehouse inventory management, logistics and shipping labels, library book tracking, healthcare patient identification, and manufacturing quality control.
Our free online barcode generator supports 10 industry-standard barcode formats, lets you customize every visual element (bar width, height, color, font, margin), and exports high-quality SVG or PNG files ready for print and digital use — all in your browser with no data sent to any server.
The most versatile and widely-used 1D barcode format. Supports the full ASCII character set — letters, numbers, and special characters. High data density and self-checking. Used in shipping labels (FedEx, UPS), warehouse management, and general industrial applications. The recommended default for any custom barcode.
Industries: Logistics, shipping, warehousing, general business
An older alphanumeric barcode supporting uppercase A–Z, digits 0–9, and a limited set of special characters (space, $, %, +, -, ., /). Lower data density than CODE128 but widely supported by legacy scanners. Used in automotive, defense, and healthcare industries.
Industries: Automotive, defense, healthcare, legacy systems
European Article Number — a 13-digit numeric barcode that is the global standard for retail product identification. Includes a 2–3 digit country code, 4–5 digit manufacturer code, product code, and check digit. Every retail product sold outside North America uses EAN-13.
Industries: International retail products, grocery stores, supermarkets
A compact 8-digit version of EAN-13 for small products where a full-size barcode wouldn't fit — candy bars, small cosmetics, matchbooks. Must be assigned by GS1.
Industries: Small retail products with limited label space
Universal Product Code — 12-digit barcode used as the retail product standard in the United States and Canada. Includes manufacturer and product identifiers. Familiar as the barcode on virtually every product sold in North American stores.
Industries: North American retail, grocery, consumer goods
A compressed 6-digit version of UPC-A for small packages. Suppresses leading zeros to fit in a smaller space. Must be derived from a valid UPC-A code.
Industries: Small US/Canadian retail products
Interleaved 2 of 5 — encodes pairs of digits in alternating bars and spaces for high efficiency. ITF-14 is the 14-digit version used on shipping cartons, pallets, and outer packaging in global supply chains. Highly resistant to printing imperfections.
Industries: Outer shipping cartons, pallets, supply chain
MSI Plessey — a numeric-only barcode typically used in retail shelf labels, bin locations, and inventory management systems. Supports multiple check digit algorithms (Mod 10, Mod 11, Mod 1010).
Industries: Retail shelf labels, inventory bin locations
One of the oldest barcode formats, used in blood banks, libraries (Monarch barcodes), photo lab envelopes, and FedEx airbills. Supports digits 0–9 and special characters –$:/.+.
Industries: Blood banks, libraries, overnight delivery, photo labs
CODE128 is the most versatile and widely-supported 1D barcode format globally. It supports all ASCII characters, has high data density, and is accepted by virtually every barcode scanner. For retail products sold internationally, EAN-13 is the mandatory standard. For North American retail, UPC-A is required.
For commercial retail products, you need a GS1-registered barcode. This requires purchasing a GS1 Company Prefix, which licenses you to create valid EAN-13 or UPC-A barcodes for your products. Our tool can generate EAN-13 and UPC-A barcodes for testing and prototyping, but for retail sale, you need officially registered codes from GS1.
SVG is a vector format — it scales to any size without losing quality. It's best for print production, large-format labels, and any use where the barcode will be resized. PNG is a raster format at a fixed resolution — it's best for digital use, web pages, email, and software screenshots.
Yes, but with caution. Barcodes must have sufficient contrast between the bars and background to scan reliably. Black on white is the safest choice. Avoid using red or orange for bars — many laser scanners use a red laser that cannot read red-colored bars. If using color, always scan-test thoroughly before printing.
All barcode generation happens entirely in your browser using the JsBarcode JavaScript library. Your data values are never transmitted to any server. This makes the tool safe for sensitive product data, internal SKUs, and confidential inventory information.
CODE128 can encode any of the 128 ASCII characters — all 26 uppercase and lowercase letters, digits 0–9, and special characters including spaces, punctuation, and control characters. Maximum data length depends on bar width and scanning conditions, but practical maximums are typically 48–80 characters for reliable scanning.
Discover more free developer tools that might interest you
Create professional resumes with customizable templates
Create professional invoices with templates
Create professional buisness profile cards
Create QR codes for business and marketing
Format and validate JSON data
View JSON data in a tree structure