Barcode Generator
Pick a symbology, type your data, and the barcode redraws as you go. Everything runs in your browser — nothing you enter is uploaded.
Rendering…
Barcodes, symbology by symbology
A barcode is just a machine-readable rendering of a short string. Thesymbology is the rulebook that says how characters become bars (or, for 2-D codes, cells) — which characters are allowed, how long the data can be, and whether a check digit is required. Picking the wrong symbology is the most common reason a scanner at the other end refuses to read a code, so start from what the code is for.
| Where it is used | Typical symbology |
|---|---|
| Retail point of sale | EAN-13, EAN-8, UPC-A |
| Cartons, cases and logistics units | ITF-14, GS1-128, GS1 DataBar |
| Warehouse, asset tags, internal labels | Code 128, Code 39 |
| Books and journals | ISBN (Bookland EAN), ISSN |
| Mail and parcels | USPS Intelligent Mail, POSTNET |
| Event tickets, boarding passes, ID | Aztec, PDF417 |
| Marketing, links, app installs | QR Code |
| Small parts, electronics, medical | Data Matrix, DotCode |
| Pharmacy packaging | Pharmacode, GS1 DataBar, Data Matrix |
Quiet zones
Every linear barcode needs a blank margin — the quiet zone — before the first bar and after the last. A scanner uses that clear space to lock onto the edges of the symbol; without it the first or last character is misread or the whole code is skipped. The rule of thumb for 1-D codes is a margin at least ten times the width of the narrowest bar; QR and Data Matrix want a border of about four cells. The quiet-zone toggle above adds a standards-friendly margin. The only time to turn it off is when you are dropping the code into your own layout and will add the margin there.
Check digits
A check digit is one extra character derived by arithmetic from the rest of the data. The scanner recomputes it and compares; a mismatch means a misread, and the scan is rejected rather than passed on wrong. EAN-13, EAN-8, UPC-A and ITF-14 all self-check this way using the GS1 mod-10 formula. This tool computes those locally: give it the body of the number and it appends the correct final digit, or give it the full code and it confirms the digit — and names the one it expected if you have a typo. Code 39, Code 128 and the 2-D symbologies carry their own internal error checking, so you do not add anything by hand.
PNG or SVG
Download a PNG for screens, spreadsheets and slide decks — raise the scale first if it is going to print. Download anSVG for anything that will be printed properly or edited later: it is vector, so it stays crisp at any size and opens in any design tool.
Related generators:QR code generator for a focused QR tool with error-correction control,UUID generator for unique identifiers to encode, and hash generator for checksums.
Related tools
Frequently asked questions
Which barcode should I use?
What is a check digit, and do I have to type it?
Why won't my printed barcode scan?
What is a quiet zone?
PNG or SVG — which should I download?
GS1-128 vs plain Code 128 — what is the difference?
Can I make an ISBN or ISSN barcode?
Is my data private?
Last reviewed: September 2026. Figures and formulas are checked against their published sources; see the site's data notes.