Modern Niche World MNW

Barcode Generator

Type a code or a product number, choose the barcode type, and download a barcode with its quiet zones and the text printed under the bars.

Letters, digits, spaces and common symbols, up to 80 characters.

What you type stays on your device: nothing is sent or saved.

Type the text to see your barcode.

Make a barcode a scanner can read

A barcode writes a number or a short code as bars, so a scanner reads it in a moment instead of someone typing it. This tool draws three common kinds, with the check digit and the blank margins scanners need, ready for a label, a packaging design or a stock sheet.

How to use it

  1. Choose the type: Code 128 for your own codes, EAN-13 or UPC-A for a retail product number.
  2. Type the text or number. For EAN-13 and UPC-A you can leave off the check digit, and it’s worked out for you.
  3. Set the bar height and width, and whether to show the text under the bars.
  4. Download SVG for print and design apps, or PNG for documents and label software. Scan a test print before you print a batch.

The three types

  • Code 128 holds letters, digits, spaces and symbols. Where it makes the barcode shorter, runs of digits are packed two to a pattern.
  • EAN-13 is the 13-digit product number on retail goods in most countries.
  • UPC-A is the 12-digit product number used mainly in the US and Canada.

What the options do

  • Bar width sets the narrowest bar, called a module, in pixels. Every other bar and space is a whole number of modules.
  • Bar height sets how tall the bars are. Taller bars give a scanner more room to read across.
  • Show the text prints the code under the bars, so someone can type it if a scan fails.

Printing it well

  • Keep the white margins on both sides. Scanners use these quiet zones to find where the code starts and ends, so don’t crop them or print over them.
  • Black on white is the safest pairing. Scale the barcode evenly; don’t stretch it in one direction.
  • Use the SVG for print, where it stays sharp at any size. GS1’s nominal size for an EAN-13 is about 37.3 mm wide, quiet zones included, with a 0.33 mm module.

Good to know

A barcode only encodes the number you give it. Retail product numbers, called GTINs, are issued by GS1 through its national offices, and a store’s system has to know your number before a scan means anything there. This tool doesn’t issue, register or look up any number. For a web link or longer text, a QR code holds much more. To turn the SVG into a large PNG, use SVG to PNG.

Frequently asked questions

Which barcode type should I use?
Code 128 for your own labels: stock codes, asset tags, bin locations or order numbers, including letters. EAN-13 and UPC-A are for retail product numbers and hold digits only; EAN-13 is used in most countries, UPC-A mainly in the US and Canada.
Where do I get a product number for selling in stores?
Retail product numbers, called GTINs, are issued by GS1 through its office in your country, and many retailers ask for one. This tool only draws the barcode for a number you already have: it doesn’t issue, register or look up numbers.
What is the check digit?
The last digit of an EAN-13 or UPC-A number, worked out from the others so a scanner can catch a misread. Type the number without it and the tool adds it. Type the whole number and the tool checks it, and tells you if it doesn’t match.
Is anything sent or saved?
No. The barcode is drawn on this page, on your device. Nothing you type is uploaded or kept, and closing the page clears it.

A barcode only encodes the text or number you give it. Retail product numbers come from GS1; this tool doesn’t issue, register or look up any number.