Barcode Generator
About this tool
Generate a wide range of 1D barcodes (Code 128, Code 39, EAN-13/JAN-13, EAN-8, UPC-A, ITF-14, MSI, Pharmacode, and more) from any string or numeric sequence, then export the result as SVG or PNG. It is handy for mockups of product labels, inventory stickers, or publishing workflows. All processing happens entirely in your browser (no data is sent).
Input
Display options
Rendering options
Preview
Canvas for PNG export (toggle display)
How to use / Tips / Notes
- Input: Enter the value you want to encode, choose a symbology, and press Generate. Each format has its own character and length limits.
- Length rules (highlights):
- EAN-13 / JAN-13: Digits only. Enter 12 digits to auto-append the check digit, or 13 digits if you already have it.
- EAN-8: Digits only. Enter 7 digits (auto check digit) or 8 digits.
- UPC-A: Digits only. Enter 11 digits (auto check digit) or 12 digits.
- ITF-14: Digits only. Enter 13 digits (auto check digit) or 14 digits (many workflows require a fixed 14 digits).
- Code 128: Broad support for alphanumeric and punctuation characters. High density and fast to scan.
- Code 39: Uppercase letters, digits, and
- . $ / + % SPACE
.
- For print: SVG is recommended so you can drop it directly into DTP or other vector-friendly documents. PNG is quick but scales poorly when enlarged.
- Verification: Test the output with a handheld terminal or smartphone app before using it in production. Legibility depends on size, contrast, media, and printer resolution.
- Disclaimer: Confirm that the generated codes comply with your business rules and standards. This tool is intended as an aid for prototyping.