QREndless
Barcode Tools

Free Barcode Generator — How to Create EAN-13, UPC-A, Code 128 Barcodes Online

Create EAN-13, UPC-A, Code 128, QR codes, and 105 barcode types online for free — transparent backgrounds, WebP, copy and print. No signup, 100% browser-based.

12 min readSeptember 20, 2026
Free online barcode generator creating EAN-13, UPC-A, Code 128 barcodes — 100+ types, instant PNG SVG download
Free online barcode generator creating EAN-13, UPC-A, Code 128 barcodes — 100+ types, instant PNG SVG download

Table of Contents

  1. What Is a Barcode Generator?
  2. Why I Make Barcodes in the Browser
  3. What's New: Every New Feature Explained (November 2026)
  4. Why Use Our Free Barcode Generator?
  5. How the Barcode Generator Works
  6. Step-by-Step: Using the Barcode Generator
  7. Real-World Examples
  8. Who Uses a Barcode Generator?
  9. Tips for Best Results
  10. Common Mistakes to Avoid
  11. FAQ
  12. Ready to Try the Barcode Generator?

What Is a Barcode Generator?

A barcode generator is a tool that turns numbers or text into a scannable barcode image. The image is made of black bars and white spaces in a special pattern. When a scanner or a phone camera reads that pattern, it shows the original numbers or text on a screen.

Barcodes have been used in stores since the 1970s. The first product ever scanned was a pack of Wrigley's chewing gum in 1974 in Ohio. Today, almost every product in a supermarket, warehouse, library, and hospital has a barcode. Without barcodes, checkout lines would be much slower and stores would lose track of their stock.

A barcode generator does the same job as a label printer, but it lives inside your web browser. You type your data, pick a barcode type, and the tool gives you a PNG or SVG file you can download in one second. You do not need to install any software. You do not need to make an account. You just open the page and start making barcodes.

Choosing between a linear barcode and a QR code? Our QR code vs barcode comparison explains the difference.

Why I Make Barcodes in the Browser

I make almost every barcode in a browser tab now. A single code does not need desktop label software or a license key. The generator page loads once, and after that it draws codes without talking to a server.

The engine matters to me too. The tool is powered by bwip-js, so each symbology I pick, from Code 128 to EAN-13, is drawn locally in JavaScript, and my data never leaves my machine. When those numbers are product codes or customer data, that privacy is what I care about most.

Before any print run I follow the same short routine: pick the symbology, type the data, let the tool compute or verify the check digit for EAN-13 and UPC-A, and export an SVG when the code has to work at several sizes. Then I print one test label and scan it. A bad code caught on one label beats one caught on a thousand.

What's New: Every New Feature Explained (November 2026)

The barcode generator just got a major update, and this section explains every new feature from A to Z — the real problem each one fixes and how to use it. Everything below is live on the page right now. Everything stays free: no signup, no watermark, no limits.

1. QR Codes now live in the barcode generator (105 types total)

The problem: the tool already had Micro QR, GS1 QR, Swiss QR, and HIBC QR, but the plain everyday QR Code was missing. Anyone who wanted a normal QR code had to switch to a different tool.

The fix: QR Code is now in the type list, which brings the total to 105 barcode types on one page. Pick QR Code, type any text or URL, and the tool draws a true square QR code sized to your data automatically. Every type also has its own clean web address, so you can bookmark the QR code generator page and land on the tool with QR Code already selected.

2. Instant search across all 105 types

The problem: scrolling through a long list of 105 types to find one code, like Pharmacode, was slow and easy to miss.

The fix: a search box now sits on top of the type list, on both desktop and the mobile menu. Type "phar" and Pharmacode appears instantly. Type "ean" and every EAN type appears together. The search checks type names, ids, and descriptions, so short words work. If nothing matches, the tool says so in plain words instead of showing an empty list.

3. Error correction (ECC) selector for QR-style codes

The problem: a QR code that gets scratched, smudged, or printed on a curved surface can fail to scan. The default error correction is not always strong enough, and before this update you could not change it.

