Barcode Maker: Turn Text or Numbers Into a PNG

Turn text or numbers into a scannable barcode, ready to download as a PNG.

Frequently asked questions

Is this a free bar code generator, and do I need to sign up?

Yes, it is free and there is no sign-up, watermark or limit. Bar code and barcode mean the same thing. Type your text or number, click Generate Barcode and download the PNG. It makes barcodes for your own labels, such as stock, assets and files. It cannot make the numbered barcodes shops use at the checkout.

How do I create a barcode with a barcode generator?

Type the text or number you want into the box, click Generate Barcode, check the preview and the status line, then click Download PNG. The result is a Code 128 barcode with its checksum, drawn in your browser. Scan the preview with a phone camera before you print it, and keep the white margin around the bars.

How to make barcodes for free?

Use the generator on this page: it is free, with no sign-up and no watermark, and you can make as many barcodes as you need by changing the text and clicking Generate Barcode again, one at a time. It supports plain ASCII text only (no Urdu, emoji or accented letters) and makes Code 128 barcodes only, not EAN-13 or UPC.

How to get a free barcode?

For your own labels, such as inventory, assets, library items or tickets, you can get a free barcode here in seconds: type a value and download the PNG. A barcode for a product sold in shops is different. Those numbers are licensed through GS1, which usually means a paid licence, and this tool cannot create them.

How to get a barcode for a product I want to sell in shops?

Shops and many online marketplaces expect EAN-13 or UPC numbers issued through GS1, the barcode standards body, by its member organisation in your country (GS1 Pakistan for Pakistani businesses). You apply for a company prefix, receive numbers for your products and only then print them as barcodes. A generator can draw a barcode for a number you own but cannot give you one, so check GS1's current steps and fees before you apply.

Which barcode format does this generate?

Code 128, Subset B — a 1D barcode that encodes any printable ASCII text, not just digits. It's one of the most widely supported formats for inventory, shipping and internal tracking labels, and most phone scanner apps and warehouse scanners read it natively.

Is my data uploaded anywhere?

No. The barcode is drawn entirely in your browser using the HTML canvas element; the text you type never leaves your device.

Can this make an EAN-13 or UPC barcode for a retail product?

No. Those formats require a globally unique number issued by GS1 (or your country's numbering authority) and a different checksum scheme. This tool only produces Code 128, which is correct for internal use — asset tags, warehouse bins, library items — but not for a barcode meant to be scanned at a retail checkout.

What characters can I encode?

Plain ASCII: letters, digits, spaces and common punctuation (space through ~, character codes 32–126). Urdu script, emoji, accented letters and curly quotes aren't supported by Code 128 and are rejected with a clear error rather than silently dropped or mangled.

Will the barcode actually scan?

It should — the encoding includes the standard Code 128 start code, checksum digit and stop pattern, generated from the published symbol table rather than approximated. Scan it with a phone camera or barcode scanner before printing a large batch, the same way you'd check any barcode from any generator.

Can I change the bar color or add a logo?

No, only plain black bars on a white background. Scanners rely on strong contrast between bars and background, so a colored or low-contrast barcode is more likely to fail to scan.

Guides