Barcode tools

Free Online Barcode Generator

Create EAN-13, EAN-8, UPC-A and Code 128 barcodes in your browser. Adjust colors and output settings, download individual files, or export multiple barcodes as a ZIP.

File type

Type
Error correction

How much of the code may be damaged or covered and still scan. Auto picks the strongest level that doesn't make the code bigger.

About Barq

Free, fast and private QR code and barcode generator. Add your logo, pick colors and styles, make WiFi or contact QR codes, and download SVG, PNG, JPG or a print-ready PDF at an exact size. Everything happens in your browser: what you enter is never sent to a server, there is no tracking or analytics, and it works offline once loaded. Like any website, our server and Cloudflare log technical data such as your IP address; see the privacy policy.

Barq remembers your settings, your last input and up to 8 recent QR codes you downloaded or copied, in this browser only (localStorage), so they are still there next time. WiFi passwords and otpauth:// links (one-time password secrets) are never saved.

Help

QR code size
21 × 21 squares is the smallest QR code. More content means more squares; short content stays small.
Error correction
L 7%, M 15%, Q 25%, H 30% of the code may be damaged or covered and still scan. Logos need Q or H.
Printing
Keep QR squares at least 0.4 mm and the code at least 2 cm. Scan distance is roughly 10 × the code width. Print PDFs at "Actual size" or 100%, not "Fit to page".
Scan check
Every QR code is decoded in your browser after each change, so you know it works before you download.
Barcodes
EAN-13 and UPC-A for retail products, EAN-8 for small packages, Code 128 for letters and numbers. The check digit is added or verified automatically. Use dark bars on white; red bars are invisible to laser scanners.

Quick start

How to Create a Barcode

  1. Choose EAN-13, EAN-8, UPC-A or Code 128.
  2. Enter your value and review the validation message and preview.
  3. Adjust the bar height, color and displayed text as needed.
  4. Select PNG, SVG, JPG or PDF and review the available output settings.
  5. Click Download. For multiple values, use Many at once (ZIP).

Choose your format

Supported Barcode Types

Select the format required by the system that will read your barcode.

Barcode formats available in this tool
FormatTypical useData
EAN-13Retail product identification13 digits including the check digit
EAN-8Retail products with limited label space8 digits including the check digit
UPC-ARetail product identification12 digits including the check digit
Code 128Internal identifiers, inventory and labelsLetters and numbers

Creating a barcode image does not register a product or issue an official product identifier. Use identifiers assigned for your intended application.

Files and batches

Download Barcodes and Generate Batches

PNG and JPG

Download an image using the available image-width settings.

SVG

Download a vector file or use Copy SVG for the generated markup.

PDF

Choose the barcode width, measurement unit, paper size and cut-line option.

Batch ZIP

Enter one value per line in Many at once (ZIP), choose the format and settings, then select Download all as ZIP.

Review the batch feedback and test a small batch before preparing a larger set. Batch entries use the barcode type and output settings selected above.

Before printing

Barcode Printing Tips

  • Use dark bars on a white background. Avoid red bars.
  • Leave clear space around the barcode; do not crop it tightly.
  • Do not stretch the barcode unevenly or make the bars unnecessarily short.
  • For PDF output, check the physical width and print at Actual size or 100% when that is the intended scale.
  • Test the final printed barcode with the scanner and workflow you intend to use.

A valid input or successful download is not a certification of printed barcode quality.

Common questions

Frequently Asked Questions

Is this barcode generator free?

Yes. You can create and download barcodes using the formats available in the tool.

Can I download a barcode as PDF or SVG?

Yes. Choose PDF or SVG in the File type row. PDF displays additional print settings; SVG can also be copied with Copy SVG.

How do I generate multiple barcodes?

Open Many at once (ZIP), enter one value per line, and click Download all as ZIP. Review any validation feedback before retrying rejected entries.

Which format can I use for letters and numbers?

Choose Code 128 for alphanumeric identifiers. EAN-13, EAN-8 and UPC-A use numeric values.

Why is my barcode value rejected?

Check the selected format, required length and validation message. Numeric formats also have a check digit that must match the value.

Does generating an image register a retail barcode?

No. This tool creates the image from your input. It does not assign official product identifiers or register products.

Continue your workflow

Explore other Vamriko tools for codes, files and browser-based utilities.