Barcode Generator – Create Barcodes Online Free

Generate high-quality, printable barcodes instantly — Code 128, EAN-13, EAN-8, UPC-A, UPC-E, ISBN, Code 39, Codabar, GS1 DataBar and 20+ more formats. Live preview, custom colors, and instant PNG, SVG, JPG, WEBP or PDF download.

Instant generation · 100% private · No signup · No watermark · Works on mobile & desktop


Barcode Type
Barcode Input
Start typing to generate your barcode
  Advanced Options
100% private · No data leaves your device
Live Preview
Enter a value to generate your barcode instantly
Download Options
Format:
Characters: 0
Status: Waiting for input
Advertisement – 728×90
Ad – 320×50

Free Barcode Generator — Create Printable Barcodes Instantly

This free online barcode generator lets you create high-quality, scannable barcodes for products, inventory, shipping labels, books, coupons and internal business systems — all without installing software, creating an account or paying a subscription. Choose a barcode type, type your data, and watch the barcode render live in your browser as you type. When it looks right, download it as a PNG, SVG, JPG, WEBP or PDF file, or send it straight to your printer. Every barcode is generated locally using JavaScript, so your data is never uploaded to a server.

What Is a Barcode?

A barcode is a visual, machine-readable representation of data. Traditional 1D (linear) barcodes encode information as a series of parallel black bars and white spaces of varying widths. A barcode scanner shines a beam of light across the pattern, measures the reflected light, and decodes the bar and space widths back into the original numbers, letters or symbols. Because scanning takes a fraction of a second and is far more accurate than manual data entry, barcodes became the backbone of modern retail, logistics and inventory tracking soon after their invention in the 1970s.

How Barcode Scanning Works

Every barcode symbology defines a strict set of rules for how characters map to bar and space widths, where the barcode starts and ends, and often a checksum digit to catch scanning errors. When you type text into this tool, the underlying JavaScript library looks up each character in the symbology's encoding table, builds the correct sequence of bar widths, calculates any required check digit, and draws the result as vector or canvas graphics. A laser or camera-based scanner performs the reverse process: it measures each bar and space, matches the pattern against the same table, verifies the checksum, and outputs the decoded value to whatever system it's connected to — a point-of-sale terminal, a warehouse management system, or a mobile app.

How to Use This Barcode Generator

1

Pick a Format

Choose from 25+ barcode types in the dropdown

2

Type Your Data

Enter numbers, letters or codes — validation is instant

3

Customize

Adjust colors, size, margin and text under Advanced Options

4

Download or Print

Export as PNG, SVG, JPG, WEBP, PDF or print directly

Types of Barcodes Supported

Not every barcode format is built for the same job. This barcode maker supports every major symbology in commercial use today, organized by the industries and use-cases they were designed for:

Barcode TypeData TypeCommon Use
Code 128Full ASCIIShipping, logistics, general purpose
Code 39AlphanumericAutomotive, defense, inventory labels
Code 93AlphanumericDenser alternative to Code 39
EAN-13 / EAN-8NumericRetail products worldwide
UPC-A / UPC-ENumericRetail products in North America
ISBNNumeric (13-digit)Books and publications
ISSNNumeric (13-digit)Magazines and periodicals
EAN-5 / EAN-2Numeric add-onBook pricing, magazine issue numbers
ITF / Interleaved 2 of 5Numeric (even length)Cartons, warehouse pallets
Standard / Industrial 2 of 5NumericPhoto processing, airline tickets
CodabarNumeric + symbolsLibraries, blood banks, FedEx
MSINumericInventory and warehouse shelf labels
PharmacodeNumericPharmaceutical packaging
GS1-128Numeric + Application IdentifiersShipping cartons with batch/date data
GS1 DataBar familyNumericSmall produce & variable-measure retail items
PlesseyHexadecimalShelf-edge labels, older retail systems
POSTNETNumeric (ZIP)US postal mail sorting (legacy)

