A barcode that scans, at the size it will be printed
BARCODETwo things go wrong with barcodes made on the web, and both are found after the labels are printed: a check digit that does not agree, and a symbol scaled to fit a box, which loses its module width.
Free to use. Saving the result as a file needs a paid plan.
What to encode
How big
The module is the width of the narrowest bar and it is the size that matters. The quiet zone is part of the symbol rather than a margin: without clear space either side, many scanners never find the start.
The barcode
How it works
BARCODE draws Code 128, EAN-13, UPC-A, EAN-8 or Code 39 in millimeters at the size it will be printed, with the quiet zone. It computes the check digit rather than trusting the one typed, and says when it corrected one. The SVG is drawn in this tab.
In more detail
Barcodes made on the web usually fail after the labels are printed: a check digit that does not agree, or bars too narrow to scan at the printed size. BARCODE makes barcodes, including Code 128, with the check digit worked out, sized to the width they will actually be printed, and exports SVG for sharp printing. It tells you when it has corrected a check digit. Your data stays in this tab.
Questions people ask about BARCODE
Why does it change my check digit?
It does not; it tells you. EAN, UPC and similar symbologies end in a digit computed from the ones before it, and a scanner refuses a symbol where it does not agree. If the digit you typed is wrong, the barcode drawn carries the correct one and the page says so, because the alternative is a label that looks perfect and scans nowhere.
What is the module width?
The width of the narrowest bar, and the dimension that decides whether the symbol reads. Below roughly a quarter of a millimeter, ordinary handheld scanners start refusing and a laser printer stops holding the edge cleanly. This is why a barcode scaled to fit a box on a label often stops working: the scaling changed the module.
Why should I use the SVG rather than the PNG?
Because it is resolution-independent, so it prints at whatever your printer can do rather than at whatever the bitmap was made at. The PNG here is rendered at 600 dots per inch for the places that insist on one, but a barcode from a screen-resolution bitmap loses the edge of every bar.
Why is Code 128 sometimes much narrower?
Because it has a character set that encodes two digits in one symbol. A run of digits long enough to be worth the switch is packed that way automatically, so a sixteen-digit number is close to half the width it would otherwise be. The page says which sets it used.
Does my data go anywhere?
No. Asset numbers, batch numbers and patient identifiers all end up in barcodes, and there is no network call on this page.
Who can see your file
| Who | Can they see it? |
|---|---|
| You | Yes |
| OBSCURA OS | No. Your file never reaches us. |
| Someone who breaks into our servers | No. Your file is not there. |
| Advertisers or partners | No. |
| Anyone using your unlocked computer, or a harmful browser extension | Yes. Keep your device and browser clean. |