Free Barcode Generator

Code 128, EAN-13, UPC-A, Code 39, ITF-14 — live preview, PNG & SVG download. Free, no signup. This tool is part of the same group as the Excel Formula Builder.

5 formats Live preview PNG + SVG Free forever

✓ Meets the ToolVaultly Standard · Last tested: Oct 7, 2026

Try an example
🔒Private by design. Everything runs in your browser — nothing is uploaded, stored or tracked.
Quick answer: Enter your product number above, choose the format — EAN-13 for international retail, UPC-A for the US, Code 128 for shipping and inventory — and download the PNG or SVG. The check digit is calculated automatically. For real retail products you also need a registered GTIN from GS1.

Like this tool? Get the next one first.

Join the ToolVaultly list — one short email per new tool launch.

You're on the list — please check your inbox to confirm your subscription.

No spam, unsubscribe anytime.

Last updated: October 2026

How do I create a barcode for my product?

Short answer: enter your product number above, choose EAN-13 (international retail) or UPC-A (US retail), and download the PNG or SVG. One important note: for real retail you need a registered GTIN from GS1 — this tool draws the barcode pattern but can't assign an official product number.

Which barcode format should I use?

Code 128 for general use — shipping labels, inventory, tickets — it encodes letters, numbers and symbols. Need a guaranteed-unique ID for each item? Generate one with our UUID generator first, then encode it as Code 128. EAN-13 for retail products sold internationally (GS1 barcode standards), UPC-A for the US. Code 39 for industrial and automotive, ITF-14 for shipping cartons. Enter 12 digits for EAN-13 and the correct check digit is added automatically.

Printing tips

Download SVG for packaging and professional print — it's vector and stays razor-sharp at any size. Use the 3x PNG for documents and labels. Always print at 100% scale (never stretch the barcode) and test-scan one copy before a full print run. Keep the quiet zone — the blank margin on both sides of the bars — clear: most specs want at least 10× the narrowest bar width of empty space, and scanners will fail without it. As a rule of thumb, don't print retail barcodes smaller than about 80% of standard size (roughly 30 mm wide for EAN-13).

Why some barcodes won't scan (even though they look right)

Many people assume that if the barcode looks right, it will scan — but most scan failures come from the data or the printing, not the drawing. The usual culprits: the wrong symbology for the reader (a scanner set up for Code 128 won't read Code 39), a made-up retail number with no registered GTIN behind it, a barcode stretched or shrunk during printing, or a missing quiet zone. Generate the right format for your use case and always test-scan one copy before a full run. And if you need a code any smartphone can scan — a menu, a WiFi network, a link — a QR code is the better choice: our WiFi QR generator builds those in seconds.

Frequently asked questions

How do I create a barcode for my product?
Enter your product number above, choose EAN-13 (international retail) or UPC-A (US retail), and download the PNG or SVG. Note: for real retail you need a registered GTIN from GS1 — the generator draws the barcode pattern but can't assign you an official product number.
Which barcode format should I use?
Code 128 for general use (shipping, inventory, tickets) — it encodes letters, numbers and symbols. EAN-13 for retail products sold internationally, UPC-A for the US. Code 39 for industrial/automotive, ITF-14 for shipping cartons.
What is the check digit on EAN-13?
The 13th digit is computed from the first 12 to catch scanning errors. If you enter 12 digits, the generator adds the correct check digit automatically; if you enter 13, it validates it.
PNG or SVG — which should I download?
SVG for print and packaging design — it's vector, so it stays razor-sharp at any size. PNG (exported at 3x) for quick use in documents, labels and web pages.
Are the generated barcodes scannable?
Yes — the generator uses the standard JsBarcode encoding library and draws spec-compliant bar patterns. Print at 100% scale (don't stretch) and test-scan before mass printing.
What's the difference between UPC-A and EAN-13?
UPC-A is 12 digits and is the standard retail barcode in the US and Canada; EAN-13 is 13 digits and is the international retail standard. A UPC-A number is technically a subset of EAN-13 (a leading zero makes them equivalent), and most modern scanners read both — but your retailer or marketplace may require one specifically, so check before printing packaging.
What about QR codes — are those barcodes too?
QR codes are 2D (matrix) barcodes: they store far more data than 1D linear barcodes and scan with any smartphone camera. This tool generates 1D linear formats (Code 128, EAN-13, UPC-A, Code 39, ITF-14). If you need a QR code, use a dedicated QR generator instead.
Can I use these barcodes commercially?
Yes — the barcode patterns this tool draws follow open standards, so you're free to use them on packaging, labels and inventory. The one exception is retail: stores require a registered GTIN from GS1, which you buy separately — the tool draws the pattern but can't issue you an official product number.
Can I generate barcodes in bulk?
This tool generates one barcode at a time, which is ideal for single products and labels. If you need hundreds at once (a full product catalog), look for a batch barcode tool that accepts a CSV upload — then download this page's SVG/PNG output for the individual designs.
Is my product data uploaded anywhere?
No. The barcode is drawn entirely in your browser with JavaScript — your product numbers never leave your device, aren't stored, and aren't tracked. That's especially useful for unreleased products or internal part numbers.
What is the quiet zone on a barcode?
The quiet zone is the blank margin on the left and right of the bars that tells the scanner where the barcode starts and ends. Keep it completely clear of text, borders and graphics — most specifications require at least 10 times the width of the narrowest bar. A barcode with no quiet zone often won't scan at all.
Is there a free UPC barcode generator?
Yes — choose the UPC-A format, enter your 11 or 12-digit product number, and download the barcode as PNG or SVG. It is free, runs entirely in your browser, and nothing is uploaded.