Difference Between a QR Code and a Barcode

The classic barcode is a one-dimensional (1D) symbol — it stores data along a single horizontal axis of bars and spaces, which limits capacity to a relatively short string of numbers or characters, usually under a few dozen digits. A QR code is a two-dimensional (2D) matrix symbol that stores data in both the horizontal and vertical axis using a grid of black and white squares. This gives QR codes far higher data capacity — enough for full URLs, contact cards or paragraphs of text — and the ability to be scanned from any angle or even when part of the code is damaged, thanks to built-in error correction. In short: use a 1D barcode when you need a short, standardized product or item identifier that legacy retail scanners can read; use a QR code when you need to encode a link, larger block of text, or want built-in damage tolerance. If you need a QR code instead, try our dedicated QR Code Generator.

When to Use a Barcode

Barcodes are the right choice whenever you need a compact, universally-scannable identifier tied to a physical item, and the scanning hardware you're targeting is a traditional 1D laser or CCD scanner. They're ideal for retail point-of-sale, warehouse put-away and pick lists, asset tags, library check-outs, ticketing, and any workflow where speed and near-zero error rate at the checkout or receiving dock matters more than raw data capacity.

Industries That Rely on Barcodes

🛒

Retail

EAN-13 and UPC-A on every packaged product for instant checkout scanning

📦

Inventory & Warehousing

Code 128 and ITF on shelves, bins and pallets for stock accuracy

🏥

Healthcare

Pharmacode and Code 128 on medication packaging to prevent dispensing errors

🏭

Manufacturing

Code 39 and GS1-128 for tracking parts and work-in-progress

🎓

Education

Codabar and Code 39 for library books and student ID cards

📚

Libraries

Codabar remains a long-standing standard for circulation systems

🚚

Logistics

GS1-128 and DataBar encode batch numbers, weights and expiry dates on shipments

🛍️

Grocery & Fresh Produce

GS1 DataBar fits variable-weight fruit, vegetables and small packaging

Advantages of Using Barcodes

  • Speed — scanning takes milliseconds compared to manual keying.
  • Accuracy — checksum digits catch most misreads before they reach your system.
  • Low cost — barcodes can be printed on any standard printer with plain labels.
  • Universal compatibility — nearly every point-of-sale and warehouse scanner reads the common formats.
  • Traceability — combined with a database, barcodes make it easy to track an item's full history.

How to Generate a Barcode With This Tool

Start by choosing the correct symbology for your use case from the barcode type dropdown — this tool groups formats by category so it's easy to find the right one. Type your text or numbers into the input box; the barcode renders automatically with no separate "Generate" button to click. As you type, a live validation message tells you whether the input is valid for the selected format, and shows an example if something looks wrong. Open Advanced Options to fine-tune bar width, height, margin, colors, rotation, scale, and whether the human-readable text appears below the bars. Once you're happy with the result, use the download row to export a PNG, SVG, JPG, WEBP or PDF file, copy the image straight to your clipboard, or click Print Barcode to send it to your printer immediately.

Supported Barcode Formats — Full List

This tool supports the following symbologies: Code 128 (auto A/B/C mode switching), Code 39, Code 93, EAN-13, EAN-8, EAN-5, EAN-2, UPC-A, UPC-E, ITF (Interleaved 2 of 5), ITF-14, Standard 2 of 5, Industrial 2 of 5, Codabar, MSI, Pharmacode, GS1-128, ISBN, ISSN, Plessey, POSTNET, and the full GS1 DataBar family — DataBar, DataBar Expanded, DataBar Limited, DataBar Stacked and DataBar Omnidirectional. Whether you need a barcode generator for products, a barcode generator for inventory, or a barcode generator for business shipping documents, there's a format here that matches the job.

