Skip to content
snip tools

Barcode generator

Create Code 128, EAN, UPC, Data Matrix, PDF417 and Aztec barcodes — PNG or SVG, in your browser.

Runs 100% in your browser

How to generate a barcode

  1. Pick a symbology. Choose the barcode type you need.
  2. Enter the value. Type the data to encode; the preview updates live.
  3. Download. Save a PNG for labels or an SVG for print artwork.

About barcodes

Barcodes encode data as a pattern a scanner reads in a fraction of a second. Linear (1-D) codes like EAN and UPC drive retail checkout, while Code 128 handles arbitrary text for shipping and warehouse labels. 2-D codes — Data Matrix, PDF417 and Aztec — store far more in a small footprint and are common on tickets, IDs and tiny parts. This generator uses the open-source BWIPP engine for spec-accurate output. For camera-friendly links, use the QR code generator.

Frequently asked questions

Which barcode symbologies are supported?
Common retail and logistics 1-D formats — Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E and ITF-14 — plus 2-D codes Data Matrix, PDF417 and Aztec. Each renders to a scannable image.
Which barcode should I use?
Use EAN-13 or UPC-A for retail products, Code 128 for shipping and internal labels, ITF-14 for cartons, and Data Matrix or PDF417 where you need to pack more data into a small space.
Is the barcode generated privately?
Yes. Everything is rendered in your browser with an open-source barcode engine; the value you encode is never uploaded.
Why does my EAN/UPC barcode show an error?
Fixed-length retail formats require an exact digit count (EAN-13 needs 12 or 13 digits, UPC-A needs 11 or 12). The tool validates and reports what is expected.