Image

Barcode Generator

Build 1D barcodes for retail SKUs, internal IDs, and logistics labels — pick a symbology (CODE128, EAN, UPC, and more), tune bar width and quiet zone, then download PNG or copy the image. Rendering uses the JsBarcode library in your browser; like our APK Analyzer, your data stays local — nothing is uploaded to DroidXP for encoding.

Ad placement — top banner

EAN-13 / EAN-8 / UPC expect numeric strings of the correct length. CODE128 supports full ASCII; CODE39 uses a smaller character set.

Bars
Background
Preview
Ad placement — mid rectangle

What is this barcode generator?

Linear (1D) barcodes encode data in bar widths and gaps — common in retail POS, warehousing, and asset tagging. This page helps you produce a preview image quickly, with the same transparency as our APK String Extractor: you control the input, you see the output, and DroidXP does not receive your payload over the network for generation.

Symbologies and validation

Each format has rules: EAN and UPC are numeric with fixed lengths; ITF-14 targets carton codes; CODE128 is flexible for internal use; CODE39 is older and more restrictive. If you see an error, check digit counts and allowed characters — the JsBarcode library enforces what it can encode.

This is a prototyping and design helper, not a certified GS1 issuance system. For regulated retail or healthcare labeling, follow your organization’s barcode and numbering authority process.

Scanning quality

Scanners need contrast, a clear quiet zone around the symbol, and appropriate print resolution. Test with your actual hardware and lighting before high-volume printing — the same practical advice we give for APK inspection: verify on real devices.

Related tools

Pair with QR Code Generator when you need 2D codes for URLs or longer text.

How to use this tool

  1. Step 1: Choose a symbology that matches your use case.
  2. Step 2: Enter digits or text that satisfy that format’s rules.
  3. Step 3: Adjust bar width, height, margin, and colors for print.
  4. Step 4: Download PNG or copy the image, then validate with a real scanner.

Frequently Asked Questions

Does DroidXP upload my barcode data?

No. Encoding runs in your browser. Your value is not sent to DroidXP servers for this tool.

Is this GS1-certified for retail?

No. It is a general-purpose generator for drafts and tests. Official product identification requires proper GS1 company prefixes and compliance workflows.

Why does EAN-13 fail with my number?

EAN-13 expects 12 or 13 digits (check digit may be computed). Remove spaces and letters; verify length. See JsBarcode documentation for edge cases.

CODE128 vs CODE39 — which should I pick?

CODE128 is denser and supports full ASCII. CODE39 is simpler but limited — often used for legacy asset labels.

Why won’t my scanner read the image?

Check contrast, quiet zone (increase margin), print blur, and that the symbology matches what the scanner expects. Test at final label size.

Does this work offline?

After the page and JsBarcode are cached, generation can work without network. The first visit needs connectivity to load the library from the CDN unless you self-host it.

What localStorage keys are used?

Keys starting with droidxp-bcg- store your value and option preferences. Clear value removes only the encoded text key.

Is the CDN script trustworthy?

We load the published JsBarcode bundle from jsDelivr. For strict environments, vendor the file and serve it from your own domain.

Can I encode secrets in a barcode?

Barcodes are not encrypted — anyone with the image can read the payload. Do not encode confidential data unless you accept that risk.

SVG export?

This page targets PNG from a canvas for easy paste into documents. JsBarcode can emit SVG in code — use a developer workflow if you need vector output.