EAN-13 Barcode Generator
Generate EAN-13 retail barcodes with the check digit computed for you, single or in bulk, as PNG or SVG.
วิธีใช้ EAN-13
- 01
Enter a 12-digit product number, or a full 13-digit EAN-13 code to check.
- 02
Set length, height and margin in millimetres, and choose whether the digits print under the bars.
- 03
Download the code as PNG or SVG, or paste a list to generate many at once.
Where EAN-13 numbers come from
EAN-13 numbers are issued through GS1, the organisation behind the global barcode standard. Companies license blocks of numbers from a GS1 member organisation and assign individual numbers from that block to their own products, so the number identifies a specific product from a specific company rather than being chosen freely.
The digits at the start of the code are a GS1 prefix that identifies which member organisation issued the number, historically tied to a country or region. That prefix is about the issuer, not the manufacturer: a product with a prefix associated with one country can easily be made somewhere else entirely, since companies keep the prefix from wherever they first registered.
The check digit, explained
The 13th digit of an EAN-13 code is not part of the product identity. It is a check digit, calculated from the 12 digits before it with GS1's mod-10 formula: starting from the rightmost of those 12 digits, alternate digits are multiplied by 3 and 1, the results are added together, and the check digit is whatever number brings that sum up to the next multiple of ten.
Working through an example makes it concrete. For the 12 digits 400638133393, the alternating sums come out so that the total needs 1 more to reach a multiple of ten, so the check digit is 1 and the full code is 4006381333931. This tool does that arithmetic for you: enter the 12-digit body and it appends the correct check digit, or enter all 13 digits and it confirms the check digit matches.
Printing and bulk generation
A retail EAN-13 code needs enough size and a clear quiet zone, the empty margin on either side, for a point-of-sale scanner to read it reliably. Print at or near 100% of the standard size where possible, avoid placing text or artwork inside the quiet zone, and prefer the SVG download for packaging artwork that will be resized in another program.
For product lists rather than a single code, paste one number per line, 12 digits to have the check digit computed or 13 to have it verified, and download every result at once as a PNG or SVG zip.
คำถามที่พบบ่อย
Where do EAN-13 numbers come from?
GS1, the standards body, licenses blocks of numbers to companies through its national member organisations, and each company then assigns numbers from its own block to its products. The leading digits are a GS1 prefix that identifies which member organisation issued the number, not where the product was manufactured, so a prefix commonly associated with one country says nothing about where an item was actually made.
How is the check digit calculated?
The last digit of an EAN-13 code is a check digit computed from the 12 digits before it using GS1's mod-10 formula: multiply alternating digits by 3 and 1 starting from the right, add the results, and the check digit is whatever number brings that total to the next multiple of ten. For 400638133393 that works out to 1, giving the full code 4006381333931. Type the 12 digits and this tool fills in the 13th for you; type all 13 and it verifies your check digit instead.
How does EAN-13 relate to UPC-A and EAN-8?
UPC-A is the 12-digit code long used in North America, and adding a leading zero to a UPC-A number produces a valid EAN-13 code, which is why EAN-13 scanners can usually read UPC-A too. EAN-8 is a shorter 8-digit variant for small packaging where a full 13-digit code would not fit legibly.
How large should a printed EAN-13 code be?
The nominal EAN-13 symbol is 37.29mm wide at 100% magnification, and scanners tolerate a range of magnifications either side of that. Keep the plain margin, the quiet zone, on both sides free of text or graphics, since scanners use it to know where the code starts and ends. Shrinking the code too far or crowding the quiet zone is the most common reason a printed barcode fails to scan.
Can I generate a whole product list at once?
Yes. Paste one product number per line, 12 digits or 13, and each line generates its own barcode with the check digit computed or verified individually. Any line with the wrong length or a bad check digit is flagged without stopping the rest of the list, and you can download the whole batch as a PNG or SVG zip once it looks right.
แหล่งข้อมูล
ฝังเครื่องมือนี้
เพิ่มเครื่องมือนี้ลงในเว็บไซต์ของคุณเอง คัดลอกสคริปต์ด้านล่าง โดยจะอัปเดตให้เป็นปัจจุบันโดยอัตโนมัติ
<iframe src="https://monu.tools/embed/th/ean-13-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>เครื่องมือที่เกี่ยวข้อง
Code 128
Generate dense Code 128 barcodes for SKUs, serials, and logistics labels, single or in bulk, as PNG or SVG.
นาฬิกาจับเวลา
ตัวนับถอยหลังและสต็อปวอทช์ในเครื่องเดียว ตั้งชั่วโมง นาที และวินาทีสำหรับตัวจับเวลา หรือบันทึกรอบด้วยสต็อปวอทช์ มีเสียงเตือน
เครื่องคิด BMI
คำนวณดัชนีมวลกายจากน้ำหนักและส่วนสูงในหน่วยเมตริกหรืออิมพีเรียล ดูหมวดหมู่ตามองค์การอนามัยโลก (WHO) ช่วงน้ำหนักที่ดีต่อสุขภาพ และค่าอ้างอิงตามอายุของคุณ
BMR Calculator
Estimate your basal metabolic rate, the calories your body burns at rest, with the Mifflin-St Jeor, Harris-Benedict and Katch-McArdle equations, plus your TDEE for your activity level.