Barcode Generator

Generate barcodes in Code 128, EAN-13, and other formats from any text.

#000000
#ffffff
2px
100px
10px

What is the Free Barcode Generator?

The free Barcode Generator creates downloadable barcode images in eight formats: Code 128 (any ASCII text), Code 39 (A–Z, 0–9), EAN-13 (12–13 digits), EAN-8 (7–8 digits), UPC-A (11–12 digits), ITF-14 (13–14 digits), MSI (digits only), and Pharmacode (3–131070). Customise bar colour, background colour, bar width, and bar height, then download as PNG or SVG.

  • Generate a product barcode for a retail item label or packaging.
  • Create a Code 128 barcode for an inventory or warehouse tracking system.
  • Produce EAN-13 or UPC-A barcodes for consumer goods sold at retail.
  • Generate a barcode for a printed ID card, library system, or asset tag.
  • Create a Pharmacode barcode for pharmaceutical product packaging.

How to Use the Free Barcode Generator

  1. 1 Select a barcode format from the dropdown — Code 128 accepts any text; EAN-13 requires 12–13 digits.
  2. 2 Type your content into the value field (the input hint shows the valid format for the selected type).
  3. 3 Adjust Line colour, Background colour, Bar width, and Bar height as needed.
  4. 4 The barcode preview updates instantly.
  5. 5 Click Download PNG or Download SVG to save the barcode image.

Key Features

  • 📊
    Eight barcode formats
    Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, MSI, and Pharmacode.
  • 🎨
    Custom colours
    Set line and background colours for brand-matched barcodes.
  • 📐
    Adjustable dimensions
    Set bar width and bar height independently for the exact size you need.
  • 💾
    PNG & SVG download
    Download as a raster PNG or a scalable SVG — suitable for print and screen.

Example Usage

Example Input
Format: Code 128, Value: "ACKEN-TOOLS-001", Height: 100px, Black on white
Example Output
[Barcode image — scannable linear barcode]

Frequently Asked Questions about the Free Barcode Generator

What is the free Barcode Generator?
Generate barcodes in Code 128, EAN-13, and other formats from any text.
Is the Barcode Generator free to use?
Yes, the Barcode Generator is completely free. No account, subscription, or signup is required — ever.
Does my data get uploaded anywhere?
No. The Barcode Generator runs entirely in your browser. Your data is never sent to any server.
Does it work offline?
Yes. Once the page has loaded, the tool works without an internet connection.
Which browsers are supported?
All modern browsers — Chrome, Firefox, Safari, and Edge. No plugins or extensions required.
Which barcode format should I use for retail products?
EAN-13 is the international standard for retail products. UPC-A is the North American standard. Both require an official GS1 barcode number for actual commercial use.
Is Code 128 the most flexible format?
Yes — Code 128 encodes all 128 ASCII characters and has no length limit, making it the best choice for internal identifiers, tracking codes, and text-based barcodes.
Can I use this free Barcode Generator for commercial products?
You can generate the visual barcode image, but for retail scanning (EAN-13/UPC-A), you must use a legally registered GS1 barcode number assigned to your organisation.

Related Free Generators