Barcode Generator
Create a reliable, copy-ready Code 128 barcode locally from a product code, order number, or short label.
A QUICK WALKTHROUGH
How to use this tool
- Enter ASCII text up to 80 characters.
- Choose the bar height, width, and whether to show the value below the bars.
- Generate the preview, verify the value, and download the SVG.
Code 128-B for everyday labels
This generator uses Code 128 subset B, which supports printable ASCII characters including letters, numbers, spaces, and punctuation. The checksum and stop pattern are included automatically.
SVG stays sharp at any size
The result is a vector SVG with exact bars and optional human-readable text. It can be printed or placed in a document without becoming blurry.
Local and bounded
The value is processed in your browser and never uploaded. Keep the input to 80 printable ASCII characters for a compact, scannable label.
GOOD TO KNOW
Common questions
Which barcode format is generated?
The tool generates Code 128 subset B, a dense one-dimensional barcode for printable ASCII text.
Can I encode a URL or product code?
Yes. Short URLs, order numbers, SKU values, and other printable ASCII text work well.
Is the barcode uploaded?
No. Encoding and SVG creation happen locally in your browser.
Will every scanner read it?
Most modern scanners support Code 128, but print quality, quiet zones, contrast, and scanner configuration still affect results. Test the downloaded label before production use.