Printing Tips for Sharp, Scannable Barcodes

  • Print at 100% scale — never let your print dialog "fit to page," which distorts bar widths.
  • Use a resolution of at least 300 DPI; laser printers generally produce cleaner edges than inkjet for fine bar patterns.
  • Keep strong contrast: dark bars on a light, matte background scan far more reliably than light-on-dark or glossy stock.
  • Leave the quiet zone (blank margin) around the barcode untouched — text or graphics placed too close will cause misreads.
  • Test-scan a sample print with the scanner or app you'll actually use in production before printing a full batch.

Common Barcode Mistakes to Avoid

  • Using the wrong symbology for the destination system — for example, printing Code 128 when a retail POS expects EAN-13.
  • Skipping the check digit on EAN/UPC formats, which causes scanners to reject the code entirely.
  • Shrinking the barcode too small, which compresses bar widths below what standard scanners can reliably resolve.
  • Low contrast colors, such as light gray bars, which look fine on screen but fail to scan when printed.
  • Cropping the quiet zone when placing the barcode into a design layout.

Barcode Best Practices

Always match your barcode symbology and size to the specification required by the retailer, carrier or system you're integrating with — GS1 publishes exact size and quiet-zone standards for EAN/UPC and GS1-128 codes used in retail and logistics. Keep a consistent foreground/background contrast ratio, avoid rotating barcodes unless your scanner explicitly supports omnidirectional reading, and always keep an editable backup of the data you encoded in case you need to regenerate the barcode later at a different size.

Browser Privacy & Performance

Every barcode in this tool is rendered entirely client-side using JavaScript — nothing you type is ever transmitted to a server, logged, or stored. This makes it safe to generate confidential SKU numbers, unreleased product codes or internal tracking IDs. The tool is also built for performance: barcode rendering updates in real time as you type, images are generated on demand rather than pre-rendered, and there is no tracking, analytics pixel or unnecessary network request slowing down the page.

Why Choose ToolPlex's Barcode Generator

ToolPlex's barcode generator is completely free, has no watermark, requires no signup, and supports more symbologies than most competing tools — including specialized formats like GS1 DataBar, Pharmacode and Plessey that many free generators skip entirely. The live preview means what you see is exactly what gets exported, and five different export formats (PNG, SVG, JPG, WEBP, PDF) mean you'll rarely need to convert the file afterward.

A Brief History of the Barcode

The barcode traces back to a 1949 patent filed by Norman Joseph Woodland and Bernard Silver, who sketched out a bullseye-style symbol inspired by Morse code. It took more than two decades of falling laser and computing costs before the idea became commercially practical. On June 26, 1974, a pack of Wrigley's chewing gum became the first retail product ever scanned using the Universal Product Code (UPC) at a supermarket in Ohio — a moment now preserved in the Smithsonian. Since then, barcode symbologies have multiplied to serve postal sorting, pharmaceuticals, aerospace parts tracking, and virtually every supply chain on earth, evolving alongside 2D codes like QR and Data Matrix that emerged in the 1990s to handle richer data.

How the Check Digit Works

Most numeric barcode formats — including EAN-13, EAN-8, UPC-A and ITF-14 — end with a check digit calculated from every other digit in the code using a weighted modulo-10 algorithm. When a scanner reads the barcode, it re-runs the same calculation on the decoded digits and compares the result to the final digit in the symbol. If they don't match, the scanner silently rejects the read instead of passing a corrupted number to the till or database, which is why a single smudged or misprinted bar rarely causes a wrong item to ring up. This tool calculates the correct check digit automatically whenever you provide the digits without it — for EAN-13, for example, entering all 12 data digits is enough; the 13th check digit is computed and appended for you.

Choosing the Right Barcode Size

Barcode size is a trade-off between scan reliability and available label space. Every symbology has a minimum "X-dimension" — the width of its narrowest bar — below which most handheld scanners start to struggle, especially at longer scanning distances. As a general rule, keep the barcode at 100% or larger of the nominal size published by GS1 for retail formats like EAN-13 and UPC-A, and never scale a barcode down below about 80% of nominal size. For internal-use formats like Code 128 on a shipping label, you have more flexibility, but taller bars with a wider quiet zone on each side will always scan more reliably than a barcode squeezed into a tight corner of a label template.

