Barcode Generator Online

Generate EAN-13, UPC-A, Code 128, Code 39 and ITF-14 barcodes in your browser and download crisp SVG or PNG. Your data stays on your device.

The Barcode Generator runs entirely in your browser. The product codes, SKUs and text you encode are rendered locally and never uploaded to ArrayKit.

Built and maintained by Udit Agarwal

Open the QR Code Generator

About Barcode Generator

The Barcode Generator turns product codes, SKUs and labels into scannable barcodes without leaving your browser. Pick a symbology — EAN-13, EAN-8, UPC-A, Code 128, Code 39 or ITF-14 — type your data, and see a live preview update as you tweak the module scale, bar height and human-readable caption. For the retail symbologies it appends the GS1 check digit automatically, so you can enter the 12-digit EAN payload and let the tool complete it. When the barcode looks right, download a razor-sharp SVG for print artwork or a PNG for the web, or copy the SVG markup straight into your design file. It suits developers, warehouse and inventory teams, and anyone printing shipping or shelf labels. Every barcode is rendered on your device — nothing you type is uploaded.

Features

  • Generate EAN-13, EAN-8, UPC-A, Code 128, Code 39 and ITF-14 barcodes
  • Automatic GS1 check digit for EAN, UPC and ITF-14 payloads
  • Live preview that updates as you type and adjust options
  • Adjustable module scale and bar height for print or screen density
  • Toggle the human-readable text caption on or off
  • Download a scalable SVG for print or a raster PNG for the web
  • Copy the SVG markup to paste into design or layout tools
  • Clear inline validation for wrong length or out-of-charset data

How to use the Barcode Generator

  1. Choose a symbology such as EAN-13 or Code 128
  2. Type the data to encode — the check digit is added for retail codes
  3. Adjust the scale, bar height and human-readable text as needed
  4. Download the barcode as SVG or PNG, or copy the SVG markup

Example

Input

Symbology: EAN-13
Data: 400638133393

Output

EAN-13 barcode encoding 4006381333931 (check digit 1 appended)

Enter the 12-digit payload; the 13th check digit is computed for you.

Common errors & troubleshooting

  • EAN-13 refuses to render and flags the length. — Enter exactly 12 digits (the payload) or 13 digits if you already include the check digit. Letters and spaces are not allowed for EAN.
  • The scanner reads the wrong number for an EAN or UPC code. — Do not add your own check digit and the auto one too. Type only the payload and let the tool append a single check digit.
  • Code 39 rejects lowercase letters or punctuation. — Standard Code 39 supports A–Z, 0–9 and - . $ / + % and space. Use Code 128 if you need lowercase or a wider character set.
  • The printed PNG looks blurry or the bars are too narrow to scan. — Raise the module scale for a higher-resolution PNG, or download the SVG and let your printer render it at full resolution.

Frequently asked questions

Which barcode symbologies can this generator create?
It supports the common retail and logistics linear barcodes: EAN-13, EAN-8, UPC-A, ITF-14, plus the general-purpose Code 128 and Code 39. Retail codes automatically get their GS1 check digit.
Do I need to add the check digit for EAN or UPC barcodes?
No. Enter the payload — 12 digits for EAN-13, 11 for UPC-A, 7 for EAN-8, 13 for ITF-14 — and the tool computes and appends the correct check digit. If you paste the full checked number it is accepted too.
What is the difference between Code 128 and Code 39?
Code 128 encodes the full ASCII set — upper and lower case, digits and symbols — in a compact form, so it suits SKUs and serial numbers. Code 39 is older, less dense and limited to A–Z, digits and a few symbols.
Should I download the barcode as SVG or PNG?
Use SVG for print, labels and anywhere the barcode may be resized, because it stays sharp at any scale. Use PNG when you need a fixed-size raster image for a web page or a document that does not support SVG.
Can I print these barcodes on product or shipping labels?
Yes. Download the SVG so the bars print at your printer's full resolution, keep the human-readable text on for manual entry, and test-scan one label before running a full batch to confirm the quiet zones are wide enough.
Is the data I encode sent to a server?
No. The Barcode Generator renders every barcode in your browser using an on-device engine. The product codes, SKUs or text you type are never uploaded to ArrayKit or anywhere else.

Related tools

  • QR Code Generator — Generate a QR code from text or a URL; download as PNG or SVG.
  • SVG to PNG Converter — Convert SVG to PNG or JPG at any scale, with a transparent or solid background, in your browser.
  • Image Format Converter — Convert images between PNG, JPEG and WebP entirely in your browser.
  • App Icon Generator — Turn one image into every iOS, macOS and Android app icon size — downloaded as a ZIP, in your browser.
  • Base64 Image Encoder / Decoder — Convert images to Base64 Data URIs with ready-made HTML and CSS snippets, or decode a Data URI back to a downloadable image.
  • Color Format Converter — Convert a color across HEX, RGB, HSL, HWB, LAB, LCH and OKLCH with a live swatch.

Guides

More Images tools

  • Image Color Palette Extractor — Extract a dominant color palette from an image as HEX, RGB and HSL with CSS variables.
  • Flip & Rotate Image — Rotate by 90° and flip images horizontally or vertically, then download — in your browser.
  • Image Cropper — Crop an image to any area or fixed aspect ratio and download it, in your browser.
  • Image Watermark — Add a text or logo watermark to an image, anchored or tiled, with opacity and rotation.
  • Blur & Redact Image — Permanently blur, pixelate or black out parts of a screenshot before sharing it.
  • Round Image Corners — Clip photos to rounded rectangles or circles and export PNGs with transparent corners.
  • Color Blindness Simulator — See any image the way people with protanopia, deuteranopia or tritanopia see it.
  • Image DPI Changer — Set a PNG or JPEG’s DPI for print without recompressing a single pixel.
  • BlurHash Generator — Turn an image into a BlurHash string, and decode any hash back to a preview.
  • Placeholder Image Generator — Make placeholder images at any size, as SVG, PNG or a data URI.
  • ASCII Art Generator — Convert any image into ASCII art, with character sets, contrast and invert.
  • Image Filters — Apply grayscale, sepia, contrast, blur and more, then export the PNG and the CSS.

See all Images tools (40) · All tools