Barcode Generator

Generate CODE128, EAN-13, UPC, CODE39 or ITF-14 barcodes. Runs entirely in your browser.

Turn text or product numbers into a scannable barcode as a downloadable PNG. Pick from CODE128 for general-purpose alphanumeric data, EAN-13 and UPC for retail products with a fixed digit count, CODE39 for logistics and asset tags, or ITF-14 for shipping cartons. Rendering happens locally on a canvas, so there's no upload and no daily limit. Useful for small-batch product labeling, inventory tags, or testing a barcode format before sending it to a print vendor.

Runs in your browser // nothing is uploaded

Runs on your device. This tool processes your file inside this browser tab. Nothing is uploaded, so it also works offline once the page has loaded, and closing the tab discards the file from memory.

Loading tool

How it works

  1. 01

    Choose a barcode symbology (CODE128, EAN-13, UPC, CODE39, or ITF-14).

  2. 02

    Type the text or digits to encode.

  3. 03

    Adjust bar width and height if needed.

  4. 04

    Download the barcode as a PNG.

Details

Runs
In your browser
Files uploaded
No
Cost per run
Free
Sign-in
Not required
Works offline
Yes, once loaded

Last updated 2026-08-12

Common questions

Which format should I use?

CODE128 works for most general text/numbers. EAN-13/UPC are for retail products with a fixed digit count.

Does it upload my data?

No - barcode rendering happens locally.

Why did EAN-13 reject my input?

EAN-13 requires exactly 12 or 13 digits (the 13th is a checksum). Non-numeric or wrong-length input will fail validation.

Can I print these barcodes commercially?

Yes. The generated PNG is yours to use on packaging, labels, or documents.

Use this from your code

This tool is also a REST endpoint, so you can run it in a pipeline instead of by hand. It is free and needs no API key. See the API reference for every parameter.

curl -X POST https://fileoven.com/api/v1/tools/barcode-generator \
  -H "Content-Type: application/json" \
  -d '{"text":"hello world"}'

Related tools