Free EAN Barcode Generator: EAN-13 and EAN-8

Create an EAN-13 or EAN-8 in seconds. Check digit calculated. Download SVG, PDF or PNG. No signup.

Free — no accountEAN-13 & EAN-8Check digit doneVector SVG & PDF

12–13 digits. International retail standard.

Customize

Preview

Enter data to see preview

Runs in your browser. Nothing to install.

The picker above also holds EAN-8, UPC-A, Code 128 and ten more. All fourteen formats live on the barcode generator.

The format

What an EAN Barcode Actually Is

An EAN-13 is thirteen digits drawn as bars, plus the same thirteen digits printed underneath so a person can read them when the scan fails. It is the retail barcode of most of the world — Europe, Asia, Latin America, Africa and Oceania.

The GS1 prefix

The leading digits identify the GS1 Member Organisation that issued the company prefix — where the company registered, not where the goods were made. Treating the prefix as country-of-origin labelling is the most common misreading of an EAN, and it is wrong often enough to matter.

The company and item digits

After the prefix comes the rest of the GS1-issued company prefix and the item reference you assign under it. Where one ends and the other begins depends on how long your prefix is — that is decided by GS1, and nothing in the barcode marks the boundary.

The check digit

The last digit is arithmetic on the ones before it, so there is exactly one correct value. It is the reason a mistyped EAN usually fails at the scanner instead of quietly ringing up a different product.

The name is a fossil. EAN began as the European Article Number and the standard it sits in is now GTIN-13, administered by GS1 worldwide — the term stuck because it is what everyone still calls the symbol. Americans meet the twelve-digit UPC first and often assume EAN is the regional variant; it is the other way round, and the next section sets out the relationship exactly. QRKIT draws the symbol in your browser as you type — the encoder runs client-side, so the numbers you enter are not sent anywhere to be turned into a barcode. For how EAN compares with the 2D symbologies, see our QR code vs barcode comparison.

EAN-13

The EAN-13 Barcode Generator: Lengths, Check Digit, Refusals

What follows is what this tool does, not a paraphrase of the standard. Where the two differ, the tool is what you will actually hit.

Twelve digits: we finish it

Enter 590123412345 and the generator computes the check digit and draws the completed code. The human-readable line reads 5901234123457 — the full thirteen digits, not the twelve you typed.

Thirteen digits: we check it

Supply all thirteen and the last one is recalculated and compared. If it does not match, no symbol is drawn. That is the behaviour you want: a barcode with a wrong check digit prints perfectly and fails at the till.

Eleven digits: refused

The field takes 12 or 13 and nothing else, with the message “EAN-13 requires 12 or 13 digits, with no spaces”. It also stops accepting keystrokes at 13, so a 14-digit outer-case number cannot be typed here at all — that is ITF-14, and it is a different entry in the picker.

Spaces are not cleaned up for you

Leading and trailing whitespace is trimmed, but an interior space is not. A number pasted from a spreadsheet as 590123412345 7 is rejected rather than silently repaired, because guessing at formatting is how the wrong product gets encoded.

Letters are not an EAN. EAN-13 is a numeric-only symbology — there is no way to put a letter, a hyphen or a slash into one, and a tool that appears to let you has quietly switched you to a different format. If your internal reference contains letters, you want Code 128, which is in the same picker above.

EAN-8

EAN-8: the Short Form for Small Packages

EAN-8 prints eight digits in roughly half the width of an EAN-13, which is why it turns up on chewing gum, sachets, small cosmetics and single confectionery bars — anything whose packaging genuinely cannot carry a full symbol at a scannable size.

What you can type

9638507   or   96385074

Seven digits and the eighth is calculated for you, or all eight and the last is verified. All eight are printed under the bars in two groups of four — unlike EAN-13, nothing sits outside the symbol.

What it refuses, and why

963850   ·   96385075

Six digits is too short to be an EAN-8 with or without its check digit, so there is nothing to complete. And an eight-digit number whose last digit is not the correct check digit draws no symbol at all, rather than a barcode that will fail at a checkout.

An EAN-8 is not a squeezed EAN-13. This is where EAN and UPC genuinely differ, and it trips people up constantly. UPC-E isa compressed UPC-A — a scanner expands it back before doing anything with it. EAN-8 is not: it is a separately allocated number, issued by GS1 from a restricted pool precisely because eight-digit numbers are scarce, and it carries no company prefix in the usual sense. There is no arithmetic that turns your EAN-13 into an EAN-8, so no tool can derive one and this one does not try — it encodes the eight-digit number you give it. If the package has room for a full EAN-13, use one.

EAN and UPC

A UPC-A Is an EAN-13 With a Leading Zero

These are not competing standards. UPC-A is a subset of EAN-13: take a twelve-digit UPC-A, put a zero in front of it, and you have the thirteen-digit EAN-13 for the same product. That is why essentially every scanner built in the last thirty years reads both without being told which one it is looking at, and why a product sold on two continents does not need two different numbers.

