Barcode generator
EAN-13, Code 128, GS1-128, Data Matrix, PDF417 and Aztec — one at a time or as a list.
Exact size for your printer, SVG, PNG and printing.
EAN-13, Code 128, GS1-128, Data Matrix, PDF417 and Aztec — one at a time or as a list.
Exact size for your printer, SVG, PNG and printing.
EAN-13, EAN-8, UPC-A, ITF-14, Code 128, GS1-128, Code 39, Data Matrix, PDF417 and Aztec — one at a time or a whole list. The check digit is added and verified automatically, and the size is calculated exactly for your printer. Download SVG and PNG or print on A4.
For EAN and UPC the nominal is 0.33 mm (100%), from 80 to 200% is allowed.
Barcodes are created in your browser.
EAN-13 is a retail product number: checkouts all over the world read it, and the number itself (GTIN) is issued by the GS1 association. EAN-8 is for small packages, UPC-A for the US and Canada, ITF-14 is printed on shipping cartons. For warehouses, inventory and internal numbers take Code 128: it encodes letters, digits and symbols and compresses long numbers by half. GS1-128 and GS1 DataMatrix carry data with standard identifiers — the SSCC shipping container code, batch, expiry date, serial number. Data Matrix takes little space and survives damage: part of the code can be worn off and it still reads. PDF417 is a stacked code that holds up to a kilobyte of text: it is printed on documents, passes and waybills. Aztec is built around a bull's-eye in the centre, needs no blank margin and reads well from a screen — transport tickets use it.
Leave blank margins at the sides — for EAN-13 that is 11 modules on the left and 7 on the right, already included in the image. Print black on white and do not stretch the image in an editor: the module must stay a whole number of printer dots. Check and print marking codes with a verification code in the separate Chestny ZNAK tool, and for links and business cards a QR code is handier.
You can draw a barcode with any digits, but to sell in shops the product number must be registered: it is issued by GS1 through its national organization. For internal needs — warehouse, inventory, passes — use Code 128 or Data Matrix with your own numbers. For products sold only in your own shop, internal EAN-13 numbers with prefix 2 will do — get them from Codes for internal use.
Most often the module is too small, there are no blank margins at the edges, or the image was stretched and the bars became uneven. Choose the printer and a whole number of dots per module, do not scale the image and print on a white background. For a 203 dpi thermal printer 3–4 dots work well.
It is the same Code 128, but it starts with the special FNC1 character and the data follow GS1 rules: an application identifier and a value, for example (01) — product number, (17) — expiry date. Partners' warehouse and accounting systems understand such codes.
The nominal module is 0.33 mm, and the code with margins is then about 37 × 26 mm. It may be reduced to 80% and enlarged to 200%. Do not cut the bar height (truncate the code) without need — it is harder for checkout scanners.
PDF417 is a wide stacked code that linear laser scanners can read, which is why it caught on in documents and logistics. Aztec is square like QR, but it needs no white border and reads even from a glossy phone screen. Product marking systems usually ask for Data Matrix, and links are easier as a QR code.