QR Code Generator
Make a QR code for any link or text. Download it as PNG or SVG, no signup, no expiry, no watermark.
Open tool →Type text or numbers and get a barcode image to download as PNG. Nothing is uploaded, nothing is stored.
Last updated: 17 November 2026.
CODE128 accepts letters, numbers and symbols. EAN13 and UPC need digits only.
Live preview. Change the text or the format and the barcode updates at once.
The barcode is drawn in your browser with a library stored on this site. Nothing is uploaded, nothing is stored, and the PNG is made on your device.
A barcode is a picture that a scanner can read as text. The black bars and white gaps are not random. Each group of bars stands for one character, and the scanner turns the pattern back into the same letters or numbers you typed. That is why a barcode on a shop product can pull up the right price at the till in less than a second, and why a barcode on a parcel can tell a courier where it is going without anyone typing the address by hand.
Most people meet barcodes at the shop, but the same idea shows up in libraries, warehouses, hospitals, and events. A library sticks a barcode on each book so returns take seconds. A warehouse labels each shelf so stock counts stay accurate. An event ticket carries a barcode so the door staff can check it once and stop it being used twice. If you need a square code that a phone camera reads, try the QR code generator instead, because QR codes hold links and longer text that a normal barcode cannot.
CODE128 is the safest choice for most jobs. It can hold letters, numbers, and symbols, and it packs a lot of characters into a short strip, which is why warehouses and parcel labels use it so often. If you are labelling boxes, files, or stock and you are not sure which format to use, start with CODE128. It handles a product code, a short serial number, or a mix of letters and numbers without complaint.
EAN13 and UPC are the retail formats. EAN13 is the standard on products sold in most of the world, and UPC is the standard in the United States and Canada. Both hold digits only, and both end in a check digit, which is a final number worked out from the other digits so the scanner can tell if it misread the code. EAN13 needs 12 or 13 digits, and UPC needs 11 or 12. If you type 12 digits for EAN13, the tool adds the check digit for you, and the same goes for 11 digits in UPC. If you type the full 13 or 12 digits, the last digit must already be the correct check digit, or the barcode will not draw.
Type your text or numbers in the box at the top of the tool, then pick the format that matches your job. The barcode draws itself as you type, so you can see at once if the value is too long for the label or if the format rejects it. If the format rejects the value, a short message under the tool says exactly what is wrong, such as the number of digits you typed, so you can fix it instead of guessing.
Next, pick the bar width. Normal bars suit most labels and screens. Thin bars fit more characters into a narrow label, but they need a sharp printer and a good scanner, so test one before you print a hundred. Thick bars are easier for older scanners and for phone cameras in poor light, but they make the barcode wider, so they suit a bigger label. Print one test label first, scan it with the device that will read it in real life, and only then print the rest.
Contrast matters more than anything else. Black bars on white paper scan best, and that is what this tool makes. Avoid printing a barcode on a coloured background, on glossy paper that reflects the scanner light, or over a photo. If the label must sit on a coloured box, print the barcode on a white sticker first and put the sticker on the box. Keep a clear white margin around the barcode, because scanners need that quiet space to find where the code starts and ends.
Everything on this page runs in your browser. The barcode is drawn by a library stored on this site, so your text never leaves your device, nothing is uploaded, and nothing is stored after you close the page. That matters if the code holds an order number, a patient number, or a stock code you would not want on a stranger's server. If you need to change a photo that goes with a label, the image converter can change its format in the same private way.
There are limits worth knowing. A barcode holds far less text than a QR code, so it suits short codes, not web addresses or long sentences. EAN13 and UPC only hold digits, and they only work as real product codes if the number is registered with the body that issues them in your country, so a home made EAN13 will scan in your own stock system but it will not be accepted as a shop product code. Also, this tool cannot check that a code is unique in your system, so keep your own list of codes you have used, and do not reuse a number for two different items.
CODE128 holds letters, numbers and symbols in a short strip, so it suits most labelling jobs. CODE39 holds capital letters, digits and a few symbols, and it makes a longer barcode for the same text. Pick CODE128 unless the system you feed expects CODE39.
EAN13 is a 13 digit retail code, and the last digit is a check digit worked out from the first 12. If you type 12 digits, the tool adds the check digit for you. If you type 13 digits, the last one must already be correct, or the barcode will not draw.
UPC is a 12 digit retail code used in the United States and Canada, and its last digit is also a check digit. Type 11 digits and the tool adds it, or type all 12 with the correct check digit already in place.
Print at 300 dots per inch or higher, keep the barcode at least 3 centimetres wide for a short code, and keep a clear white margin around it. Print one test label and scan it with the real scanner before you print a full batch.
No. The barcode is drawn in your browser with a library stored on this site. The text you type never leaves your device, and nothing is stored after you close the page.