Utilities8 min readUpdated 2026-07-10

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:

  1. Open the Barcode Generator. It's free and works in any modern browser — desktop or phone.
  2. 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.
  3. 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.
  4. 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:

FormatBest forAccepts
CODE128Internal use, logistics, shipping labels, membership cards — the all-rounderLetters, numbers, symbols
EAN-13Retail products worldwide (the barcode on nearly everything in a supermarket)12 digits (+ auto check digit)
UPCRetail products in the US and Canada11 digits (+ auto check digit)
CODE39Older warehouse, government, and automotive systemsUppercase letters, numbers, a few symbols
ITF-14Outer shipping cartons and cases (not individual items)13–14 digits
MSIInventory shelf labels and warehouse binsNumbers
PharmacodePharmaceutical packaging control systemsA 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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?
You can generate the barcode image for free with the Barcode Generator — but if the product will be sold in retail stores or on Amazon, the 12-digit number inside it must be licensed from GS1. For products sold only through your own website or market stall, where you control the scanner, you can use any number you like.
Do I need to register my barcode anywhere?
Only if it's a retail product barcode (EAN-13 or UPC) that other businesses will scan — those numbers come from GS1. Barcodes for internal inventory, assets, tickets, or documents need no registration at all: generate and use them immediately.
Which barcode format should I use?
CODE128, unless you have a specific reason not to. It encodes letters, numbers, and symbols, packs data densely, and every modern scanner reads it. The exceptions: EAN-13/UPC for retail products, ITF-14 for shipping cartons, CODE39 if a legacy system demands it.
Can a barcode contain letters?
Yes — in the right format. CODE128 handles upper- and lowercase letters, numbers, and symbols; CODE39 handles uppercase letters and numbers. Retail formats (EAN-13, UPC) and ITF-14 are digits-only, so if you type letters into those the tool will show an error.
Why does my barcode look right but not scan?
Check contrast first: bars must be very dark on a very light background, and red-toned bars won't scan at all because laser scanners read with red light. After that, check size (thicker bars scan better), the blank quiet zone on both sides, and whether the image was stretched after download — stretching corrupts the bar-width ratios.
What's the difference between a barcode and a QR code?
A barcode is one-dimensional and holds a short identifier read by laser scanners — ideal for products and inventory. A QR code is two-dimensional, holds far more data (like URLs or WiFi logins), and is read by phone cameras. If your audience scans with a phone, use the QR Code Generator instead.
Is it safe to generate barcodes online?
With this tool, yes — it runs 100% in your browser, so product numbers, serials, and inventory codes are never uploaded to a server. That's worth checking before using any barcode site: if the page needs a network request to draw your barcode, your data went somewhere.

Ready to try it?

Use the tool right now — free, no signup, no upload.