What This Tool Does
Pick a symbology, type your content, and a barcode renders instantly — entirely in your browser. A WebAssembly module compiled from Rust draws every barcode inside your browser tab, so nothing you type is ever sent to a server.
How to Use It
Choose a symbology from the list, then type the content into the field below it — each symbology has its own hint about the digits or characters it expects. The preview updates live as you type, and invalid content for the chosen symbology (the wrong digit count, for instance, or an unsupported character) shows a clear message instead of a broken barcode. Download the result as an SVG or a PNG once it looks right.
Choosing a Barcode Symbology
Six symbologies are supported, each suited to a different kind of label:
| Symbology | Best for | Typical length |
|---|---|---|
| EAN-13 | Retail products, worldwide | 12–13 digits |
| UPC-A | Retail products, US/Canada | 11–12 digits |
| EAN-8 | Small packages with little label space | 7–8 digits |
| Code 128 | Shipping and logistics labels, free text | Letters, digits and punctuation, variable length |
| Code 39 | Asset tags, industrial labels | Letters, digits and a few symbols, variable length |
| ITF | Cartons and outer shipping cases | An even number of digits, commonly 14 |
For EAN-13 and UPC-A, either enter the full digit count including your own check digit, or leave it off — the check digit is computed automatically either way, and any mismatch you did supply is flagged rather than silently accepted.
Limits
Barcode content is capped at 256 characters, well beyond what any of these symbologies need for a real-world label. Content that fails a symbology's own rules — wrong length, unsupported characters, a bad checksum — is rejected with a message naming the problem, not a barcode that would fail to scan.
Where to Go Next
Need a 2D code instead of a 1D barcode — for a WiFi network, a vCard contact, or a link? The QR Code Generator builds those with color and error-correction options, downloadable as SVG or PNG the same way. Already hold a barcode or QR code as an image and need to read what's encoded in it? The QR Scanner decodes QR codes straight from an uploaded photo or screenshot.