The practical upshot, if you have both numbers in front of you: they are the same GTIN written at two lengths. An EAN-13 that begins with a zero isa UPC-A. An EAN-13 that begins with anything else has no UPC-A form — you cannot shorten it, and a US retailer that insists on twelve digits is asking for a number you were never issued.

The one trap in this generator

Pasting a twelve-digit UPC-A into the EAN-13 field does notconvert it. The field accepts twelve digits as an EAN-13 that is still missing its check digit, so it appends a new one — and you get a different number.

Typing the bare UPC-A

012345678905

→ 0123456789050

A different product number entirely.

Adding the zero yourself

0012345678905

→ 0012345678905

The correct EAN-13 for that UPC-A.

Need the twelve-digit symbol instead? UPC-A and UPC-E have their own page, with the US retail rules, the compression story and the number-system digit set out in full. Use the UPC barcode generator.

Books and magazines

Where ISBNs Fit Inside EAN-13

The 978 and 979 prefixes were set aside inside EAN-13 for publishing, which is why a 13-digit ISBN is an EAN-13 rather than something that has to be translated into one. Paste those thirteen digits into the field above and you get exactly the symbol printed on the back of the book, check digit verified. That is also why there is no separate ISBN entry in the format picker: it would draw an identical barcode under a second name.

One thing this generator will not do is convert a ten-digit ISBN. An ISBN-10 is not an EAN-13 and will not encode as one; it has to become an ISBN-13 first, and that conversion happens before you get here.

The narrow second barcode is not ours. Many book and magazine covers print a small symbol beside the main one: an EAN-5 carrying the recommended price, or an EAN-2 carrying an issue number. Those are separate add-on symbols, they are not in our format list, and this generator does not draw them. If a printer’s specification calls for a price add-on you will need a dedicated tool for that part.

Publishing a book? The full version of this — where an ISBN comes from, how the 978 range works, and what a printer expects on a cover — is set out on our ISBN barcode generator page.

Output

Vector SVG and PDF, at the Size You Will Actually Print

Retail symbols are sized by magnification, not by taste, and an EAN that is 10% too small is an EAN that holds up a queue. This generator exports genuine vector and lets you state the finished dimensions up front.

SVG

Real geometry written into the file, not a traced bitmap. Opens in Illustrator, Inkscape and label software, and scales to any size without softening a bar edge.

PDF

Also true vector — the barcode is redrawn with the PDF's own drawing primitives on a page sized to the symbol itself, rather than an image dropped onto a letter sheet.

PNG

The raster option, at 72, 150, 300 or 600 DPI. Fine for screens and office printers; reach for SVG or PDF when the file is going to a plate or a label press.

Set the width, not a guess

Enter a target print width in millimetres, inches or pixels and the export is generated at exactly that size. The one ceiling is 10,000 pixels per side — just under 847 mm at 300 DPI — and the tool says so on screen if a request runs into it.

The 80% magnification floor

GS1 caps retail EAN symbols at 80% magnification, where one bar is 0.264 mm wide. The tool works out your bar width live and warns the moment it drops below that — which is the number a shrunk-to-fit label lives or dies on.

Quiet zones included

Eleven modules of clear space on the left of an EAN-13 and seven on the right; seven and seven for an EAN-8. The asymmetry is in the GS1 specification, not a rendering quirk, and it is drawn into the exported file. Do not crop it away in your layout.

What we do not do: we draw the symbol and export the file. Print quality on the finished package — contrast, ink spread on absorbent stock, grading against a print-verification standard — depends on your printer and substrate, and is not something QRKIT measures, grades or certifies. Print a real sample and scan it with the kind of scanner that will read it before committing to a run.

In bulk

500 EAN Barcodes From One Paste

Open Generate many at once underneath the generator, paste a column of product numbers or upload a CSV, and take the whole catalogue in one download. No account, no upgrade prompt.

Paste or upload

One number per line, or a CSV. When your file has a header row the tool works out which column holds the codes, shows you the choice it made and lets you change it — so a name,sku export does not quietly try to encode product names.

Three outputs

A ZIP of PNGs, a ZIP of SVGs, or a single PDF with one barcode per page. Files are numbered in input order, so the archive sorts back the way your list was written.

Nothing fails quietly

Every row runs through the same length and check-digit rules as the single-code field. Rows that cannot be encoded are listed with their row numbers and left out of the download rather than silently producing a broken label.

About the 500-row cap. It is a browser-memory limit and nothing else — the batch is rendered on your own machine, and 500 barcodes at 300 DPI is already tens of megabytes held in memory. It is the same number for everyone, there is no account or plan that raises it, and when it bites the tool tells you exactly how many rows were left out so you can split the list and run the rest.

Step by step

How to Create an EAN Barcode

Step 1

Choose EAN-13 or EAN-8

The generator above already has EAN-13 selected — the thirteen-digit international standard. Switch to EAN-8 only if the package is genuinely too small and GS1 has issued you an eight-digit number.

Step 2

Enter the digits

12 or 13 digits for EAN-13, 7 or 8 for EAN-8. Leave the check digit off and it is calculated; include it and it is verified. Digits only — no spaces, no hyphens.

Step 3

Set the print size

