Streckkodsgenerator
Generera Code128-streckkoder från valfri ASCII-text
Funktioner
- Generate Code 128, EAN-13, UPC-A, and Code 39 barcodes
- PNG download at configurable size and bar width
- Code 128B (subset for ASCII 32-127) — most input text works
- Implementation uses a hand-curated Code 128 pattern table — scanner compatibility should be verified before production use
- For production-critical applications, use a dedicated library like JsBarcode
Så använder du
- Ange the text eller data you want till encode i the indata field.
- Adjust bar bredd och höjd med hjälp av the sliders.
- Toggle the text label visibility as needed.
- Klicka Download PNG till save the generated barcode.
Tips och bästa praxis
- Code 128 is the densest 1D barcode for ASCII; Code 39 is older and less dense but more universal.
- EAN-13 / UPC-A are for retail products — they have a checksum digit and fixed length.
- For inventory tracking, Code 128 is the modern default; for retail SKUs, EAN/UPC are required by retailers.
- Test the generated barcode with a real scanner (phone camera works) before printing large runs.
- Quiet zones (whitespace before / after the barcode) are required for reliable scanning — the generator includes them.
Vanliga frågor
What is Code128?
Code128 is a high-density 1D barcode format that can encode all 128 ASCII characters. It is widely used in logistics, inventory management, and shipping labels.
What characters can I encode?
Code128B supports all ASCII characters from 32 (space) to 127 (DEL), including uppercase and lowercase letters, numbers, and common symbols.
Is this tool free to use?
Yes, this tool is completely free with no registration required. There are no usage limits, no premium tiers, and no hidden costs.
Is my data safe and private?
Absolutely. All processing happens locally in your browser. No data is ever sent to our servers or any third party.
Does this tool work offline?
Once the page is loaded, the tool works entirely in your browser without requiring an internet connection. The barcode is generated client-side using an HTML canvas.