GS1, GTINs and Registering Your Own Barcode Numbers

If you plan to sell a physical product through major retailers or e-commerce marketplaces, the product's EAN-13 or UPC-A number usually needs to be a Global Trade Item Number (GTIN) licensed through GS1, the non-profit organization that governs global barcode standards. GS1 issues a unique company prefix, and you assign item reference numbers underneath it, with the check digit calculated the same way this tool calculates it. Simply generating a barcode image — including with this tool — does not register a number with GS1; it only produces the printable symbol. For internal-only barcodes such as Code 128 labels used purely inside your own warehouse or POS system, no external registration is required at all since the numbers never need to be globally unique.

Barcode Generator for Excel, Inventory Sheets and Spreadsheets

A common workflow is generating a batch of barcodes to paste into a spreadsheet for inventory or product-catalog purposes. Because this tool renders each barcode instantly in the browser, you can generate one code at a time, download it as a PNG, and paste it into the matching row of an Excel or Google Sheets inventory list, repeating the process for every SKU. For very large catalogues, many businesses instead script the same encoding logic (Code 128, EAN-13, etc.) in bulk using a barcode library, then merge the resulting images with a mail-merge or label-printing tool — this generator is ideal for quickly checking that a symbology renders and scans correctly before committing to that larger workflow.

Barcode Generator Without Watermark, No Login Required

Many "free" barcode generators online quietly stamp a watermark across the image or require an account before unlocking high-resolution downloads. This tool has neither restriction: every barcode you generate is delivered at full resolution, with no branding overlaid on the image, and no login, email address or payment information requested at any point. That makes it suitable for both one-off personal projects and repeated commercial use, including on packaging that ships to customers.

Explore Our Other Free Tools

ToolPlex is a growing collection of fast, free, browser-based utilities for everyday tasks. There are several Text tool that are useful in our daily life, such as Base64 Encoder & Decoder, QR Code Generator, Barcode Generator, Password Generator, Word Counter, Case Converter, Text Repeater and Fancy Text Generator. Toolplex have quick converters to make the work easy, such as Unit Converter, Currency Converter, Time Zone Converter, Number to Word Converter, Word to Number Converter and Color Converter. Handling of Documents become simpler & easy with the help of tools like Image to PDF File Converter, PDF to Image Converter, PDF Compressor, Combine PDF Files tool, Split PDF tool, Rearrange PDF File tool, Remove PDF Page tool, Text Extractor tool, PDF to DOCX Converter, DOCX to PDF Converter , PDF Page Numbering tool, PDF Lock & Unlock tool and Signature Maker. To work on image Toolplex provide list of tool, such as JPEG Compressor, Merge PDF and Image tool, Image Resizer tool, Photo Date & Time Stamper, Passport Size Photo Maker, WEBP to Image Converter, Image to WEBP Converter and HEIC to Image Converter.

Frequently Asked Questions

