Free barcode generator

Pick a format, type the value, download the code as PNG or SVG. Thirteen formats, from Code 128 and EAN-13 to Data Matrix and PDF417, with check digits worked out for you. No sign-up, no watermark, and the value you type never leaves your browser.

Symbology

Any letters, digits and symbols, any length — best for internal asset tags.

Input
Options

0 of 0 codes ready

Add values on the left to see your codes here.

Generated in your browser — nothing is uploaded.

Most people who open a barcode generator already know what goes inside the code. Fewer know which format it should be, and the wrong choice usually shows up later, at the scanner or at the retailer, not on screen. The short version: a product sold in shops needs UPC-A or EAN-13 with a number registered to you. A tag on your own laptops, tools or bins is better off as Code 128 or QR, because those take letters and any length. Everything else in the picker is there for a specific job.

FormatWhat it holdsWhere you'll see it
Code 128Any ASCII text, any lengthAsset tags, warehouse bins, work orders, shipping labels
EAN-13 / EAN-812 or 7 digits plus a check digitRetail products outside North America; EAN-8 on small packs
UPC-A / UPC-E11 or 6 digits plus a check digitRetail products in the US and Canada; UPC-E on packaging too small for UPC-A
ITF-1413 digits plus a check digitOuter cartons and shipping cases
Code 39Uppercase letters, digits, seven symbolsOlder industrial and automotive systems, some military specs
CodabarDigits and six symbols between A–D start/stop lettersLibraries, blood banks, old courier airbills
MSIDigits onlyShelf labels in older warehouse and retail systems
GS1-128GS1 element strings, e.g. (01) GTIN and (17) expiry datePallet and case labels that a trading partner's routing guide asks for
QR codeAny text, URL or ID, non-Latin characters includedAnything a phone camera should open
Data MatrixUp to 1,556 bytes in a small squarePart marking, electronics, labels under 1 cm
PDF417Up to 1,108 bytes in a wide stacked blockShipping documents, ID cards, boarding passes

If none of this rings a bell and the code is for your own use, take Code 128. It's what most asset tags and scanner guns expect out of the box, it validates itself with a mod-103 check character, and it doesn't care whether your IDs look like 100234 or AST-0042-b.

PNG or SVG is the question we get asked most after "which format". PNG is the safe one for Word, Google Docs, an Excel sheet or a label printer's own software, and it comes out at the size the appearance panel shows. SVG is for anyone who will scale the code afterwards, in Illustrator, Figma, Canva or a packaging file, because vector bars stay sharp at any size, where an enlarged PNG goes soft at the edges and the scanner starts guessing.

One honest limitation of the SVG: the bars are vector shapes, but the human-readable text under them is live text in the font you picked. On a computer that doesn't have that font, it falls back to a similar one and may sit a little differently. If the label goes to a print shop, convert the text to outlines in your design tool first, or switch the caption off and set it yourself.

Printing straight from the PNG? Print at 100%. "Fit to page" and "shrink to fit" change the width of every bar by a slightly different amount, and that, far more often than a cheap printer, is why a freshly printed barcode won't scan.

Need more than a handful? Typing values one at a time stops making sense around the fifth code. The bulk barcode generator takes a pasted list, a CSV or the Excel file itself, numbers a sequence for you, and hands back a ZIP, an Avery label sheet or a print-ready grid, up to 300 codes per run. For runs that are all Code 128, the bulk Code 128 barcode generator opens with that format already picked.

A code that came out blurry or damaged on an existing label can often be read and rebuilt with the barcode and QR repair tool, and the barcode scanner reads any of these formats back through your camera, which is a quick way to check a print before you run off a whole sheet.

Related free tools

Same workflow, different code. No sign-up on any of them.

QR Code Generator

Create QR codes for links, text, Wi-Fi, email, or phone. Customize colors, add a logo, download PNG or SVG, all in your browser.

Open generator

vCard QR Code Generator

A QR code that adds a contact in one scan — name, company, phone, email. Static, no expiry, no account, exported as PNG or SVG.

Open generator

Bulk QR Code Generator

Turn a list, CSV, or numbered sequence into up to 300 QR codes at once, then export them as PNGs, a ZIP, or a print-ready Avery sheet.

Open generator

Bulk Barcode Generator

The same batch workflow for linear barcodes. Paste a list or upload a CSV and render dozens at once as PNGs, a ZIP, or an Avery PDF sheet.

Open generator

Bulk Code 128 Barcode Generator

The alphanumeric format most asset tags use. Paste a list, upload a spreadsheet export, or number a sequence — up to 300 Code 128 codes in one run.

Open generator

UPC Barcode Generator

UPC-A and UPC-E for retail products, plus EAN-13 and EAN-8 for markets outside North America. Check digits computed as you type.

Open generator

Barcode & QR Scanner

Read a code back with your camera or from a photo. QR, EAN, UPC, Code 128, and Data Matrix, decoded in your browser.

Open scanner

Code 39 Barcode Generator

The legacy industrial format that old scanner fleets and military specs still require. One code or a batch of 300, validated as you type.

Open generator

EAN-13 Barcode Generator

Retail EAN-13 with the check digit computed for you — type 12 digits, get 13. Single codes or a CSV batch, verified before they render.

Open generator

GS1-128 Barcode Generator

Element strings in (AI) syntax with FNC1 placed automatically — GTIN and SSCC check digits verified, application identifiers validated.

Open generator

Data Matrix Generator

ECC-200 Data Matrix for part marking and tiny labels — the square code that fits where QR cannot. One code or a batch of 300.

Open generator

PDF417 Barcode Generator

The stacked format on shipping papers and passes. Renders single codes or a CSV batch, readable by laser guns and cameras alike.

Open generator

QR Code & Barcode Repair

Upload a photo of a code that won't scan. The tool decodes what survives in the print and rebuilds a clean replacement to reprint.

Open repair tool

Barcode generator: common questions

What people ask before they print their first code.

  • Is this barcode generator really free?

    Yes. No account, no watermark, no limit on how many codes you make, and you can use them commercially. What it can't do is give you a registered product number: a UPC or EAN code that a retailer will accept has to come from GS1, and no generator, free or paid, can create that registration.

    How do I make a barcode for a product I sell in stores?

    Get the number from GS1 first, then generate the code from it. Generating a random 12-digit UPC gives you a code that scans perfectly and gets rejected by Amazon or Walmart at listing time, because they check it against the GS1 registry. The UPC barcode generator covers the costs and the GS1 routes in more detail.

    Do I need to add the check digit myself?

    No. For EAN-13, EAN-8, UPC-A, UPC-E and ITF-14, type the number without the last digit and it gets calculated. Type the full number and it gets checked instead, with a warning if the last digit doesn't match. Code 128 adds its own check character inside the bars, so you type only the value you want the scanner to return.

    Can I make a barcode in Excel or Word?

    Download the PNG and insert it as a picture. That's fine for a few codes. For a whole column of values, upload the Excel file to the bulk barcode generator instead: it reads .xlsx directly and gives you a ZIP of PNGs or a spreadsheet with each barcode next to its value.

Tagging assets at scale? Talk to sales

Everything happens in your browser. The code is drawn on your own device and the value you type is never sent to our servers, which matters more than it sounds when the value is an internal serial number or a customer ID. The download libraries load only when you click a download button.

up arrow