Home » SEO Tools » Barcode Generator

Free Barcode Generator Online

Draw barcode style bars from your text or numbers on a canvas, with the value printed below, and download the image.

Last updated 13 November 2026

Use the tool

Important: these bars are drawn from your input by a simple deterministic pattern in your browser. They are a visual barcode only, and they have not been verified as a scannable barcode standard. Test scanning before you use them for real products or labels.

A barcode is a pattern of bars that stores a short value, such as a product number, in a form a scanner can read. Real barcode standards define exact bar patterns, checksums and quiet zones, and a pattern that does not follow a standard may not scan.

This tool draws bars from your input using a simple deterministic pattern in your browser, with the value printed below, and lets you download the image. It is honest about its limit: the bars are visual only, and they have not been verified as a scannable barcode standard.

How to Use This Tool

  1. Enter your text or numbers: type the value you want shown below the bars.
  2. Click Draw Barcode: the bars appear on a white canvas with your value below them.
  3. Click Download Image: save the bars as a PNG image.
  4. Test before real use: if you need a barcode for real products or labels, test scanning first, and use a verified standard barcode tool for production.

Good Practice Tips

  • Do not use this for real products yet: unverified bars may fail at a checkout scanner.
  • Keep values short and clear: short numbers print more clearly below the bars.
  • Print at a good size: tiny bars on a small label are harder to see and harder to scan.

What This Tool Actually Draws

When you type a value and click Draw Barcode, this tool draws black vertical bars on a white canvas 600 by 180 pixels, and prints your value below the bars. The bar widths come from a fixed pattern built into the page. It follows no barcode standard, adds no quiet zones and no check digit. The result looks like a barcode, but no checkout scanner is built to read it.

Download saves the canvas as a PNG image, and everything runs in your browser, so nothing you type is sent to a server.

Which Barcode Format Should You Use

Real barcodes come in formats, each with its own rules about what it can hold and where it is used. This tool does not generate any of these formats. The table below explains them as general knowledge.

FormatWhat it holdsWhere it is used
Code 128Letters, numbers and symbolsGeneral labels, shipping and stock
EAN-1313 digits, the last one a check digitRetail outside North America
UPC-A12 digits, the last one a check digitRetail in North America
EAN-88 digits, the last one a check digitSmall retail products
Code 39Letters, numbers and a few symbolsIndustrial labels

If you sell a product in a shop, you almost always need EAN-13 or UPC-A, with a number from GS1. None of these is a feature of this tool today.

Where Barcode Numbers Come From

A barcode generator draws bars. It does not issue a product number. For products sold in shops, the number under the bars must come from GS1, the organisation that issues company prefixes and product numbers for retail. You register with GS1 and build product numbers from your prefix. A number you invent can already belong to another product.

A check digit alone does not make a number valid. It only proves the digits were typed correctly.

What Is a Check Digit

A check digit is the last digit of a retail barcode number, worked out from the digits before it, and its only job is to catch typing errors.

Here is how EAN-13 works. Take the first 12 digits 590123412345. Add the digits in the odd positions, 5 plus 0 plus 2 plus 4 plus 2 plus 4, which gives 17. Add the digits in the even positions, 9 plus 1 plus 3 plus 1 plus 3 plus 5, which gives 22, and multiply that by 3 to get 66. Add 17 and 66 to get 83. The next multiple of 10 above 83 is 90, and 90 minus 83 is 7, so the full number is 5901234123457. UPC-A works the same way with 11 digits plus a check digit. This tool does not work out check digits.

Printing and Scanning Tips

These tips are general guidance for real barcodes, and they also help this tool's visual bars look their best. Print black bars on a white background, because scanners read contrast. Leave a clear quiet zone, an empty strip with no text or border, on both sides of the bars. Print the bars tall enough to scan easily, and do not shrink a barcode to fit a small label. Test scan the printed label before you print a whole run.

Good Uses for a Visual Pattern

Visual bars still have honest uses, as long as no scanner needs to read them. Use them in a mockup of a product label, a poster or a web page, where the bars set the look without carrying data. Use them to show a client how a label will look before the real number arrives from GS1.

When a code must be read by a machine, switch to a tool that builds a real format. For a square code a phone camera can read, try the QR Code Generator, and to read a code that already exists, try the QR Scanner. For the paperwork, try the Invoice Generator and the Unit Converter.

Frequently Asked Questions

Will this barcode scan at a checkout?

Not guaranteed. These bars are a visual pattern only, and they have not been verified as a scannable barcode standard. Test scanning before any real use.

Why is this not a verified standard barcode?

Real standards need exact bar patterns and checksums. This tool draws bars from a simple pattern in your browser, and it does not claim to follow a standard.

Can I download the barcode image?

Yes. Click Download Image to save the bars as a PNG image.

Is my input uploaded to a server?

No. Everything runs in your browser on your own device, so your text never leaves your computer.

Which barcode format should I choose?

It depends on where the code will be used. Code 128 suits general labels, shipping and stock, because it holds letters, numbers and symbols. EAN-13 suits retail products sold outside North America, and UPC-A suits retail products sold in North America. Both need a number from GS1 and a check digit. This tool does not generate any of these formats yet, so pick the format first and use a tool that builds it properly.

Can I invent my own product number?

Not for products sold in shops. Retail numbers come from GS1, and a number you invent can already belong to another product. For labels inside your own business that no shop will scan, you can use any value you like.

What is a check digit?

The check digit is the last digit of a retail barcode number, worked out from the digits before it. It catches typing errors. For example, the EAN-13 number 590123412345 has the check digit 7, giving the full number 5901234123457. This tool does not work out check digits.

Why will my printed barcode not scan?

The usual causes are low contrast, bars printed too small, a missing quiet zone at the sides, or bars built to the wrong format. Check those in that order, and test scan before a full print run. Bars from this tool are a visual pattern only, so they may not scan even when printed well.

Can I use this tool for product labels I sell?

No. Use a tool that builds a verified standard barcode, with the right format, check digit and quiet zones, and a number from GS1. The bars from this tool suit mockups, teaching and labels that people read with their eyes only.

↑