How to Make a Barcode Online (Free & Instant)
Making a barcode takes about thirty seconds. You type in your number or text, pick a format, and download the image — no software, no sign-up, no cost. The free FileNaut Barcode Generator runs entirely in your browser, so the data you encode never leaves your computer.
The barcode image is the easy part, though — and it's where most guides stop. What actually trips people up is everything around it: which of the seven formats to choose, why a barcode that looks perfect refuses to scan at the register, and whether you can just invent a number for a product you plan to sell (short answer: for your own shop, yes; for retail stores and Amazon, no — you need a GS1-licensed number, and we'll explain exactly when that applies). This guide covers the whole picture, honestly.
How to Make a Barcode in 4 Steps
Here's the fastest way to create a scannable barcode:
- Open the Barcode Generator. It's free and works in any modern browser — desktop or phone.
- Enter your data. Type the number or text you want to encode. The preview updates live as you type. If the data doesn't fit the selected format (for example, letters in an EAN-13), you'll see an error message telling you why.
- Pick a format. CODE128 is the default and the right choice for most jobs — it handles letters, numbers, and symbols. Selling in retail stores? Use EAN-13 (worldwide) or UPC (US). More on choosing below.
- Adjust and download. Set the bar width and height with the sliders, toggle the human-readable text below the bars on or off, then click Download PNG. The file saves as
barcode.png, ready to drop into a label, product mock-up, or document.
That's it. Everything happens on your device — the tool never uploads your product numbers, serial codes, or inventory data to a server.
Which Barcode Format Should You Use?
This is the decision that matters most. Each format exists for a specific job, and scanners expect the right one. The generator supports seven:
| Format | Best for | Accepts |
|---|---|---|
| CODE128 | Internal use, logistics, shipping labels, membership cards — the all-rounder | Letters, numbers, symbols |
| EAN-13 | Retail products worldwide (the barcode on nearly everything in a supermarket) | 12 digits (+ auto check digit) |
| UPC | Retail products in the US and Canada | 11 digits (+ auto check digit) |
| CODE39 | Older warehouse, government, and automotive systems | Uppercase letters, numbers, a few symbols |
| ITF-14 | Outer shipping cartons and cases (not individual items) | 13–14 digits |
| MSI | Inventory shelf labels and warehouse bins | Numbers |
| Pharmacode | Pharmaceutical packaging control systems | A number from 3 to 131070 |
The simple rule: if you're labeling things inside your own business — assets, boxes, tickets, member cards — use CODE128 and encode whatever you like. If the barcode will be scanned at a retail checkout you don't control, you need EAN-13 or UPC, and the number inside it has to come from GS1 (next section).
Can You Just Make Up a Barcode Number? (The GS1 Question)
Here's the part most barcode-generator sites conveniently skip: a barcode generator creates the image, not the right to use the number. Whether you can invent the number depends entirely on where the barcode will be scanned.
For internal use — yes, invent away. Inventory in your stockroom, equipment tags, library books, event tickets, your Etsy order slips: any number or text you like, in CODE128, works perfectly. Your own scanner, your own rules. This covers the majority of people making barcodes.
For products sold in retail stores or major marketplaces — no. Retail EAN/UPC numbers are Global Trade Item Numbers (GTINs), and they're licensed by a nonprofit called GS1. Stores rely on each product having a globally unique number — if you invented one, it could collide with an existing product (imagine your candle ringing up as someone's motor oil). Amazon and most large retailers verify GTINs against the GS1 database and reject unregistered ones.
So the honest workflow for a retail product is: license your number from GS1 (a prefix from gs1.org, or single GTINs for small catalogs), then come back and generate the barcode image for that number with the free generator — EAN-13 or UPC format. Paste the first 12 digits (11 for UPC) and the tool calculates the final check digit for you automatically; paste all 13 and it validates the check digit, erroring out if it's wrong. You do not need to pay a barcode-image service — GS1 sells the number, the image itself is free to make.
Why Won't My Barcode Scan? (5 Fixes)
A barcode that looks fine to your eye can still be invisible to a scanner. If yours won't scan, it's almost always one of these:
- The bars aren't dark on a light background. This is the #1 killer. Most laser scanners read with red light — which means red or orange bars are literally invisible to them, and dark backgrounds destroy the contrast the scanner needs. The generator lets you set any line and background color, but stick to black-on-white (or another very dark color on a very light one) for anything that has to scan reliably. Save the brand colors for the packaging around it.
- It's printed too small. Bars that are too thin blur together on cheap printers. Use the Bar Width slider (1–4) to thicken the bars and the Height slider (50–200px) to give the scanner more to lock onto, then print a test before running a batch.
- The quiet zone is gone. Scanners need blank space on both sides of the bars to find the edges. The generator adds this margin automatically — don't crop it off or place the barcode flush against text or artwork.
- It got stretched. Resizing the PNG in one direction changes the bar-width ratios the format depends on. If you need a different size, come back and regenerate at new settings rather than stretching the image in a document.
- Wrong format for the scanner. A retail point-of-sale expects EAN/UPC; some legacy warehouse systems only read CODE39. If the environment is fixed, match its format — see the table above.
Barcode or QR Code — Which Do You Need?
They solve different problems. A 1D barcode (everything on this page) holds a short identifier — a product number, an asset ID — and is read by the laser scanners already installed at checkouts and warehouses everywhere. A QR code holds much more (URLs, WiFi credentials, whole paragraphs) and is read by phone cameras.
Rule of thumb: scanned by equipment → barcode; scanned by people's phones → QR code. Product labels, inventory, tickets: barcode. Linking to a menu, website, or payment page: QR. For the latter, use the free QR Code Generator — and see our companion guide, How to Create a QR Code.
Tips for Clean, Professional Barcodes
- Keep "show text below barcode" on for products. When a barcode is damaged or won't scan, the cashier types the human-readable number by hand. Turning the text off is fine for purely internal tags.
- Test with a phone before printing 500 labels. Any free barcode-scanner app (or the camera on recent phones) will read CODE128 and EAN/UPC. Scan the on-screen preview and the printed test label both.
- Print at 300 DPI or higher. Inkjet smearing and low-res printing are the quickest way to turn a valid barcode into noise.
- Generate at the size you need. The download is a PNG, so make it bigger with the width/height sliders before downloading rather than upscaling the file afterwards.
- Making labels for your own shop? Pair the barcode with the free Receipt Maker and Invoice Generator to round out your small-business paperwork — all free and browser-based.
Frequently Asked Questions
Can I make my own UPC barcode for free?▼
Do I need to register my barcode anywhere?▼
Which barcode format should I use?▼
Can a barcode contain letters?▼
Why does my barcode look right but not scan?▼
What's the difference between a barcode and a QR code?▼
Is it safe to generate barcodes online?▼
Ready to try it?
Use the tool right now — free, no signup, no upload.