Barcode Generator
Generate a scannable barcode from a number or a piece of text, preview it as you type, and download it as SVG for print or PNG for the web. Retail symbologies — EAN-13, EAN-8, UPC-A and ITF-14 — take digits and work out the check digit for you when you leave it off, so a 12-digit product number becomes a valid 13-digit EAN. Code 128 encodes arbitrary ASCII, which is what most internal labelling and logistics uses, and Code 39 covers the older alphanumeric readers. Bar width, height, colours and the printed caption are all adjustable, and SVG output stays crisp at any size, which matters because a barcode rescaled from a small bitmap often stops scanning. Everything is generated in your browser — nothing about the codes you make is uploaded.
How to use
- Pick the symbology. EAN-13 for retail products, Code 128 for general text, ITF-14 for shipping cartons.
- Type the value. The hint under the field tells you what that symbology accepts.
- Adjust bar width, height and colours, and turn the printed number on or off.
- Download SVG for printing, or PNG if you need a bitmap.
Frequently asked questions
- Do I need to include the check digit?
- No. Give EAN-13 twelve digits, EAN-8 seven, or UPC-A eleven and the final check digit is calculated and appended for you. If you supply the full-length code it is validated instead, so a typo is caught rather than encoded.
- Which format should I use?
- EAN-13 is the retail standard outside North America and UPC-A is its North American equivalent; both need a number assigned to you by GS1 to be scannable in shops. Code 128 is the usual choice for internal labels because it takes any text. ITF-14 goes on shipping cartons.
- SVG or PNG?
- SVG for anything printed — it stays sharp at any size, and scanning failures usually come from a bitmap that was scaled up or compressed. PNG is convenient for screens and documents that will not take vectors.
- Will this barcode actually scan?
- The encoding is standards-correct, but scanning also depends on print quality, size and quiet zone. Print at a realistic size, keep the white margin around the code, and test with a real scanner or a phone before ordering thousands of labels.
- Is my data sent anywhere?
- No. The barcode is generated inside your browser tab and the value you type never leaves your device.
Guides on this topic
Related tools
Barcode Check Digit Calculator (UPC, EAN)
Calculate or verify the GS1 modulo-10 check digit for EAN-13, UPC-A and EAN-8 barcodes. Enter the data digits to get the check digit, or a full code to confirm it is valid.
ISBN Validator (ISBN-10 / ISBN-13)
Validate ISBN-10 and ISBN-13 checksums and convert between the two formats. Hyphens and spaces are handled.
QR Code Generator
Create custom QR codes from any text or URL and download them.
Signature Pad — Draw & Download PNG
Draw your signature with a mouse, trackpad or finger and download it as a transparent PNG. Nothing is uploaded — it never leaves your device.
SVG → PNG Converter
Rasterize SVG to a PNG at any size, with transparent or solid background, all in the browser.
SVG Optimizer
Shrink an SVG with SVGO — strip editor cruft, round coordinates, merge shapes — and see before and after side by side. Nothing is uploaded.