Free EAN-13 Barcode Generator — Create, Preview & Download Instantly
Generate EAN-13 barcodes online for free — no signup, no software, no limits. Enter any valid 12- or 13-digit GTIN and get a crisp, scannable EAN-13 barcode in PNG or SVG format within seconds. EAN-13 is the global standard for retail product identification, used in supermarkets, pharmacies, and supply chains worldwide. Real-time preview updates as you type. Download, bulk-generate, or share your barcode instantly.
What Is EAN-13?
EAN-13 (European Article Number, 13 digits) is the international standard barcode for retail product identification, defined by GS1 and standardized under ISO/IEC 15420. It encodes a 13-digit Global Trade Item Number (GTIN-13) composed of a GS1 country prefix, a company number, an item reference, and a single Mod 10 check digit calculated automatically. EAN-13 barcodes appear on virtually every consumer product sold globally — from groceries and cosmetics to electronics and pharmaceuticals — and are compatible with all point-of-sale (POS) scanners worldwide. The symbology is a superset of UPC-A: any UPC-A barcode is a valid EAN-13 barcode with a leading zero.
- Global Retail Standard — Accepted at Every POS Scanner WorldwideEAN-13 is the dominant retail barcode standard outside North America and is fully recognized by all GS1-compliant point-of-sale systems globally, including those in the United States and Canada that previously used UPC-A only. Any scanner capable of reading UPC-A can read EAN-13. This universal acceptance makes EAN-13 the correct choice for any product intended for international retail distribution, cross-border e-commerce, or multi-market supply chains.
- 13-Digit GTIN Structure — Country Prefix, Company, Item, Check DigitAn EAN-13 barcode encodes exactly 13 digits. The first 2–3 digits form the GS1 prefix (indicating the country of registration, not necessarily the product's country of origin). The following digits identify the company (assigned by GS1) and the specific product item. The final digit is a Mod 10 check digit calculated from the preceding 12 digits. This generator computes and appends the check digit automatically — enter just 12 digits and the correct 13th digit is added for you.
- Automatic Mod 10 Check Digit CalculationEvery EAN-13 barcode ends with a single check digit calculated using the GS1 Mod 10 (Luhn-style) algorithm: alternating weights of 1 and 3 are applied to the first 12 digits, the weighted sum is taken modulo 10, and the check digit is the amount needed to reach the next multiple of 10. This generator performs this calculation automatically and validates any 13-digit string you enter. Incorrect check digits are flagged before download.
- Retailer and GS1 Compliance — Ready for POS, EDI, and Inventory SystemsEAN-13 barcodes generated here conform to GS1 General Specifications for bar width, quiet zone, and human-readable text placement. They are suitable for printing on retail packaging, shelf-ready labels, and carton labels, and for submission to retailer product databases (e.g., Walmart Retail Link, Amazon catalog, GDSN). Ensure you obtain a legitimate GS1 company prefix for products distributed through retail channels.
- Superset of UPC-A — Backward Compatible with North American ScannersEAN-13 is a strict superset of UPC-A. A UPC-A barcode is identical to an EAN-13 barcode with a leading zero (0) prepended. All modern North American POS systems mandated to accept EAN-13 since 2005 can scan EAN-13 barcodes without hardware changes. If your product is sold in both North American and international markets, EAN-13 is the single format that works in all regions without modification.
EAN-13 Barcode Generator Features
Everything you need to create retail-ready EAN-13 barcodes — from automatic check digit calculation and real-time preview to bulk generation, adjustable sizing, and lossless SVG output.
Automatic Check Digit Calculation and Validation
Enter 12 digits and the generator computes the correct Mod 10 check digit and appends it automatically. Enter all 13 digits and the tool validates whether the check digit is correct before generating the barcode. Invalid or malformed inputs are flagged in real time so you never download a barcode with an incorrect check digit.
Real-Time Preview as You Type
The EAN-13 barcode preview updates live with every digit you enter. See the exact bar pattern, number system digit, data digits, and check digit rendered beneath the bars before downloading. Non-numeric or incorrect-length inputs are identified immediately so you can correct them without wasting a print run.
PNG and SVG Download
Download your EAN-13 barcode as a high-resolution PNG for product sheets, e-commerce listings, and documents, or as a lossless SVG for print-ready dielines, packaging artwork, and label templates. SVG output scales to any physical size without pixelation — essential for retail packaging where barcode dimensions must meet GS1 print quality specifications.
Adjustable Size and Quiet Zone
Control bar height, overall barcode width, and quiet zone margins. GS1 specifies a nominal barcode width of 37.29mm at 100% magnification with a minimum quiet zone of 3.63mm on each side. This generator lets you scale the barcode for label, packaging, and screen applications while maintaining correct proportions and readability.
Human-Readable Digits — Show or Hide
Toggle the human-readable interpretation (HRI) digits below the barcode on or off. EAN-13 places the number system digit to the left of the bars and groups the remaining digits in two blocks of six below the bars. Showing HRI digits is required on most retail packaging so cashiers and warehouse staff can enter the code manually if a scan fails.
Bulk Barcode Generation
Paste a list of GTINs — one per line — and generate all EAN-13 barcodes simultaneously. Download the full batch as a ZIP archive containing individual PNG or SVG files named by their encoded value. Ideal for catalog managers, private-label brands, and warehouse operators who need to label hundreds or thousands of products at once.
EAN-13 Barcode — Frequently Asked Questions
Technical answers to the most common questions about EAN-13 encoding rules, check digit calculation, GS1 compliance, and practical usage.
What is EAN-13 and what does it encode?
EAN-13 is a 13-digit linear barcode symbology standardized by GS1 and ISO/IEC 15420. It encodes a Global Trade Item Number (GTIN-13) consisting of a GS1 country prefix (2–3 digits), a GS1 company number, a product item reference, and a single Mod 10 check digit. EAN-13 is the dominant retail barcode standard used on consumer product packaging worldwide. It encodes only numeric digits (0–9); no letters or special characters are supported.
How is the EAN-13 check digit calculated?
The EAN-13 check digit is calculated using the GS1 Mod 10 algorithm. Starting from the leftmost digit, multiply alternating digits by 1 and 3. Sum all the resulting values. Subtract the sum from the next multiple of 10 — the result is the check digit (if the result is 10, the check digit is 0). This generator performs this calculation automatically when you enter 12 digits. You can also enter all 13 digits and the tool will validate whether the check digit is correct.
Do I need a GS1 company prefix to use EAN-13?
For products sold through retail channels — physical stores, major online marketplaces, or any supply chain requiring GTIN submission — yes, you must obtain a legitimate GS1 company prefix from your national GS1 organization. Using self-assigned or purchased GTINs from unauthorized resellers violates GS1 standards and can result in barcode conflicts, retailer delisting, and marketplace penalties. For internal use, testing, or non-retail applications, you can use any 13-digit number with a valid check digit.
What is the difference between EAN-13 and UPC-A?
UPC-A encodes 12 digits and is the traditional North American retail barcode. EAN-13 encodes 13 digits and is the international standard. Every UPC-A barcode is also a valid EAN-13 barcode — simply prepend a leading zero to convert a 12-digit UPC-A to a 13-digit EAN-13 (the check digit remains unchanged). Since 2005, all GS1-compliant POS systems in North America are required to scan EAN-13 barcodes. For new products, EAN-13 is preferred as it works globally without modification.
What is the correct size for an EAN-13 barcode on retail packaging?
GS1 specifies a nominal (100% magnification) EAN-13 barcode size of 37.29mm wide × 25.93mm tall, with a minimum quiet zone of 3.63mm on the left and right. The allowed magnification range is 80%–200% of the nominal size. Below 80% (approximately 29.83mm wide), scanner read rates drop significantly. For small packaging, print at the largest size that fits. Always use the SVG download for packaging artwork to ensure the barcode scales correctly to any physical dimension.
Can I use EAN-13 for Amazon product listings?
Yes. Amazon requires a valid GTIN — either EAN-13 or UPC-A — for most product listings in their catalog. The GTIN must be registered to your GS1 company prefix (or obtained through an authorized GS1 licensee). Amazon cross-checks GTINs against the GS1 database, so self-issued numbers without a valid GS1 prefix will be rejected. Generate your EAN-13 barcodes here once you have a valid GS1-registered GTIN.
Is my data safe when using this generator?
Yes. All EAN-13 barcode encoding is performed entirely in your browser using client-side JavaScript. Your GTIN data is never transmitted to any server and never stored anywhere. Close the browser tab and all data is gone. This tool is safe to use with unreleased product GTINs, internal item codes, and sensitive catalog data.
What is the maximum number of digits EAN-13 can encode?
EAN-13 always encodes exactly 13 numeric digits — no more, no less. If your application requires encoding variable-length or non-numeric data, you need a different barcode symbology such as Code 128 or QR Code. If you need to encode a shorter retail identifier (8 digits), use EAN-8. If you need to add supplemental pricing or issue information to an EAN-13 barcode (common on books and magazines), pair it with an EAN-5 or EAN-2 add-on symbol.
Generate Your EAN-13 Barcode Now — Free, Instant, No Account Required
This free EAN-13 barcode generator is ready to use immediately. Enter your 12- or 13-digit GTIN, adjust size and appearance, and download a print-ready PNG or SVG barcode in seconds. No signup, no watermarks, no usage limits. Check digit is calculated automatically. All encoding happens locally in your browser — your product data stays private. Generate one barcode or thousands; the tool is completely free regardless of volume.
