Barcode Generator
Make UPC-A, EAN-13, EAN-8 and Code 128 barcodes for products, labels and stock, as print-ready vector files. Runs in your browser, no sign-up.
- No upload to any server
- No account
- No watermark
- Free, no sign-up
Barcode type
12 digits. Products sold in the US and Canada.
The number
Selling in stores or on Amazon? The number has to be yours, licensed from GS1. This tool draws the barcode for a number you already have; it does not issue numbers. For a book, use the ISBN Barcode Generator.
Size and download
Type a valid number above to see the barcode.
// How it works
Three steps, all in your browser
Pick the type
UPC-A for products sold in the US and Canada, EAN-13 for the rest of the world, EAN-8 for small packs, Code 128 for anything with letters: SKUs, shipping and asset labels.
Type the number or text
For UPC and EAN, leave off the last digit and the check digit is worked out, or type the full number and it is checked for typos.
Download it
A vector PDF with 100% black bars, an SVG, or a 300 DPI PNG. UPC and EAN come in GS1 sizes from 80% to 200%; Code 128 in bar widths from 0.25 to 1 mm.
Good to know
- Four types: UPC-A, EAN-13, EAN-8 and Code 128. No UPC-E, ITF-14, GS1-128 application identifiers, or 2D codes like QR and Data Matrix.
- Code 128 takes plain letters, digits, spaces and keyboard symbols, up to 60 characters. No accented letters.
- One barcode at a time. There is no bulk download from a spreadsheet.
- The digits are set in Helvetica or Arial. GS1 recommends OCR-B but accepts any clearly legible font.
// FAQ
Questions
Is this barcode generator free?
Yes. No account, no limit and no watermark, for personal or commercial use.
Does it give me a UPC number?
No, and no free generator can. A UPC or EAN number comes from GS1, the organisation that runs the system: a business licenses a company prefix from its local GS1 office and gives each product its own number. Once you have the number, this tool draws the barcode for it. Numbers sold cheaply by resellers may already belong to another company, so check with the store or marketplace you sell through before you buy them.
UPC-A or EAN-13: which one do I need?
Scanners in stores read both, so use the one your number came as. A US or Canadian GS1 number usually comes as a 12-digit UPC-A; numbers from most other countries come as a 13-digit EAN-13. A UPC-A is the same as an EAN-13 that starts with 0.
When should I use Code 128?
When the code has letters or symbols, or is your own internal number: SKUs, stock and bin labels, asset tags, order numbers, shipping labels. It is not for products sold in stores, which need a UPC or EAN. This tool switches to the compact digit mode for long runs of digits on its own, so mostly numeric codes come out shorter.
What size should I print it?
For UPC and EAN, 100% is GS1's standard size with 0.33 mm bars: about 1.47 x 1.04 in for a UPC-A and 1.47 x 1.04 in for an EAN-13, quiet zones included. GS1 allows 80% to 200%. Do not cut the bars shorter than the file shows, and keep the white margin on both sides.
Will it scan?
The bars follow the GS1 number tables and the Code 128 patterns of ISO/IEC 15417. We checked it on 2026-11-14 by drawing 16 barcodes of all four types and reading them back with ZXing 3.5.3, an open-source barcode reader: all 16 came back with the right data. Ink, paper and size still matter, so scan a printed test with a phone before a big print run.
Is what I type uploaded?
No. The barcode is drawn in your browser, and nothing you type is sent to our server.
// More free tools
Other free tools
EPUB Reader
Read a DRM-free EPUB in your browser, with a table of contents, themes and your place saved.
Open the tool →EPUB to TXT
Get the plain text out of a DRM-free EPUB, as one file or one per chapter.
Open the tool →EPUB to Word
Convert a DRM-free EPUB into an editable .docx with headings.
Open the tool →EPUB to PDF
Turn a DRM-free EPUB into a PDF with selectable text, bookmarks and pictures.
Open the tool →PDF to EPUB
Rebuild paragraphs and chapters from a text PDF into a reflowable EPUB.
Open the tool →Image Translator
Translate the text in screenshots and photos between 20 languages, on your device.
Open the tool →Webtoon Stitcher
Join webtoon pages into one strip and re-cut it near your page height at the gutters.
Open the tool →KDP Cover Calculator
Paperback cover size, spine width and a print template from KDP’s own numbers.
Open the tool →ISBN Barcode Generator
Turn an ISBN into a print-ready EAN-13 book barcode, with an optional price add-on.
Open the tool →QR Code Generator
Static QR codes for links, text and Wi-Fi that never expire, with no sign-up and no tracking.
Open the tool →KDP Royalty Calculator
Paperback and eBook royalty per copy on Amazon US, UK and EU, from KDP’s own rates.
Open the tool →KDP Trim Sizes
Every KDP paperback size in inches and mm, with page limits and printing cost.
Open the tool →TXT to EPUB
Turn text files into an EPUB e-book with a real table of contents.
Open the tool →Image to Text
Copy the text out of screenshots, photos and scans, in 20 languages.
Open the tool →Webtoon Slicer
Split long webtoon strips into pages at the blank gutters.
Open the tool →Words to Minutes
How long a script takes to say, at narration, recap and TTS paces.
Open the tool →Only make UPC and EAN barcodes for numbers that belong to you or your company. This tool does not issue numbers.
Sources, read on 2026-11-14: GS1 General Specifications, Release 26.0, ISO/IEC 15417 (Code 128). Test reader: ZXing.
Barcode for a book? Use the ISBN Barcode Generator: it adds the ISBN line and the price add-on.