Barcode Generator

Pick Code 128, EAN-13, UPC-A or Code 39, type your text or number, and download a scannable barcode as PNG or SVG.

This barcode generator makes Code 128, EAN-13, UPC-A and Code 39 barcodes and saves them as PNG or SVG.

Use the Barcode Generator

Barcode Input

Any plain ASCII text, up to 80 characters.

Enter text on the left to generate a barcode

Downloaded!

Quick answer

This barcode generator makes Code 128, EAN-13, UPC-A and Code 39 barcodes and saves them as PNG or SVG. Code 128, the default, takes up to 80 plain ASCII characters for shipping and inventory labels. For EAN-13, type 12 digits and the check digit is added, so 590123412345 becomes 5901234123457; UPC-A works the same way with 11 digits. Products sold in stores also need a GTIN licensed from GS1.

Examples

UseFormatExample data
Shipping, inventoryCode 128ABC-12345
US retailUPC-A036000291452
Retail outside USEAN-135901234123457
BooksISBN as EAN-139780306406157
Badges, older systemsCode 39EMP-0042
Links, Wi-FiQR code (separate tool)https://...

Pick a format, then type your text or number.

Summary

This free barcode generator makes Code 128, EAN-13, UPC-A and Code 39 barcodes in your browser with JsBarcode. EAN-13 and UPC-A check digits are worked out for you, and a wrong check digit is flagged. Set the bar height, show or hide the text under the bars, and save the barcode as PNG or SVG.

How it works

  1. Pick a format: Code 128 (default), EAN-13, UPC-A or Code 39.
  2. Type or paste your text or number. The barcode renders as you type.
  3. For EAN-13 and UPC-A, leave off the last digit to have the check digit added, or type it to have it checked.
  4. Adjust the bar height and the text label, then click Download PNG or Download SVG.

Use cases

  • Print Code 128 labels for warehouse bins and internal stock numbers.
  • Make EAN-13 or UPC-A barcodes for products once you have a GS1 number.
  • Produce shipping labels and logistics codes.
  • Generate Code 39 barcodes for badges or systems that only read Code 39.
  • Test barcode scanners during software development.
  • Create printable barcodes for event tickets or membership cards.

Frequently Asked Questions

Last updated: 2026-05-29 · Reviewed by Nham Vu