Developer Tools

Barcode Generator

Create Code 128, EAN-13, EAN-8, UPC-A, Code 39, or ITF-14 barcodes instantly in your browser — download as SVG or PNG, no upload, no signup.

No uploads — browser onlySVG + PNG download

Barcode format

Any printable ASCII characters

Barcode value

Code 128 for General Use

Code 128 is the most versatile linear barcode — it encodes any printable ASCII character and is widely used in logistics, shipping labels, and inventory management.

EAN / UPC for Retail

EAN-13 and UPC-A are the standard barcodes on retail products worldwide. EAN-13 is used internationally, UPC-A is common in North America. Both require numeric input only.

Fully Private

All barcode generation runs in your browser using JsBarcode loaded from CDN. Your input data is never sent to any server.

How to create a barcode online

  1. Choose a barcode format — Code 128 for general text, EAN-13 or UPC-A for retail products, Code 39 for alphanumeric identifiers.
  2. Enter the value to encode. Check the format hint for input requirements (e.g. EAN-13 needs 12 digits).
  3. Adjust height, bar color, background color, and whether to show human-readable text below the bars.
  4. Click Generate Barcode to render a live preview.
  5. Download as PNG (for printing or embedding in documents) or SVG (for scalable, print-quality output).

Privacy — processed in your browser

This barcode generator runs entirely in your browser. The barcode library (JsBarcode) is loaded from CDN and all encoding happens locally — your input data is never sent to any server, never logged, and never stored. You can safely generate barcodes for internal SKUs, inventory codes, or any private data.

Frequently Asked Questions

Does this upload my data?

No. This browser-based barcode generator encodes your data entirely in your browser. The JsBarcode library runs locally after loading from CDN. Your input values are never sent to any server, never logged, and never stored. You can safely create barcodes from private inventory codes, product IDs, or internal identifiers.

Which barcode format should I use?

Code 128 is the best choice for general use — it encodes any printable ASCII character and is widely accepted in logistics, shipping, and inventory management. EAN-13 and UPC-A are the standard formats for retail products sold internationally and in North America respectively — both require numeric input. Code 39 is common in healthcare, government, and automotive industries.

What is a Code 128 barcode?

Code 128 is a high-density linear barcode that can encode all 128 ASCII characters including uppercase and lowercase letters, digits, and punctuation. It is one of the most widely used barcode formats in the world, appearing on shipping labels, courier packages, library materials, and product inventory systems. The Code 128 barcode generator on this page produces standard-compliant output suitable for printing and scanning.

How do I create a UPC barcode online?

Select UPC-A from the format selector, then enter exactly 11 digits — the check digit is calculated and added automatically. UPC-A barcodes encode 12 digits total and are the standard format on retail products sold in North America. For international products, use EAN-13, which is a superset of UPC-A and is compatible with most retail scanners worldwide.

Can I download the barcode as SVG or PNG?

Yes. Both formats are available. SVG is a vector format that scales to any size without losing quality — ideal for printing at high resolution or embedding in design files. PNG is a raster format suitable for embedding in Word documents, PDFs, presentations, and web pages. For print use, SVG or high-resolution PNG (the download is 3× the screen preview) is recommended.

Related tools