Barcode Generator
Create a Code 128, Code 39, EAN, UPC, ITF-14, or Codabar barcode. The image updates as you type — nothing is uploaded.
Enter content
Letters, digits, and most symbols. Best for SKUs and tracking codes.
Customize barcode
Foreground color
Background color
Blank space around the barcode (0–40).
Your barcode
How to use
Choose a format
Pick Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, or Codabar.
Enter the value
Type a SKU or load an example. Nothing is uploaded.
Watch it update
The barcode appears as you type — there is no Generate button.
Download and use
Save PNG, SVG, or PDF, or copy the image.
Barcode at a glance
Print-ready
SVG and PNG exports stay sharp on labels and packaging.
Retail and industrial
Code 128, Code 39, EAN, UPC, ITF-14, and Codabar.
Private
Generation stays in this tab. Nothing is uploaded.
Customizable
Colors, size, quiet zone, and optional human-readable text.
Your data stays private
Barcodes are created locally in your browser. SKUs, product codes, and labels never leave this device.
About generating barcodes in the browser
Barcode Generator draws Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, or Codabar in this tab with JsBarcode. The image updates as you type — there is no Generate button. Retail formats need the right number of digits; Code 128 is more flexible for SKUs and tracking codes. Download PNG, SVG, or PDF. Nothing is uploaded.
This is not a GS1 validation service and not a printer driver. Check digits for EAN/UPC follow the usual algorithm when you omit them; invalid lengths show an error instead of a silent bad mark. Quiet zone and bar height affect scan reliability. QR Code Generator is the sibling for 2D URLs and Wi-Fi. Image Compressor is for photos, not for these generated marks.
Related: QR Code Generator, Image ↔ Base64, Image Converter. Do not use a barcode as a password. Close the tab to drop the SKU from memory.
Popular use cases
Retail products
EAN-13 and UPC-A for packaged goods that point-of-sale scanners expect.
Warehouse tracking
Code 128 and ITF-14 for SKUs, cartons, and internal stock IDs.
Asset labels
Code 39 for equipment tags and simple alphanumeric IDs.
Shipping cartons
ITF-14 marks on outer cases for logistics and GTIN-14.
Print and packaging
Export SVG or PDF for print-ready marks.
Need a 2D code?
Use QR Code Generator for URLs, Wi-Fi, and contact cards.
Related tools
QR Code Generator
Create a QR code from a URL, text, Wi-Fi network, or contact details. The code updates as you type — nothing is uploaded.
Image ↔ Base64
Convert an image file to a Base64 data URI, or preview Base64 as an image, in this browser. The result updates as soon as the file is read — nothing is uploaded.
Image Compressor
Shrink a JPEG, PNG, or WebP image in your browser with a quality control. Nothing is uploaded.
Image Resizer
Resize an image to exact pixel dimensions, with optional aspect-ratio lock. Processing stays on this device.
Barcode Generator FAQ
Open Barcode Generator, choose a format such as Code 128 or EAN-13, and type the value. The image updates as you type — there is no Generate button. Download PNG, SVG, or PDF when you are ready.
No. Generation stays in your browser. Retail formats like EAN-13 and UPC-A need the right number of digits; Code 128 is more flexible for SKUs and tracking codes.
No. Invalid lengths show an error instead of a silent bad mark. Quiet zone and bar height affect scans. QR Code Generator is the sibling for 2D codes.