Give it a target width in mm, inches or pixels, and pick 72–600 DPI for raster output. The tool reports the finished size and warns if one bar drops under 0.264 mm.

Step 4

Download

SVG or PDF for anything going to print; PNG for screens. No signup, no account, no watermark, and the symbol is yours to use commercially.

The number is the part we cannot give you. An EAN that scans correctly at a retail checkout has to be built on a company prefix licensed from GS1, the organisation that administers GTIN numbering worldwide. QRKIT does not issue, sell, resell or validate GS1 prefixes, is not affiliated with or endorsed by GS1, and has no way to tell you whether a number you typed belongs to you. License the prefix first if the product is going into shops, then come back and generate every symbol here for free. For a closed system you control — your own stockroom, your own till, your own inventory tracking — nothing here checks a prefix, so nothing here stops you.

Specs

What This Generator Does, Exactly

Including the limits. A tool that only lists what it can do is harder to plan a label run around than one that tells you where it stops.

PropertyValueNotes
Symbologies hereEAN-13 and EAN-8Both in the picker above. EAN-8 is a separately allocated short number, not a compressed EAN-13.
EAN-13 input length12 or 13 digits13 is the finished code. Enter 12 and the check digit is computed; enter 13 and yours is verified.
EAN-8 input length7 or 8 digitsSame rule at the shorter length. Enter 7 and the eighth is computed for you.
Character setDigits 0–9 onlyNo letters, no punctuation, no spaces. The value is trimmed at the ends; an interior space is rejected rather than stripped.
Check digitCalculated, or verifiedLeave it off and it is worked out for you. Supply it and a wrong one is refused — no symbol is drawn at all.
Human-readable lineThe completed numberEAN-13 prints its first digit to the left of the bars and the other twelve in two groups of six. EAN-8 prints all eight under the bars in two groups of four. It can be switched off.
Quiet zoneEAN-13 11 + 7 modules; EAN-8 7 + 7GS1 General Specifications, and asymmetric for EAN-13. Drawn into every exported file. Never crop it away.
Smallest bar we advise0.264 mmGS1 caps retail symbols at 80% magnification, where the X-dimension is 0.264 mm. The tool warns on screen below it.
Export formatsPNG, SVG, PDFSVG and PDF are genuine vector, and the PDF page is sized to the barcode. There is no EPS export.
Raster resolution72, 150, 300 or 600 DPIPaired with a target print width in mm, inches or pixels. One ceiling: 10,000 pixels per axis.
Design controlsBar colour, background, bar width, height, text on/offThat is the whole list. No logo, no gradient, no frame — a retail symbol has to stay a plain dark-on-light barcode to scan.
Add-on symbolsNot generatedThe EAN-5 price add-on and the EAN-2 issue number printed beside book and magazine barcodes are not in the format list.
Batch sizeUp to 500 codes at onceA browser-memory cap, identical for everyone. Signing in does not raise it, because there is nothing to sign in to.
Code typeStaticThe number is the content. No redirects, no scan counts, no editing after download.
GS1 company prefixNot issued hereWe draw the symbol. The number underneath it, if it is going to a retail checkout, has to be licensed from GS1.

Not on the list, and deliberately: GS1-128, which we do not generate. There is no barcode API, no Excel add-in and no font. There is also no separate ISBN entry in the format picker, for the reason set out above — an ISBN-13 is an EAN-13, so the EAN-13 field is the ISBN field.

Pricing

Free, and Free in the Way You Meant

“Free” usually turns out to mean free to preview. Here it means what it says: the EAN generator on this page asks for no account to create a barcode and no account to download the file, stamps nothing on the output, and has no paid tier above it.

Included, at no cost

Free forever
  • EAN-13 and EAN-8
  • Check digit calculated or verified
  • Unlimited barcodes — no daily quota
  • PNG, SVG and vector PDF download
  • Print width in mm/in/px and 72–600 DPI
  • Bulk generation up to 500 at a time
  • No signup, no account, no card
  • No watermark on any export
  • Commercial use allowed

Not available at any price

Be clear about it
  • No dynamic or trackable EAN. The number is the whole content, so there is nothing to redirect and nothing to count. Every barcode here is static.
  • No GS1 numbers. We draw the symbol. We do not issue, sell or validate a company prefix, and we are not affiliated with GS1.
  • No EAN-5 or EAN-2 add-ons. The price and issue-number symbols printed beside book and magazine barcodes are not in the format list.
  • No barcode API or integration. No REST endpoint, no Zapier, no plugin, no library.
  • No decoding. This page generates EAN barcodes; it does not read them.

Need a code you can change or measure instead? That is what a dynamic QR code is for — edit the destination after printing, and see scan counts. It is a different symbology and a different product, and unlike the barcode tool it involves an account. Learn about dynamic QR codes.

EAN Barcode Generator — Frequently Asked Questions

Get started

Generate Your EAN Barcode

EAN-13 or EAN-8, check digit calculated, drawn in your browser and exported as vector SVG, PDF or PNG at the size you will print it. No signup, no watermark.

EAN-13 & EAN-8Check digit done for youVector SVG and PDFUp to 500 at once