Barcode generator
Options
12 or 13 digits. With 12, the check digit is added for you.
More tools
- QR code generatorGenerate a QR code for a URL, Wi-Fi, text or UPI payment.
- CSV to ExcelConvert a CSV file into an Excel XLSX spreadsheet you can edit.
- Demo data generatorFill a product demo with fictional companies, contacts, subscriptions, and activity that all…
- Create ZIP filePack multiple files into one ZIP archive to share or download.
- HTML to imagePaste HTML and CSS and save how it looks as a PNG or JPG.
- Password generatorGenerate a strong random password with custom length and characters.
- Word counterCount words, characters, sentences and paragraphs as you type or paste.
- Convert fileConvert a photo, video, audio file or document to another format.
- Unit converterConvert units for length, weight, temperature, volume and more.
- Compress fileMake any file smaller, one at a time or a whole batch.
- MB to KBConvert megabytes to kilobytes for file sizes and upload limits.
- KB to MBConvert kilobytes to megabytes for file sizes and storage limits.
How to make a barcode that scans the first time
A barcode is a number or a short text drawn as bars or squares so a scanner can read it without typing. This page draws it in the standard you choose. The most used ones are listed first, and the full menu holds more than a hundred, from retail codes such as EAN-13, UPC-A and ISBN to GS1 DataBar, PDF417, Aztec Code and the postal codes of several countries.
Pick the type, type the data, and the preview changes as you go. A line under the field says what the type accepts, and if the data breaks a rule, such as an EAN-13 with the wrong number of digits, the reason is shown instead of a code that would not scan. You can turn the code, change the bar colour, hide the readable text and keep the background see-through.
Making the picture and getting an official number are two separate things. The picture is free and yours to use. A product that goes through shop tills or a large online marketplace needs an EAN or UPC number issued to your company by GS1. Stock rooms, tool cribs, libraries and events can number things any way they like.
Which standard fits which job
- Retail products and books: EAN-13, EAN-8, UPC-A or ISBN, the codes that shop tills expect.
- Your own stock, equipment and serial numbers: Code 128, or Code 39 where older scanners are in use.
- Cartons and pallets: ITF-14 on the outer box, and GS1-128 when the label must carry a lot number or a use-by date.
- Tiny labels on circuit boards and medical devices: Data Matrix, which holds more in less space than bars can.
Tips for print that scans
- Keep the blank margin on both sides. The saved picture already includes it, so do not crop tight to the bars.
- Print black bars on white. Red bars and dark backgrounds are a common reason a scanner sees nothing.
- Do not stretch the picture sideways in a document. Scale it evenly, or save the SVG and set the size there.
- A retail EAN-13 is about 37 mm wide at full size. Going below 80% of that makes it hard to read at a till.
When to use a different tool
For a code that people scan with a phone camera to open a link, join Wi-Fi or pay by UPI, the QR code generator has forms for each of those. This page makes one barcode at a time; a sheet of many labels is easier to lay out in a spreadsheet or label app once you have saved the pictures.
FAQ
Why is there a small arrow after the digits of my EAN-13?
It marks the right edge of the blank margin that scanners need. Printers and designers use it to see how much space must stay empty beside the bars.
Which barcode type should I pick?
Products sold in shops use EAN-13, or UPC-A in the United States and Canada. For your own stock, asset tags and serial numbers, Code 128 takes any letters and digits. Shipping cartons use ITF-14, labels with a lot or expiry date use GS1-128, and very small parts use Data Matrix.
Do I have to work out the check digit?
No. Type the first 12 digits of an EAN-13, the first 7 of an EAN-8 or the first 11 of a UPC-A, and the last digit is worked out and added for you. If you type the full number with a wrong last digit, the tool tells you instead of drawing a bad code.
Can I put a barcode I made here on a product I sell?
The picture is yours to use, for business too. The number is the part with rules: shops and online marketplaces expect an EAN or UPC number issued to your company by GS1, because a number you made up can clash with another product. For labels that stay inside your own business, any number works.
Will a scanner read the barcode?
The bars are drawn by BWIPP, an open-source library that follows the published standard for each barcode type. Keep dark bars on a light background, leave the blank margin around the code, and scan one printed copy before you print the rest.
Should I save PNG, JPG or SVG?
Save SVG for printing, because it stays sharp at any size. PNG suits documents, spreadsheets and screens, and can have a see-through background. JPG is for systems that accept nothing else.
Is the data I type sent anywhere?
No. The barcode is drawn inside your browser, so product numbers, serial numbers and links are never sent to a server. There is no sign-up, no watermark and no limit on how many you make.