Skip to main content

Barcode Generator

New

Generate Code 128, EAN-13, and Code 39 barcodes as SVG in the browser.

barcodecode128eangeneratesvg
Read the guide
Shortcuts:⌘ KSearch
Barcode settings
Preview
Ready

Frequently Asked Questions

Why does EAN-13 or UPC-A change the last digit I entered?

Those formats use a check digit. If you give 12 EAN digits or 11 UPC digits, the tool calculates the last digit for you; if you provide the full code, it validates that last digit.

Does Code 128 here support any character I can type?

No. This implementation is Code 128 Code B, so it only accepts printable ASCII characters. Extended modes and code set switching are not implemented.

Why does Code 39 reject my lowercase text?

The tool normalizes Code 39 input to uppercase and only allows A-Z, 0-9, space, and the symbols - . $ / + %. Lowercase is not encoded directly.

Can I download a PNG as well as SVG?

Yes. SVG is the native render format, and the PNG download path first loads that SVG into an image and then rasterizes it onto a white canvas.

Do I have to press Generate every time?

Not necessarily. The Generate button is there, but the preview also redraws live when you type or switch barcode types.

Related Tools