EAN-13
The retail standard outside North America. Thirteen digits: prefix, company, product, check digit.
- Data
- 12 digits + check
- Use for
- Products sold in shops
Runs on your device · values stay private
Easy Barcode Tools is a free barcode generator and barcode maker that runs in your browser – no sign-up, no watermark, free for commercial use. Type a number, get a scannable symbol. EAN-13, EAN-8, UPC-A, Code 128, Code 39, ITF-14 and QR codes, with the check digit worked out for you and print-ready SVG or PNG on the way out.
Download as SVG, PNG, JPG, GIF or PDF. No watermark, free for commercial use, and your data never leaves your browser.
Optional support
If this free generator saves you time, you can support its continued development through Stripe.
Four steps
Ten formats
The retail standard outside North America. Thirteen digits: prefix, company, product, check digit.
The short retail code for packages too small to carry a full EAN-13.
The twelve-digit North American retail code — an EAN-13 with a leading zero, which is why scanners read both.
Encodes any ASCII text and switches character sets automatically to stay compact.
Older and wider, but readable by practically every scanner ever built.
The carton code, framed by heavy bearer bars so it survives corrugated cardboard.
Two-dimensional and read by any phone camera. Holds links, Wi-Fi details or plain text.
Bookland numbers rendered as EAN-13, with support for ISBN-10 and ISBN-13 input.
Structured Code 128 data for logistics labels, batches and expiry dates.
Compact two-dimensional symbols for small parts, instruments and industrial labels.
Reference
| Type | Character set | Length | Check digit | Typical use |
|---|---|---|---|---|
| EAN-13 | Digits | 13 | Mod 10, automatic | Retail |
| EAN-8 | Digits | 8 | Mod 10, automatic | Small retail packs |
| UPC-A | Digits | 12 | Mod 10, automatic | North American retail |
| Code 128 | ASCII 0–127 | 1–80 characters | Mod 103, built in | Logistics, inventory |
| Code 39 | A–Z 0–9 - . space $ / + % | 1–43 characters | Optional, not used | Asset and legacy labels |
| ITF-14 | Digits | 14 | Mod 10, automatic | Shipping cartons |
| QR Code | Any text (UTF-8) | up to ~850 characters | Reed–Solomon, built in | Links on packaging |
| ISBN | Digits, hyphens, trailing X | 10 or 13 digits | Mod 10, automatic | Books |
| GS1-128 | ASCII plus application identifiers | up to ~80 characters | Mod 103, built in | Logistics labels |
| Data Matrix | Any text (UTF-8) | up to ~170 characters | Reed–Solomon, built in | Small parts marking |
Before you print
Last reviewed: · How we maintain these tools
Keep exploring
Start with the system that must read the result. If you are selling an item at retail, first find the product number assigned to that exact size, color or pack count. Then use the generator that matches the retailer’s requested symbol. If you only need to identify your own shelf or a piece of equipment, use an internal ID and choose a format your scanner and software can read. A barcode image represents a value; it does not allocate a retail number or enroll a product in a marketplace.
Use EAN-13 or UPC-A when the recipient specifies those symbols. Choose EAN-8 only if you have the appropriate short identifier. The ISBN generator draws a Bookland symbol for a book number you already have. For distribution, compare the ITF-14 carton generator with the GS1-128 generator: the former encodes a trade-item number, whereas a GS1 logistics workflow can require additional structured fields. Use the check digit calculator to check arithmetic separately from product assignment.
Try Code 128 for a compact internal ID or Code 39 when legacy equipment requires it. Data Matrix can suit a small part label if the reader supports that format. To create several codes from a list, start with the bulk barcode generator and try a few representative rows before exporting the full batch. Use the address label generator for mailing layouts. The Etsy and Shopify tools explain where your own stock IDs fit into each selling workflow.
Use the QR code generator for a public address or short text. Open the intended address without signing in before printing it. Use a Wi-Fi QR for a guest network whose details you intend to share, and a vCard QR for public contact details. Keep a plain-text alternative beside a QR intended for the public. People without a camera or data connection should still know how to get the information they need.
Generate a sample with a value you are entitled to use. Choose an export your label application can handle, leave room for the clear margins and print at actual size. Scan on the stock, product or holder you will use. Compare the decoded value with your source record, then try it in the receiving app. A good phone scan is a useful first check; it does not certify the print or confirm acceptance at a retail register.
Browse the barcode guides for step-by-step proofing, product numbering and QR placement, or compare the barcode formats before choosing a tool.
Questions
Yes. No sign-up, no watermark, no cap on how many you make, and the files are yours to use commercially.
No. The encoder is JavaScript running on your device. Barcode values are not sent to a server, and once the page has loaded it keeps working offline. Optional Analytics is handled separately and only starts after consent.
You can print any number you already own. Retail EAN and UPC numbers have to be licensed from GS1 — this tool turns a number into a scannable symbol, it does not assign one to you.
SVG for anything that gets printed, because it is vector and holds exact bar widths at any size. PNG when a marketplace or document will not take vector files.
The final digit of an EAN, UPC or ITF-14 number is derived from the digits before it, so a scanner can catch a misread. Type the number without it and the correct digit is added.
Usually the quiet zone was cropped, the image was scaled up from a low-resolution PNG, the contrast is too low, or the bars are too narrow for the printer. Re-download as SVG at a larger module width.
Yes. Use Share to open your phone’s sharing menu, or copy the link and send it through WhatsApp, X or email. The link contains the barcode type and value, so share it only if you want others to see that value.
Choose a format, enter a value and use the preview to check it. Download the barcode as an image or PDF; no sign-up is required, and the value is encoded in your browser.
Use SVG or PDF for print because vector output preserves sharp edges at different sizes. PNG is a good choice for the web. JPG or GIF can help with older software that does not accept PNG.
Allow optional Google Analytics cookies to help us understand visits? The generator works fully without them. You can change this choice at any time.