Find a tool

↑↓ navigate Enter open

Use a task word when you do not know the exact name.

Barcode Generator

Local only

Enter text or digits, choose a barcode type and generate a black-on-white barcode in your browser. Export a scalable SVG or a PNG. EAN-13 and UPC-A accept a complete code or compute the final check digit when it is omitted.

Reviewed · Updated · Free to use · No account required

Up to 128 characters. EAN-13: 12 or 13 digits; UPC-A: 11 or 12 digits. A missing check digit is computed. Keep the white margins when printing.

Result
Barcode preview
Input stays in this tab. Required engine files load from this site.

What does the Barcode Generator do?

Enter text or digits, choose a barcode type and generate a black-on-white barcode in your browser. Export a scalable SVG or a PNG. EAN-13 and UPC-A accept a complete code or compute the final check digit when it is omitted.

When should you use this tool?

Use this tool for one-dimensional labels and test fixtures. Use QR Code Generator for Unicode text and URLs. For production product labels, confirm identifier assignment, required symbol dimensions and scanning quality separately.

How do you use it?

  1. Choose the barcode type and enter text, or select Sample for a suitable value.
  2. Select Run and check the encoded text and barcode preview; keep leading zeroes in product codes.
  3. Download SVG or PNG. Preserve the white quiet zones and test a printed sample with the intended scanner.

Worked example

Complete an EAN-13 check digit

Input

Type: EAN-13
Digits: 590123412345

Output

Encoded digits: 5901234123457
SVG and PNG barcode

The final 7 is computed from the first 12 digits. Supplying a complete 13-digit code with a wrong check digit produces an error instead of silently changing it.

Common errors and fixes

SymptomLikely causeFix
The product code is rejected.The digit count or supplied check digit does not match EAN-13 or UPC-A.Use 12/13 digits for EAN-13 or 11/12 for UPC-A. Keep leading zeroes and remove separators.
Text is rejected or a printed barcode does not scan.Each symbology has a limited character set, and scanning depends on size, contrast and margins.Use uppercase for Code 39 and printable ASCII for Code 128. Keep the margins and avoid stretching or low-resolution printing.

Supported behavior and limitations

Maximum 128 characters. Code 128 accepts printable ASCII only; Code 39 accepts uppercase letters, digits, spaces and - . $ / + %. EAN/UPC are digits only. A correct check digit does not prove a product identifier has been assigned or registered. This tool does not certify GS1 compliance, scanner compatibility or print quality. SVG uses vector paths; PNG is a raster export at the generated size.

Standards and implementation references

Frequently asked questions about Barcode Generator

Is my input uploaded?

No. Processing happens in a browser Worker. Engine files load from this website; tool input, output, and filenames are not sent to a processing API.

Do I need an account or API key?

No account, API key, or backend processing service is needed.

How do I save a result?

Review the result, then use the Copy or Download control available for that output. Modifying input clears stale results.

What are the limits?

Maximum 128 characters. Code 128 accepts printable ASCII only; Code 39 accepts uppercase letters, digits, spaces and - . $ / + %. EAN/UPC are digits only. A correct check digit does not prove a product identifier has been assigned or registered. This tool does not certify GS1 compliance, scanner compatibility or print quality. SVG uses vector paths; PNG is a raster export at the generated size.

What changed?

Added local processing, explicit size limits, cancellation, worked examples, error explanations, and downloadable results.

Who maintains this tool?

KL
KitLumi EngineeringKitLumi Engineering maintains tool behavior, privacy disclosures, examples, and automated tests.

How to generate and export a barcode locally →