The fix: an ECC level selector now appears for the codes where it truly matters: QR Code, Micro QR, GS1 QR, and HIBC QR (levels L, M, Q, H), Aztec (5 to 95 percent), PDF417 (levels 0 to 8), and Han Xin (L1 to L4). Higher settings make the code bigger but able to survive more damage — level H lets a QR code lose about 30 percent of its surface and still scan. The selector only shows up for types where the setting measurably changes the rendered code, so you never see a control that does nothing.

4. PDF417 column control

The problem: PDF417 codes (used on shipping labels, ID cards, and transport tickets) arrange their data automatically, and the automatic shape sometimes does not fit the label space you have.

The fix: you can now set the exact column count for the whole PDF417 family, from 0 (automatic) to 30. More columns make a wide, short code. Fewer columns make a tall, narrow one. You pick the shape that fits your label.

5. Custom text color and text position

The problem: the human-readable digits under the bars were stuck in one color in one spot, which made branded labels hard to match.

The fix: a text color picker and a text Y-offset control now live in the Customize panel. Keep the bars black and set the digits to dark red, dark green, or another dark brand color. Move the text closer to or farther from the bars pixel by pixel. Bars and text stay separate controls, so you can restyle the digits without touching the bars.

6. Transparent backgrounds that are truly transparent — and now visible

The problem: this one matters. You tick "Transparent background" to place a barcode on a dark package design, and the black bars vanish — you see a black box, not a code. On top of that, an older version silently saved transparent GIFs as solid, opaque images without telling anyone.

The fix: three changes, all live today:

  • Real transparency in every format that supports it: PNG, GIF, WebP, and SVG exports keep the transparent channel for real. The GIF palette bug is fixed, and it was proven by reading the transparency flag inside the saved file. JPG and PDF cannot hold transparency anywhere, so the tool lays those two formats on white.
  • A checkerboard preview: when Transparent is on, a Photoshop-style checkerboard appears behind the live preview, so you can see exactly what is transparent and what is not — the same way image editors show it.
  • A dark-ink warning: if your bars or text are dark while Transparent is on, an amber heads-up appears under the checkbox. Dark ink is invisible on dark surfaces — pick lighter bars or text, or untick transparent. The check uses the same brightness math (Rec. 709) that video engineering uses, and it treats an unknown color as dark, never light.

7. WebP export

The problem: PNG files are reliable but heavy, and heavy images slow down product pages and emails.

The fix: WebP is now a download format. At the same visual quality it is usually a quarter to a third smaller than PNG, and it keeps transparency. If a browser cannot encode WebP, the tool saves a PNG instead and tells you what happened — never a wrongly named file.

8. Copy image to clipboard

The problem: download, find the file, insert it — three steps every time you just want the code inside a document, slide deck, email, or chat.

The fix: a Copy Image button puts the barcode straight on your clipboard as a PNG, flattened on white so every app can paste it. If the browser blocks clipboard access, you get a clear message instead of silence.

9. One-click print

The problem: printing a shelf tag or a hang tag meant exporting a file, finding it, opening it, and printing it.

The fix: a Print button opens your browser's print dialog with just the barcode on the page — no tool frame, no ads, nothing else. Shelf tags and one-off labels print in seconds.

10. Every 2D code keeps its true square shape

The problem: a height setting meant for linear barcodes leaked into square codes. After moving it, a QR code could come out squashed into a 2:1 rectangle — it stopped looking like a QR, and scan reliability suffered. Small codes like Mini QR (Micro QR), Aztec, and Data Matrix were affected the same way.

The fix: the height box is replaced with an "Auto — 2D size follows data" note for all 24 square (matrix) types — QR, Micro QR, Data Matrix, Aztec, Han Xin, Swiss QR, and their GS1 and HIBC variants. A 2D code now sizes itself from your data and renders as a true square, pixel-verified. Stacked codes such as PDF417 keep the height control, because row height is a real setting there.

11. Colors that never break the tool

The problem: typing an invalid color — "#ff", "GGGGGG", a hex code with a missing digit — used to crash the preview with a cryptic "invalid color" error until you fixed or cleared it.

