Free shipping on all U.S. orders

  • Hotline: +1 737 241 3848
    Call us for free
Shopping Cart
Close
Free Barcode Generator for Packaging | UPC, EAN & More | Packaging Squad
🆓 Free tool · No signup required

Free Barcode Generator for Product Packaging

Create a valid UPC, EAN, Code 128, Code 39, or ITF-14 barcode in seconds. Real-time check-digit validation, full color and size customization, and instant PNG or SVG download — built for packaging, not just barcodes.

✓ Works in your browser — nothing uploaded· ✓ GS1 check-digit calculator built in· ✓ Free PNG & SVG download

1. Choose a barcode type

Pick the format your retailer, carrier, or system requires.

2. Enter your data

Type the digits for your barcode below.

3. Customize appearance

Adjust colors, size, and label text.

Bar color
#241A1E
Background
#FFFFFF
2 px
100 px
10 px
18 px

Live preview

Updates instantly as you type and customize.

    A valid, well-contrasted barcode scans reliably in most cases — but actual scanning also depends on your printer, material, ink, and scanner hardware. We recommend a physical print test before a full production run.

    Get a free packaging quote — using your barcode is completely optional, and this form works even if you never download anything above.

    Request a free packaging quote

    × ×

    Artwork, a die-line, or a spec sheet. Up to 6 files, 10 MB each.

    Explore packaging tools

    Barcode ready. Packaging next?

    Generating the barcode is free and instant. When you are ready for real packaging, our team handles the rest — from dielines to print.

    • ✓ No account or commitment needed to ask a question
    • ✓ A packaging specialist replies with real options, not a form letter
    • ✓ Your barcode value is only shared if you choose to include it
    1
    Generate your barcode
    2
    Tell us about your project
    3
    Get a real quote back
    📍 Placement & next steps

    Putting this barcode on packaging?

    A barcode that scans on your screen does not always scan on a box. A few placement and print choices make the difference — and if you are prepping packaging, we can help with more than just the barcode.

    Where will you use this barcode?

    Pick the closest match — we will tailor a few tips (and the quote form above) to it.

    📏

    Size & scale

    Keep barcodes at 100% scale whenever possible. Scaling below 80% shrinks bar widths and is the most common cause of scan failures at checkout.

    🎨

    Contrast matters most

    Dark bars on a light background scan best. Avoid placing barcodes over busy patterns, foil, or low-contrast color combinations.

    🧭

    Quiet zone & placement

    Leave clear space (a "quiet zone") around the barcode, and keep it away from box edges, seams, and curved surfaces where possible.

    🧰 More free tools

    Related packaging tools

    Barcode sorted — here is what packaging teams usually need next.

    📱

    QR Code Generator

    Create a customizable QR code for packaging, with the same live preview and print-readiness checks.

    Use the QR tool →
    📐

    Box Size Calculator

    Find the right box dimensions for your product before you finalize packaging.

    Browse all tools →
    ⚖️

    Dimensional Weight Calculator

    Estimate shipping cost impact from box dimensions before you commit to a size.

    Browse all tools →
    💵

    Packaging Cost Calculator

    Get a rough cost estimate for your packaging run based on size, material, and quantity.

    Use the cost calculator →
    📄

    Dieline Generator

    Generate a starting dieline template for common box and carton styles.

    Browse all tools →
    🧰

    All Packaging Tools

    See every free tool we offer for planning and prepping product packaging.

    View the tools hub →

    What is a barcode, and which type do you need?

    A barcode is a machine-readable pattern of bars and spaces (or, for 2D codes like QR, a grid of squares) that encodes a short string of data — usually a product number, a shipping reference, or an internal SKU. A scanner reads the pattern and looks up the matching record in a database; the barcode itself does not "know" the price or the product name, it just points to it.

    Retail packaging almost always uses one of a small number of standardized formats, because retailers and point-of-sale systems expect a specific structure. Below is a quick breakdown of the six formats this tool supports.

    UPC-A

    The standard 12-digit barcode used at retail checkout across the United States and Canada. It encodes an 11-digit product number plus a single check digit calculated from those 11 digits using the GS1 algorithm. If you are selling a physical product in a US or Canadian retail store, this is very likely the format you need — and the product number itself typically comes from GS1 US (via a company prefix), not from this tool.

    EAN-13

    The international equivalent of UPC-A, used for retail products outside North America (and increasingly recognized by US scanners too). It is a 13-digit code: 12 data digits plus a GS1 check digit. Most retail scanners read UPC-A and EAN-13 interchangeably.

    EAN-8

    A compact, 8-digit version of EAN-13 for products too small to fit a full-size barcode — small cosmetics, single-serve snacks, and similar packaging. It has 7 data digits plus a check digit, and is generally only assigned when a product is genuinely too small for EAN-13.

    Code 128

    A high-density, alphanumeric barcode that can encode letters, numbers, and many symbols. It is common in shipping, logistics, and internal inventory systems (it is not typically used at retail checkout) because it can pack a lot of information — like a full SKU or a serial number — into a small space.

    Code 39

    An older but still widely supported alphanumeric barcode, common in industrial labeling, inventory, and some government and healthcare applications. It supports uppercase letters, digits, and a limited set of symbols, and is generally less space-efficient than Code 128.

    ITF-14

    A 14-digit barcode (13 data digits plus a check digit) designed for cartons and outer packaging — the box that holds multiple retail units, not the retail unit itself. ITF-14 barcodes are typically printed larger and with thicker bars than retail barcodes, since they are scanned by warehouse and logistics equipment rather than at a checkout counter.

    FormatDigits / charactersTypical useScanned by
    UPC-A12 digitsRetail (US/Canada)Point-of-sale scanners
    EAN-1313 digitsRetail (international)Point-of-sale scanners
    EAN-88 digitsSmall retail productsPoint-of-sale scanners
    Code 128Alphanumeric, variable lengthShipping, logistics, internal SKUsHandheld / logistics scanners
    Code 39Alphanumeric, variable lengthIndustrial, inventory labelingHandheld / industrial scanners
    ITF-1414 digitsShipping cartons, outer casesWarehouse / logistics scanners

    UPC vs. EAN: which one should you use?

    If you already have a UPC assigned to your product (through GS1 US or a reseller), use UPC-A. If you are selling internationally, or starting fresh and want the widest compatibility, EAN-13 is generally the safer default — most US scanners read it fine, while the reverse is not always true outside North America. The two formats are closely related: an EAN-13 code is essentially a UPC-A code with an extra leading digit, and most modern point-of-sale systems handle both without any special configuration.

    Code 128 vs. Code 39: which alphanumeric format is right?

    Code 128 is more space-efficient and can encode the full ASCII character set, which makes it the better default for new systems with modern scanning hardware. Code 39 is older and less dense, but it remains extremely widely supported by legacy scanners and is still specified by some industrial, government, and healthcare systems — if a partner or system explicitly requires Code 39, use that; otherwise Code 128 is usually the more efficient choice.

    ITF-14: barcodes for cartons, not shelves

    ITF-14 is built for outer packaging — the corrugated case that ships a dozen or a hundred retail units together. Because ITF-14 codes are read by warehouse and conveyor-mounted scanners rather than a cashier's handheld scanner, they are typically printed at a larger size with wider bars, and are often printed directly onto corrugated board rather than as a separate label. If you are barcoding a shipping case rather than the product inside it, ITF-14 (not UPC-A or EAN-13) is almost always the right choice.

    Where to place a barcode on your packaging

    Placement affects scan reliability as much as barcode quality does. A few general guidelines:

    • Keep the barcode on a flat surface — avoid corners, seams, and curved areas where the pattern can distort.
    • Leave the quiet zone (blank margin) intact; do not crowd it with other artwork or text.
    • For retail packaging, the back or bottom panel is conventional, away from areas likely to be crushed or scuffed in transit.
    • For shipping cartons, place ITF-14 codes on at least two adjacent sides so a scanner can read it regardless of how the case is oriented on a conveyor or pallet.
    • Avoid placing barcodes over box flaps, tape lines, or fold seams, where the surface is not perfectly flat.

    Printing methods and what to watch for

    How you print a barcode affects how reliably it scans:

    • Digital/offset print direct on packaging: works well at 100% scale with good contrast; avoid over-inking, which can bleed bars together.
    • Thermal label printers: reliable and common for shipping labels; keep the print head clean and use a resolution appropriate to your bar width.
    • Home/office inkjet or laser printers: fine for proofs and small runs, but check for banding or streaking that can break bars.
    • Whatever method you use, print a physical sample and scan-test it with the actual hardware it will be scanned with before a full production run.

    What size should a barcode be?

    There is no single universal minimum size — the right size depends on the format, the scanning distance, and the surface. As a general rule, avoid scaling a barcode below about 80% of its "nominal" size, since that shrinks bar widths past what many scanners can resolve reliably. Retail barcodes are typically printed close to their nominal size; ITF-14 codes on shipping cartons are usually printed larger, since they may be scanned from a greater distance on a conveyor or by a handheld scanner across a pallet.

    Why isn't my barcode scanning?

    If a barcode will not scan, the most common causes are, in rough order of likelihood:

    • Low contrast — bars and background too close in color/brightness, or a busy pattern behind the code.
    • Scaling too small, or stretched/distorted non-proportionally.
    • An insufficient quiet zone — other artwork or text crowding the margin.
    • A wrong or incomplete check digit (if you typed the data manually instead of using this tool's built-in check-digit calculation).
    • Printing issues — ink bleed, banding, or low print resolution blurring the bars.
    • Physical damage — creases, scuffing, or condensation across the code.
    • Using a format the scanner is not configured to read (rare, but some retail scanners are locked to specific formats).

    Barcode vs. QR code: which should you use?

    Traditional barcodes (UPC, EAN, Code 128, Code 39, ITF-14) are built for a single job: encoding a short numeric or alphanumeric identifier for point-of-sale or logistics scanning, and they are what retailers and carriers require. QR codes hold far more data — a URL, a full product story, a warranty registration link — and are read by any smartphone camera, not just dedicated scanners, which makes them a better fit for marketing, packaging storytelling, or linking to digital content. Many packaging designs now use both: a UPC or EAN for checkout, and a QR code elsewhere on the pack for customer-facing content. If you need a QR code, our free QR code generator follows the same style and print-readiness checks as this tool.

    How to add a barcode to your box: a 7-step guide

    1. Confirm the required format. Check with your retailer, distributor, or carrier — most specify UPC-A, EAN-13, or ITF-14 explicitly.
    2. Get (or confirm) your product number. A real, unique GS1 product number if this barcode is going to retail; an internal number is fine for internal tracking.
    3. Generate the barcode. Use the tool above — it validates your data and calculates the check digit for you.
    4. Customize contrast and size. Dark bars on a light background, at or near 100% scale.
    5. Download as SVG for print production (it stays sharp at any size) or PNG for quick digital use.
    6. Place it on your dieline on a flat panel, away from seams, folds, and edges, with its quiet zone intact.
    7. Print a physical proof and scan-test it with the actual scanner or app it will be read by, before running the full print job.

    Need help turning this barcode into finished, print-ready packaging?

    Get a free quote →
    ❓ FAQ

    Frequently asked questions

    Ready to turn this barcode into real packaging?

    Tell us about your product once, and a packaging specialist will follow up with real options — no obligation.