What is a barcode?
A barcode is a machine-readable pattern of parallel bars and spaces that encodes data such as numbers, letters or product identifiers. Barcode scanners read the pattern and convert it back into text or numbers instantly, which is why barcodes are used everywhere from retail checkouts to warehouse shelves.
How do I create a barcode?
Select a barcode type from the dropdown, type your text or numbers into the input box, and the barcode is generated automatically as you type. Adjust colors, size or text options if needed, then download it as PNG, SVG, JPG, WEBP or PDF, or print it directly.
Is this barcode generator free?
Yes, this barcode generator is completely free with no hidden charges, no watermark and no limit on the number of barcodes you can create. There is no signup or account required.
Can I print the barcode I generate?
Yes. Click the Print button to send the generated barcode directly to your printer at full resolution, ready to stick on products, shelves or documents.
Can I download the barcode as a PNG image?
Yes, click the PNG download button and the barcode is saved to your device as a high-resolution PNG file, with a transparent or solid background depending on your settings.
What is the difference between a QR code and a barcode?
A traditional barcode is a 1D (linear) symbol made of parallel bars that typically stores a short numeric or alphanumeric code, like a product ID. A QR code is a 2D matrix symbol made of a grid of squares that can store far more data, including URLs, contact details and long text, and can be scanned from any angle.
Can a barcode contain letters?
It depends on the format. Code 128, Code 39 and Code 93 support letters, numbers and many symbols. Formats like EAN-13, EAN-8, UPC-A, UPC-E, ITF, MSI, Pharmacode and POSTNET are numeric-only.
Can a barcode contain only numbers?
Yes. Numeric formats such as EAN-13, EAN-8, UPC-A, UPC-E, ITF, MSI, Pharmacode, Standard 2 of 5, Industrial 2 of 5, POSTNET and the GS1 DataBar family are designed specifically for numeric data and are commonly used for retail products and mailing codes.
How many barcode types exist?
There are dozens of barcode symbologies in use today. This tool alone supports over 25 formats, including Code 128, Code 39, Code 93, EAN-13, EAN-8, EAN-5, EAN-2, UPC-A, UPC-E, ITF, Codabar, MSI, Pharmacode, GS1-128, ISBN, ISSN, 2 of 5 variants, Plessey, POSTNET and the full GS1 DataBar family.
What barcode type should I use?
For retail products sold in stores, use EAN-13 or UPC-A. For internal inventory or logistics labels, Code 128 or Code 39 are flexible choices. For books, use ISBN (EAN-13). For shipping and logistics with extra data like weight or batch number, use GS1-128 or GS1 DataBar.
Can I use the barcode commercially?
Yes, the barcode images you generate with this tool are yours to use for any purpose, including commercial packaging, labels and inventory systems. Note that to sell products in major retail stores you typically also need to register your GTIN/UPC number with GS1.
Does ToolPlex store my data?
No. Every barcode is generated entirely inside your browser using JavaScript. Nothing you type is ever uploaded, logged or stored on any server, making the tool fully private and safe for confidential or proprietary codes.
Can I generate barcodes offline?
Once the page has fully loaded in your browser, barcode generation itself runs locally using JavaScript without contacting a server, so it continues to work even with an unstable connection.
Can I create Code128?
Yes. Select Code 128 from the barcode type dropdown, type any letters, numbers or symbols, and a valid Code 128 barcode is generated instantly with automatic character-set switching.
Can I create EAN13?
Yes. Select EAN-13, enter a 12 or 13 digit number, and the tool automatically calculates the correct check digit and renders a scannable EAN-13 symbol with the digits displayed underneath.
How to print barcode?
Use the Print button for the sharpest output, keep the barcode at 100% scale in your print dialog, use a laser printer or high-DPI inkjet where possible, and always test-scan a printed sample before mass printing labels.
Can barcode be scanned from phone?
Yes, most modern smartphone camera apps and dedicated barcode scanner apps can read 1D barcodes like Code 128, EAN-13 and UPC-A directly from a screen or printed label, as long as there is enough contrast and a clear quiet zone around the barcode.
Can barcode expire?
The barcode symbol itself never expires — it's just an encoded pattern. However, GTIN/UPC numbers licensed through GS1 are tied to an active membership, so the right to use a specific number can lapse if a company's GS1 registration is not renewed.
Can I customize colors?
Yes, you can change the foreground (bar) color and background color, or enable a transparent background. Keep in mind that scanners rely on strong contrast, so dark bars on a light background scan most reliably.
Is barcode generator mobile friendly?
Yes, the entire tool is fully responsive and works smoothly on Android and iPhone browsers, including live preview, all download formats and printing support.
What file formats can I export a barcode in?
You can export barcodes as PNG, SVG, JPG, WEBP or PDF, copy the barcode image directly to your clipboard, or send it straight to your printer.