PDFCure
All tools

Generate a Barcode Online, Free & Private

Make a Code 128, EAN, UPC or ITF barcode and download it as PNG or SVG.

Most tools run entirely on your device
Bar colour
Background

Enter a value to generate a barcode

Generated in your browser — the value is never sent to a server.

About generating a barcode

Barcodes — the linear kind on product packaging and shipping labels, not QR codes — still power a huge amount of retail and inventory infrastructure. This tool generates a barcode from a value you enter, in the common formats those systems expect.

It renders the barcode as scalable vector graphics directly in your browser using a JavaScript barcode-rendering library, which draws the correct bar widths and spacing for your chosen format and value. The result can be downloaded and printed at any size without losing sharpness, since it's vector-based rather than a fixed-resolution image.

Supported files

No file — enter a value and pick a barcode format. Produces a downloadable barcode image.

Is my file uploaded?

Yes, completely private. The barcode is generated entirely in your browser — nothing is sent anywhere.

How to use the Barcode Generator

  1. 1

    Pick a format

    Choose Code 128, Code 39, EAN-13, UPC-A, ITF-14 and more.

  2. 2

    Enter the value

    Type the value to encode — the barcode updates live and flags invalid input for the format.

  3. 3

    Download

    Save it as PNG for documents or SVG for print.

Barcode Generator — frequently asked questions

What barcode types are supported?+

Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, MSI and Pharmacode — the common 1D (linear) barcodes. For 2D codes use the QR Code Generator.

Why does it say my value is invalid?+

Each format has rules — EAN-13 needs 12–13 digits, UPC-A needs 11–12 digits, Code 39 is uppercase only. The hint under the format menu shows what each one accepts.

PNG or SVG?+

SVG for print and packaging (scales with no blur). PNG for pasting into a document or email.

Are the barcodes tracked?+

No. Everything is generated in your browser and the value is never sent anywhere.

Is there a free barcode generator online?+

Yes — this tool renders the barcode entirely in your browser, free and with nothing tracked.

Do you upload my files to a server?+

No — every tool here processes your files entirely on your device, and nothing is uploaded to a server. The only exception is the AI tools, which send the extracted text (not the file) to Claude to do their work.

Is there a file size limit?+

There's no artificial limit we impose, but since processing happens in your browser, very large files (500+ MB or 1,000+ pages) are limited by your device's memory rather than by us.