What is Barcode Generator?
This barcode generator supports the common one-dimensional symbologies, including CODE128, CODE39, EAN-13, EAN-8, UPC-A and ITF-14, and outputs vector SVG so the result scales to any size for print. Each format enforces its own content rules and tells you why an input was rejected. Generation happens locally in your browser.
How to use Barcode Generator
- 1Choose an encoding format: CODE128 for general use, EAN-13 for retail products.
- 2Enter the content — if it breaks the format's rules, the reason is shown inline.
- 3Right-click to save or copy the SVG for print.
Frequently asked questions
What is the difference between CODE128 and EAN-13?+
CODE128 is a general-purpose symbology: it encodes the full ASCII range at any length, which suits internal use such as bin locations and asset tags. EAN-13 is the retail product barcode: exactly 13 digits with the last one a check digit, and you need a GS1-issued company prefix before you can use it on products you sell.
Why does EAN-13 accept 12 digits?+
Because the thirteenth digit is a check digit derived from the first twelve. Pass 12 digits and the check digit is appended for you; pass 13 and the last digit is verified instead, so you get an error if it does not match.
Related tools
All toolsUUID Generator
Generate UUID v4 or v7 in bulk, with optional hyphen removal
ULID Generator
Generate ULIDs and decode the timestamp embedded in each one
NanoID Generator
Generate NanoIDs at an adjustable length
ObjectId Generator
Generate ObjectIds and decode their timestamps
Password Generator
Generate strong random passwords with a configurable character set
Random String Generator
Generate random strings in bulk from a character set of your choice