The fix: every color input now validates what you type, shows a small inline hint with the exact format (#000000), and falls back to the safe default while the value is invalid. Bad colors can no longer kill the preview or the download.

12. Friendly error messages for more types

The problem: typing the wrong data — 11 digits into EAN-8, three digits into Pharmacode — showed a raw library error that did not say what was wrong.

The fix: plain-language messages now cover EAN-8, UPC-E, Interleaved 2 of 5 (ITF), Pharmacode, Aztec Rune, and more, saying what the type expects and what to change.

13. Previews you can trust on every screen

The problem: a hidden bug could make the mobile preview show a slightly different bitmap from the desktop preview and the downloaded file — a real risk when the printed label is the thing that matters.

The fix: both previews and every download path now render the exact same bitmap, pixel for pixel. On top of that, mobile keyboards open a number pad for digit-only types like Pharmacode and Aztec Rune, and every mobile Customize input got a screen-reader label.

That is the full list. Nothing else on the page moved: same web address, same free rules, same privacy — your data is still drawn in your own browser and never uploaded. The next section sums up why the tool earns a spot in your bookmarks.

Why Use Our Free Barcode Generator?

There are many barcode tools on the web. Some are slow. Some add a watermark. Some ask for your email before they show you the result. Our tool is different. Here is what makes it the best choice for everyday barcode work:

  • 100% free, no signup: No email, no account, no payment. You open the page, type your data, and download the barcode. That is the whole flow. You can use the tool one time or one thousand times, and it stays free.
  • 100+ barcode types in one place: EAN-13, UPC-A, Code 128, ITF-14, Code 39, Codabar, MSI, Plessey, Pharmacode, and many more. You do not need a different website for each barcode type. Everything is on one page.
  • Instant PNG and SVG download: Save the barcode as an image file in your browser. PNG is best for printing. SVG is best for packaging design, logos, and websites because it stays sharp at any size.
  • Privacy first, your data never leaves your browser: Your numbers and text are processed by JavaScript inside your own browser. Nothing is uploaded to any server. This means your product codes, order numbers, and customer data stay private.
  • No watermark, no logo: The barcodes you download are clean. There is no website logo, no "Made with" line, no extra text. You can use the images in business work, packaging, shipping, and store signage.

How the Barcode Generator Works

When you type your data and pick a barcode type, the tool runs JavaScript code inside your browser. The code reads your input, checks the rules for the barcode type you picked, and draws the bars on a digital canvas. Each barcode type has its own pattern. For example, an EAN-13 barcode always has 13 digits and 30 black bars with different widths. A Code 128 barcode can hold letters, numbers, and symbols, and it adds a start code, a check digit, and a stop code.

After the bars are drawn, the tool turns the canvas into a file. If you pick PNG, it makes a flat image file that prints the same way every time. If you pick SVG, it writes XML code that draws the same bars at any size. SVG is best when you need to resize the barcode for different packages, websites, or printed documents.

Because everything runs in your browser, the tool works fast even on a slow connection. Once the page is loaded, you can keep making barcodes even if your internet drops. This is helpful in warehouses, shops, and field work where Wi-Fi is weak.

For codes like EAN-13 and UPC-A, the tool also checks the check digit. A check digit is the last number in the code. It is calculated from all the numbers that come before it. If you type 12 digits for EAN-13, the tool computes the 13th digit for you. If you type all 13 digits, the tool checks that the last digit is correct. If it is not, the tool shows a warning so you can fix the number before you print. This single check saves businesses from a common and costly mistake: printing thousands of labels with a wrong code.

Step-by-Step: Using the Barcode Generator

Making a barcode takes about ten seconds. Here is the full process from start to finish:

  1. Open the barcode generator page: Go to the tool in your browser. The page loads once, and then it works without any server calls.
  2. Pick your barcode type: Choose from the dropdown. Use EAN-13 for retail products in Europe and most of the world. Use UPC-A for products in the United States and Canada. Use Code 128 for shipping labels and IDs. Use ITF-14 for outer cartons and pallets.
  3. Type your data: For EAN-13, type 12 or 13 digits. The tool adds the correct check digit for you. For Code 128, type any mix of letters, numbers, and symbols. The tool will accept it and draw the code.
  4. Set size and color: Choose the height and width in pixels. Pick black on white for the best scanning results. If you need a colored barcode for design, keep the dark color very dark and the light color very light.
  5. Download PNG or SVG: Click the download button. The file is saved to your computer right away. You can then drop it into a label template, a Word document, or a design tool.

That is the entire workflow. There is no step for signup, payment, or waiting in a queue.

Real-World Examples

Here are four real barcode uses that you can copy today:

  • A retail product label: Nutella (EAN-13 3017620422003). Nutella's jar sold in Europe carries the EAN-13 code 3017620422003. The first digits (301762) belong to Ferrero, the company that makes Nutella. If you sell your own product, you can buy a GS1 company prefix and create codes in the same way. Type the 13 digits into the generator and download the PNG. Drop the image into your label template and print.
  • A beverage bottle label: Coca-Cola (EAN-13 5449000000996). A 500 ml Coca-Cola bottle carries the EAN-13 code 5449000000996. The first digits (5449) are the GS1 prefix for the Coca-Cola company in Belgium. If you sell drinks or food products, you can use the same generator to make labels for each SKU. Save the file as SVG so you can resize the barcode for a small bottle cap or a large case without losing sharpness.
  • A shipping carton: ITF-14. A shipping carton that holds 12 boxes of a product uses an ITF-14 barcode. The 14-digit code starts with the package indicator (often 1) followed by the product's EAN-13 number and a check digit. ITF-14 prints big and bold so warehouse scanners can read it from far away. Our tool makes ITF-14 in one click.
  • A library book code: Code 39. Many libraries use Code 39 because it can encode letters and numbers. A book number like LIB-2024-0458 turns into a clean Code 39 barcode you can print on a spine label. Code 39 supports the dash, so you do not need to remove the dashes from your book numbers.

Who Uses a Barcode Generator?

Many kinds of workers and businesses use barcode generators every day:

  • Retail stores and brands: Print product barcodes for new items, sale stickers, and shelf tags. Use EAN-13 or UPC-A so any cash register can read the code.
  • Logistics and shipping: Make ITF-14 codes for cartons and Code 128 codes for parcel labels. Couriers like UPS, DHL, and FedEx all scan Code 128 on shipping labels.
  • Books and publishing: ISBN barcodes (which are EAN-13 codes that start with 978 or 979) go on the back of every book. Use the generator to make a fresh ISBN barcode before a book goes to print.
  • Healthcare and pharmacies: Medicine packs carry EAN-13 barcodes. Hospitals also use Code 128 for patient wristbands and lab sample tubes. Our generator makes both types in seconds.
  • Manufacturing and warehouses: Print Code 39 or Code 128 labels for parts bins, tools, and shelf locations. Workers scan the code to log a pick or move stock in the system.

Tips for Best Results

Follow these six tips and your barcodes will scan on the first try, every time:

  • Pick the right barcode type: EAN-13 and UPC-A are for retail products. Code 128 is for shipping and IDs. ITF-14 is for cartons. Using the wrong type causes scan failures at the register.
  • Use high contrast: Black bars on a white background always scan best. If you need color for design, keep the dark color darker than 70% black and the light color lighter than 70% white.
  • Leave a clean quiet zone: The empty white space on both sides of the bars is called the quiet zone. Keep it at least 10 times the width of the narrowest bar. Scanners need this empty space to find the start of the code.
  • Test before you print thousands: Print one label first. Scan it with a phone, a handheld reader, or our online barcode scanner. If it reads fast and correct, then print the full run. This saves money and avoids reprinting.
  • Keep your data clean: Remove extra spaces at the start and end of your data. Make sure EAN-13 has only digits, not letters or symbols. Clean data gives clean barcodes.
  • Save SVG when you need to resize: If you will use the same barcode on a small label and a large poster, pick SVG. SVG stays sharp at any size. Use PNG when you want a flat image for a single print size.

Common Mistakes to Avoid

Even a small mistake can make a barcode fail to scan. Watch out for these four common errors:

  • Using the wrong barcode type: Putting a Code 128 on a retail product will not work at the store. Stores only read EAN-13 or UPC-A at the register. Match the type to the place where the barcode will be scanned.
  • Forgetting the check digit: EAN-13 and UPC-A need a final check digit that the math produces. Our tool adds it for you. But if you copy a number from a list, double-check that all 13 digits are there. Missing one digit breaks the code.
  • Printing too small: A tiny barcode cannot be scanned. For EAN-13 at the checkout, the bars should be at least 80% of the standard size, which is about 31 mm wide. For warehouse labels, go bigger, not smaller.
  • Placing text too close: If the human-readable digits under the bars touch the bars, scanners get confused. Leave a small gap between the bars and any text. Also avoid folding the barcode over a box edge.

FAQ

What is a free barcode generator?

A free barcode generator is a website or app that turns your numbers and text into a barcode image. You do not pay, you do not sign up, and you do not install software. You type your data, pick a barcode type, and download a PNG or SVG file you can print or use in design work.

Is the barcode generator really free? Any hidden costs?

Yes, it is really free. There is no payment, no trial, and no credit card step. You can make as many barcodes as you want for personal or business use. There is no watermark on the images, and there is no limit on the number of barcodes per day.

Which barcode type should I use?

For retail products sold in Europe, Asia, and most of the world, use EAN-13. For retail products sold in the United States and Canada, use UPC-A. For shipping labels and parcel IDs, use Code 128. For outer cartons and pallets, use ITF-14. For library books and IDs with letters, use Code 39.

Can I use the barcodes for commercial work?

Yes. The barcodes you make are yours. You can put them on products you sell, shipping labels, packaging, store signs, and printed documents. You do not need to credit the tool or pay a license. The tool simply turns your data into a standard barcode image.

Does the barcode generator work offline?

After the page loads, yes. The barcode drawing runs inside your browser as JavaScript. Once the page is open, you can keep making barcodes even if your internet drops. The page does not need to talk to a server for each barcode.

Does the tool save my data?

No. Your numbers and text stay in your browser. Nothing is uploaded to a server, and nothing is saved in a database. When you close the page, your data is gone. This makes the tool safe for product codes, order numbers, and customer data.

Can the barcode generator make QR codes?

Yes. The November 2026 update added plain QR Code to the type list, so the tool now covers 105 types including QR Code, Micro QR, GS1 QR, and HIBC QR. Type your text or URL, pick an error correction level (L, M, Q, or H) if you want extra damage tolerance, and download the code as PNG, SVG, GIF, WebP, or PDF. The QR code generator page opens the tool with QR Code already selected.

Why does my transparent barcode look like a black box?

Because the bars and text are dark, and a transparent image shows whatever sits behind it. On a dark package or a dark browser theme, dark ink disappears. The update fixes the confusion in three ways: the preview shows a checkerboard behind the code when transparent is on, an amber warning appears when your ink is dark, and the downloaded PNG, GIF, and WebP files carry real transparent pixels. Use lighter bars or text for dark surfaces, or keep a white background.

What is the ECC level and which one should I pick?

ECC stands for error correction. It is spare capacity inside QR-style codes that lets them scan even when part of the surface is damaged. QR Code levels are L, M, Q, and H: L is the smallest with the least protection, and H is the biggest and can lose about 30 percent of its surface and still scan. Pick M (the default) for clean indoor labels. Pick Q or H for codes that will face scratches, moisture, curves, or factory handling. Higher ECC always makes the symbol larger.

Ready to Try the Barcode Generator?

You now know what a barcode generator is, how it works, and how to use it step by step. You have seen real examples like Nutella's EAN-13 3017620422003. You know the best barcode type for retail, shipping, cartons, and libraries. You know the common mistakes and how to avoid them. The next step is to make your first barcode.

The tool is free, it works in your browser, and it gives you clean PNG and SVG files in seconds. No account needed, and your data never leaves your computer. Open the free barcode generator and make your first code right now. If a whole product list needs codes in one pass, our bulk barcode generator handles the whole batch.

Share this article

Back to Blog

Related Articles