01How to use it
- Choose the barcode type — retail (EAN, UPC, ISBN), logistics (GS1-128, ITF-14), industrial (Code 128, Code 39) or 2D (QR, Data Matrix, PDF417, Aztec).
- Enter the data. Hints under the field show which characters and lengths the type accepts.
- Adjust size, text, quiet zone, rotation and colours if needed.
- Download PNG, SVG or PDF. Types you use often appear under “Recent”.
02What it is used for
- Creating a one-off barcode for a product, a shelf or a document.
- Testing which barcode type your scanner or warehouse system reads.
- Getting a vector barcode for packaging artwork in Illustrator, Inkscape or InDesign.
03Example
SKU-104-BLKSize: 58.08 × 17.49 mm
Generated by this tool from the sample value at the default size.
04Downloads
- PNG
- SVG
05How it works
The symbol is encoded by bwip-js, a JavaScript port of BWIPP (Barcode Writer in Pure PostScript), and drawn at the X-dimension you choose — all bars and spaces are whole multiples of it, so the barcode is regenerated for each size instead of being stretched. The quiet zone required by the standard is added in modules. For the formats it supports, the image is decoded again after every change by zxing-cpp, an independent reader compiled to WebAssembly, and compared with your input; formats it cannot read are marked “no in-browser reader”. Input is checked before encoding: a wrong check digit, a forbidden character or an odd digit count is reported instead of being silently corrected.
06Printing tips
- Print PDFs at 100 % / “actual size”. Turn off “fit to page” in the print dialog, otherwise the barcode and the label positions are scaled.
- Keep the quiet zone: the blank margin on both sides is part of the barcode. Do not let text, frames or the label edge cut into it.
- Use dark bars on a light background. Red, orange and yellow bars and transparent backgrounds on dark or patterned surfaces often cannot be scanned.
- For thermal label printers choose the printer’s resolution (203 or 300 dpi): bar widths are then rounded to whole printer dots, which keeps the barcode sharp.
- Check a test print with the scanner you will use. A correct check digit or a successful read in the browser is not a substitute for a print-quality verification.
07Privacy
The tool above runs entirely in your browser. What you type and the files you open are processed by code on this device; nothing is uploaded, and neither the content nor file names are sent to us or anyone else.
The tool is loaded in a separate frame from a different web address than this article. Advertising and other scripts on this page cannot look inside it, and the frame itself is served with a security policy that blocks every outgoing connection. Designs you save and your preferences stay in this browser until you delete them with the link at the bottom of the page.
08Questions and answers
Which barcode type should I use?
For products sold in shops: EAN-13 (worldwide) or UPC-A (USA and Canada), with a GTIN from GS1. For cartons: ITF-14 or GS1-128. For your own stock, assets and documents: Code 128. For links and longer text: QR code. For small parts and pharmaceuticals: Data Matrix.
Are the barcodes free to use commercially?
Yes. The images you create are yours, with no watermark and no licence fee. Note that the product number inside a retail barcode (EAN/UPC) must come from GS1 — see the EAN-13 page.
What do the small numbers ¹ in the list mean?
Types marked ¹ cannot be read back by the decoder built into the browser (for example MSI, Code 11, Pharmacode and postal codes). They are still encoded to the standard, but test them with your own scanner.
Is it safe to enter product data or confidential information?
Yes. Everything is processed on your own device and nothing is uploaded. The tool runs in an isolated frame that is technically prevented from making network connections, so the data cannot be sent anywhere — not to us and not to advertisers.