Docuboxer

Barcode Generator

Create EAN-13, UPC, Code128 barcodes and more, ready to download.

100% local — your files are never uploaded to any serverNo signupWorks offline

Appearance

#1B3A2E
#FFFFFF

Start typing to generate the barcode

How do you generate an EAN-13 or Code128 barcode online?

Docuboxer's barcode generator turns any value into a print-ready barcode image in seven formats: EAN-13, EAN-8, UPC-A, Code128, Code39, ITF-14 and Codabar. Pick the type, type in your value, and the tool automatically calculates and verifies the check digit whenever the format needs one — enter the 12 digits of an EAN-13 and it offers to compute and append the 13th for you. Adjust bar width, height, margin and colors with a live preview, then download the result as PNG or SVG. Batch mode is built in too: paste a list of values, one per line, and download every generated barcode in a single ZIP. Everything runs locally in your browser, nothing is uploaded to a server, and it's completely free with no signup required.

How to use Barcode Generator

  1. Pick the barcode type you need — EAN-13 for retail products, Code128 for logistics, and so on — using the one-line hint next to each option.
  2. Type your value: for EAN-13, EAN-8, UPC-A or ITF-14, the tool validates length and check digit live as you type.
  3. If the check digit is missing, click "Calculate and add" to complete it automatically.
  4. Adjust bar width, height, margin and colors to match where you're printing the barcode.
  5. Download as PNG or SVG, or switch to batch mode to paste a whole list of values and generate them all at once as a ZIP.

Common use cases

Labeling products for retail or marketplaces

Generate the EAN-13 or UPC-A your supplier or GS1 assigned you as a print-ready image for your product label.

Tagging internal assets with Code39 or Code128

Create labels for inventory, fixed assets or warehouse parts using your own identifier — no official registration needed.

Preparing shipping cartons with ITF-14

Generate the master carton code that groups several units of the same product for logistics and warehousing.

Checking whether an existing EAN is valid

Paste an already-printed EAN-13 or EAN-8 to verify its check digit is correct before sending it to print.

Batch-generating codes for a full catalog

Paste the SKU or EAN list for an entire catalog and download every barcode image as a single ZIP in one step.

Frequently asked questions

Which barcode type should I use?

It depends on where it will be scanned: EAN-13 or UPC-A for products sold to the public in stores, EAN-8 for very small packaging, Code128 or Code39 for internal inventory and logistics where no official registration is needed, ITF-14 for shipping cartons, and Codabar for serial numbers used by libraries or couriers.

Can I sell my product in stores just by generating the code here?

No. For an EAN-13 or UPC-A to work at checkout, the number itself must be registered to your company through GS1 (or the equivalent body in your country) — this tool only draws the image from the number you give it, it doesn't register or assign one. If you don't have a GS1 barcode yet, you need to apply for one first.

What is the check digit and why does it matter?

It's the last digit of an EAN-13, EAN-8, UPC-A or ITF-14, calculated mathematically from the rest. It lets scanners catch printing or typing mistakes — if it doesn't match, the scan is rejected. This tool calculates and verifies it automatically.

What size should I print the barcode at so it scans reliably?

As a reference, a standard EAN-13 measures about 37×26mm (1.46×1.02in) at 100% scale; shrinking it too much narrows the bars until scanners start failing. If the preview's bar width drops below 2px, the tool warns you because barcodes that thin often don't scan once printed.

Why is it asking for 13 digits when I only typed 12?

The first 12 digits of an EAN-13 are the data; the 13th is the check digit calculated from them. If you type only 12, the tool offers to calculate and append it automatically.

Is my barcode uploaded to a server?

No. Generation happens entirely in your browser with JavaScript; the value never leaves your device. It's free, with no signup and no usage limit.