My Tool Studio
Generators

Barcode Generator

This barcode generator makes 22 barcode types, including Code 128, GS1-128, EAN-13, UPC-A, EAN-8, UPC-E, ITF-14, Code 39, Code 93, Codabar and MSI, with a live preview. It checks your input as you type, adds or verifies the check digit for EAN, UPC and ITF-14, and explains exactly what to fix. Set bar width, height, quiet zone, rotation, colours, a transparent background, and the font, size and position of the text. Download SVG, PNG, JPG or WebP at up to 8x, or a PDF at an exact width in millimetres. Bulk mode turns a pasted list, a spreadsheet or a numbered sequence such as INV-0001 to INV-0500 into a ZIP or a printable label sheet. There is no batch cap, no account and no watermark.

Always freeNo sign upRuns in your browser

Letters, digits and standard ASCII symbols. The usual choice for internal labels, assets and shipping.

Leave empty to print the encoded value.

Size, text and colours
No preview

Preview size 0 x 0px. PNG at 3x is about 0 x 0px.

Selling in shops? Retail EAN and UPC numbers must come from GS1 (or a licensed reseller) so they are unique to your company. Made-up numbers work for internal use only.

How to use

01

Pick the format and enter a value

Choose a format from the grouped list, then type your number or text. For EAN, UPC and ITF-14 you can leave off the check digit and the tool adds it. A working sample appears if your value does not fit the format.

02

Set size, text and colours

Adjust bar width, height, quiet zone and rotation, then the font, size, style and position of the text, or replace it with your own. Pick bar and background colours, or a transparent background.

03

Download one or many

Press SVG, PNG, JPG or WebP, or PDF at exact size. For many barcodes, switch to Bulk and label sheets, paste a list or build a sequence, then download a ZIP or a label sheet PDF.

Why Barcode Generator

Barcode formats and where each is used

Pick the format your scanner, warehouse system or retailer asks for. For retail, the number matters as much as the image: EAN-13 and UPC-A numbers on products sold in shops must come from GS1, the organisation that issues company prefixes. For anything used only inside your business, Code 128 is the usual choice because it takes letters, digits and symbols at any length.

FormatWhat it holdsTypical use
Code 128 (auto, A, B, C)Letters, digits and ASCII symbolsShipping labels, inventory, asset tags
GS1-128GS1 application identifiers and dataPallet and carton labels, expiry and batch data
EAN-1313 digits including a check digitRetail products in most countries
UPC-A12 digits including a check digitRetail products in the US and Canada
EAN-8 and UPC-E8 digitsSmall retail packs
EAN-5 and EAN-25 or 2 digitsAdd-ons for book prices and magazine issues
ITF-1414 digitsOuter cartons and cases
ITFAn even number of digitsWarehousing and distribution
Code 39 and Code 93Uppercase letters, digits and a few symbolsOlder industrial and government systems
CodabarDigits and - $ : / . +Libraries, blood banks, courier forms
MSI (4 check options)DigitsShelf labels and stock control
PharmacodeA number from 3 to 131070Pharmaceutical packaging control

Numbering a batch of labels

The sequence builder in Bulk mode writes numbered values for you, so you do not need a spreadsheet for simple runs. Set a prefix, a start and end number, a step, how many digits to pad to, and an optional suffix, then press Fill the list.

For retail formats, use digits only and set the padding to the length without the check digit, such as 12 for EAN-13. The tool then adds a correct check digit to every barcode. Up to 10,000 values fit in one run.

SettingsValues produced
Prefix INV-, start 1, end 3, digits 4INV-0001, INV-0002, INV-0003
Prefix BIN-A, start 10, end 50, step 10BIN-A10, BIN-A20, BIN-A30, BIN-A40, BIN-A50
Prefix 890123, start 1, end 2, digits 6 (EAN-13)890123000001 and 890123000002, check digits added

Common questions

Which barcode format should I use for internal inventory labels?
Code 128, almost every time. It encodes letters, digits and symbols, packs digits densely, and needs no registration, so SKUs like WH-A3-0091 work as they are. Nearly every handheld scanner reads it out of the box.
Why does my EAN-13 barcode show an error?
EAN-13 accepts digits only, either 12 digits (the tool adds the check digit) or all 13. Letters, spaces or a different count show a red message instead of a barcode. If you entered 13 digits and the last one is wrong, the message shows the correct check digit and the full number.
How is the check digit for an EAN-13 or UPC barcode calculated?
Starting from the rightmost data digit, digits are multiplied by 3 and 1 in turn and added up. The check digit is whatever brings that total up to the next multiple of 10. For 590123412345 the total is 83, so the check digit is 7 and the full number is 5901234123457.
Can I make many barcodes at once from a list?
Yes. Switch to Bulk and label sheets, then paste one value per line, upload a CSV or XLSX file, or fill the list from a sequence with a prefix, start, end, step, zero padding and suffix. Invalid lines are listed with the reason and skipped. Download every barcode in a ZIP with an index.csv file, or as a label sheet.
How do I print barcodes on Avery-style label sheets?
In Bulk mode, choose a sheet layout such as A4 with 21 or 65 labels, or US Letter with 30 labels of 2.625 x 1 inch, or build a custom grid. Add captions from a second column, turn cut lines on or off, and skip labels already used. Print at 100 percent scale and test on plain paper first.
Can I sell products using a barcode made here?
The barcode image follows the standard, but retailers need the number inside it to come from GS1, which licenses company prefixes. Buy your numbers from GS1, then use this tool to draw them. For codes used only inside your own business, any numbering scheme is fine.
What is GS1-128 and how do I type it?
GS1-128 is Code 128 with a special start character and GS1 application identifiers, used on shipping and logistics labels. Type each identifier in brackets followed by its data, such as (01)09501101530003(17)261231 for a GTIN and an expiry date. Put a variable-length field such as (10) batch last.
Should I download a barcode as SVG, PNG or PDF?
SVG for design files, since it keeps every bar edge exact at any size. PDF when the barcode must print at a precise width, such as an EAN-13 at 37.3 mm. PNG, JPG or WebP for apps that do not take SVG, at 3x or more for print. Never stretch an image unevenly, since scanners read the bar widths.
When would I choose Code 39, Code 93 or Codabar?
Mostly when an existing system asks for them. Code 39 survives in older industrial and government systems and allows uppercase letters only. Code 93 holds the same characters in less space. Codabar still appears on library cards, blood bags and some courier forms. For new labels, Code 128 is usually simpler.
Can I rotate a barcode or change its font?
Yes. Rotation offers 0, 90, 180 and 270 degrees and applies to every download. The text can use monospace, sans-serif, serif, Courier New or Verdana, in regular, bold or italic, from 8 to 40 pixels, above or below the bars, aligned left, centre or right. Custom text replaces the printed value without changing the bars.

More Generators tools

View all