Barcode generator

Export Code128, EAN, Code39 and ITF as PNG or SVG.

Processed only in this browser
Preview a standards-based barcode and export PNG or SVG.
More options

Inputs are processed in this browser without sending or saving them to a server, URL or persistent browser storage. Results you copy or save can remain on your device.

How to use this tool

  1. Choose the symbology required by the receiving system.
  2. Enter the value, height and scale and inspect the rendered result.
  3. Save PNG or SVG and scan-test it at its intended physical size.

Example input and result

Input and settings
Code128; TOOLWEB-2026
Result
A barcode PNG or SVG including readable text

Each symbology accepts different values

EAN validates digit lengths and check digits, while Code39 uses a restricted alphabet. Invalid values are rejected instead of producing a misleading code. Creating an image does not issue or register a product identifier.

Quiet zones, scale and scanning

Keep the blank margins around the bars and avoid stretching only the width. SVG scales as vectors, but printers, paper and scanners vary, so test a print at its final size.

Common questions

What should I check when EAN input is rejected?

Check the digit length and check digit for the selected EAN type. The tool neither issues product numbers nor queries product databases; use an identifier from its appropriate issuer.

Standards and references

Read alongside this tool