Stock code with a hyphen
- Input
- ESTOQUE-0042
- Expected output
- 223 módulos (156 em Code 128)
14 characters with the asterisks, 16 modules each, minus the last gap.
Code 39 barcode generator
Code 39 dates from the 1970s and survives on badges, library cards, labs and industrial registries because it is simple and needs no check character. The trade-off is space: the same data takes much more width than in Code 128, and the alphabet is small.
14 characters with the asterisks, 16 modules each, minus the last gap.
The same rule as the previous example with 12 characters counted.
Sum 75, remainder 32 in the alphabet table, which maps to the letter W.
The asterisk is the start and stop character, and inside the data it would confuse the scanner.
EAN-13 in most of the world, UPC-A in the United States and Canada, and EAN-8 on very small packages. Books use ISBN-13. The number has to come from your country's GS1 office; this tool only draws the bars.
No. The standard alphabet has only uppercase letters, digits and seven symbols. The tool converts lowercase to uppercase and refuses accents. There is a Code 39 Extended that pairs two characters to cover ASCII, but many scanners do not decode it.
The tool accepts up to 40 data characters. The standard sets no ceiling, but each character costs 16 modules, and a very long code gets too small to fit a readable label.
Code 128 in most cases, for the smaller size and the full alphabet. Use Code 39 when the receiving system, the scanner or the customer requires it.
No. The text shows only the data (and the check character, if on). The asterisks are in the bars, and the scanner usually strips them before returning the value.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154 68" width="308" height="136" role="img" aria-label="Barcode TOOLS-2026"><rect width="154" height="68" fill="#fff"/><path d="M10 2h2v50h-2zM13 2h1v50h-1zM16 2h1v50h-1zM21 2h2v50h-2zM24 2h3v50h-3zM30 2h1v50h-1zM32 2h1v50h-1zM36 2h3v50h-3zM40 2h2v50h-2zM43 2h1v50h-1zM47 2h3v50h-3zM51 2h2v50h-2zM54 2h1v50h-1zM58 2h2v50h-2zM61 2h3v50h-3zM65 2h2v50h-2zM68 2h3v50h-3zM72 2h1v50h-1zM76 2h1v50h-1zM79 2h2v50h-2zM82 2h3v50h-3zM87 2h1v50h-1zM89 2h3v50h-3zM93 2h4v50h-4zM98 2h2v50h-2zM102 2h1v50h-1zM105 2h3v50h-3zM109 2h3v50h-3zM114 2h1v50h-1zM117 2h2v50h-2zM120 2h2v50h-2zM123 2h2v50h-2zM126 2h2v50h-2zM131 2h2v50h-2zM136 2h3v50h-3zM140 2h1v50h-1zM142 2h2v50h-2z" fill="#000" shape-rendering="crispEdges"/><g font-family="Arial, Helvetica, sans-serif" fill="#000"><text x="77" y="61.4" font-size="10" text-anchor="middle">TOOLS-2026</text></g></svg>Everything is generated in your browser; the code value is never sent to a server.