Barcode generator

Free Online Barcode Generator

Create UPC, EAN, Code 128, QR, Data Matrix, PDF417, DotCode and 31 more barcode types and download them as PNG or SVG. Free, with no sign-up: the code is drawn in your browser and nothing is sent to a server.

Barcode type

Any text or link, up to 7,089 digits or 2,953 bytes.

Size
Format
Text under 1D

Drawn in your browser as you type

Test it with the free barcode scanner →

38 barcode types, 1D and 2D

What each type holds and how long it can be. Click one to generate it in the tool above.

MaxiCode

7-bit ASCII characters (values 0-127) · Text (ASCII) ~ 93 characters Numeric only ~ 138 digits

MaxiCode, a symbology created by UPS, uses a matrix of hexagonal modules arranged around a central bullseye target pattern. It is specifically designed for tracking and identifying parcels.

Generate →

PDF417

ASCII, 0-255, 0-9 · Variable (2710)

PDF417 Barcode is suitable for storing large amounts of data due to its two-dimensional structure. It is widely used for labeling electronic equipment or hazardous materials, but also on personal IDs.

Generate →

PDF417 Truncated

ASCII, 0-255, 0-9 · Variable

Truncated PDF417 is a shortened and more compact version of PDF417 Code. However, it is less tolerant to damage and is not read by all scanners.

Generate →

QR Code

ASCII · Variable (7089)

QR Code is probably the most well-known two-dimensional barcode. It is often found on products or used in advertising to provide additional information for consumers.

Generate →

Data Matrix

ASCII, 1 - 255 · Variable (3116)

Data Matrix is a two-dimensional Code that may contain text, numbers or binary data. It is widely used for labeling small electronic components or in food production, but also on mail labels.

Generate →

Aztec Code

Alphanumeric · Variable (3823)

Aztec Code belongs to two-dimensional Barcodes and has a characteristic square pattern in the middle. This Code is widely used by railway companies in their ticketing systems.

Generate →

Micro QR Code

Alphanumeric (Latin-1, Kanji) · Variable (35)

Micro QR Code has a limited capacity of only 35 digits. However, due to its small size, it is often used instead of QR Codes if there is a need to save space and encode only a small amount of data.

Generate →

DotCode

Alphanumeric · Variable (450)

A grid of separate dots, so it can be printed fast by inkjet or laser on curved and textured surfaces. Used on tobacco packs, in logistics and in manufacturing.

Generate →

Code 11

0-9; - · Variable (unlimited)

Code 11 is used primarily for labeling telecommunications equipment. It encodes any length numeric input and includes one or more check digits.

Generate →

Code 32

0-9; · Variable (numeric input up to 8 digits)

Code 32 is mainly used across Italy by the pharmacy industry for encoding data for dispensing medications.

Generate →

Code 39

0-9, A-Z, -, +, space, *, $, /, %, . · Variable (unlimited)

Code 39 is widely used in a variety of industries and is part of many governmental specifications. It encodes a set of alphanumeric symbols.

Generate →

Code 39 Extended

ASCII · Variable (unlimited)

As opposed to Code 39, Extended Code 39 includes a full set of ASCII characters. However, it is less used than Code 39 as it requires specific decoding.

Generate →

EAN

0-9 · Fixed (2,5, 7 or 12 (depending on the type))

EAN-13 and EAN-8, the retail codes on products sold worldwide, plus the 2 and 5 digit add-ons printed beside them on magazines and books. Type 12 digits for EAN-13, 7 for EAN-8, or 2 or 5 for an add-on.

Generate →

EAN + Check Digit

0-9 · Fixed (12)

EAN-13 from its first 12 digits: the generator works out the 13th, the check digit, so the barcode always scans as a valid number.

Generate →

Codabar

numbers 0-9, dash (-} dollar ($} colon (:} slash (/} full stop (.) or plus (+)

Also known as NW-7, Monarch, ABC Codabar, USD-4, Ames Code and Code 27, this symbology was developed in 1972 by Monarch Marketing Systems for retail. The American Blood Commission adopted Codabar in 1977 as the standard symbology for blood banks.

Generate →

Code 128 (standard)

ASCII · Variable (unlimited)

Code 128 with the code set chosen for you: it switches between sets A, B and C to keep the barcode as short as possible. Common on shipping labels (GS1-128) and in warehouses.

Generate →

Code 128 (Subset B)

ASCII · Variable (unlimited)

Code 128 held in code set B: upper and lower case letters, digits and punctuation. For scanners and systems that expect set B.

Generate →

Code 93

0-9, A-Z, -, +, space, *, $, /, %, . · Variable (unlimited)

Code 93 encodes numerical input, as well as capital letters and some special characters. It is used by Canada Post for additional delivery information.

Generate →

UPC-A

0-9 · Fixed (11)

UPC-A Code contains 12 digits and is primarily used in retail and wholesale. It encodes the producer and the individual article number.

Generate →

UPC-E

0-9 · Fixed

UPC-E only has 8 digits and is used instead of UPC-A on smaller products. It is similarly used in retail and warehousing, especially in the USA and Canada.

Generate →

MSI Plessey

0-9 · Variable (unlimited)

MSI Plessey Code is used for marking inventory or storage shelves. It encodes a string of digits using the binary system of 1s and 0s.

Generate →

ITF-14

0-9 · Fixed (13-digits)

ITF-14, also known as UPC Shipping Container Symbol or Case Code, is a 14-digit barcode symbology used for marking cartons, cases, or pallets that contain products with UPC or EAN-13 barcodes. It is an extension of the Interleaved 2 of 5 (ITF) barcode and is primarily designed for use in logistics and distribution.

Generate →

EAN-14

Set: 0-9 · Fixed (13)

EAN-14 or UCC-14 is a standard Code to identify shipping containers. It is based on Code 128 system, where the Application Identifier (the first two digits) is set to 01.

Generate →

Telepen Alpha

All 128 ASCII characters · Variable (30)

Telepen Alpha encodes the full 128-character ASCII set. It is used mainly by universities and academic libraries in the UK.

Generate →

Telepen Numeric

Set: 0-9 · Up to 60 digits

Telepen Numeric packs two digits into each character, so numbers take about half the space of Telepen Alpha. Used on library and ID cards, for inventory and on tickets.

Generate →

Code 2 of 5 Standard

0-9 · Variable (80)

The plain 2 of 5 code: digits only, each in five bars of which two are wide. The spaces carry no data, so it needs more room than Interleaved 2 of 5.

Generate →

Interleaved 2 of 5

0-9 · Variable (90)

Digits in pairs: one digit in the bars and the next in the spaces, which keeps it compact. It needs an even number of digits (an odd count gets a leading zero) and is the code inside ITF-14 on cartons.

Generate →

Code 2 of 5 IATA

0-9 · Variable (45)

The 2 of 5 variant of the International Air Transport Association, used on airline baggage labels and air cargo.

Generate →

Code 2 of 5 Data Logic

0-9 · Variable (80)

Data Logic does not include a check digit by default and can encode numeric input (digits 0-9) up to a maximum of 80 digits.

Generate →

Code 2 of 5 Industrial

0-9 · Variable (45)

The 2 of 5 variant used in industry and warehousing: digits only, with the data in the bars and its own start and stop patterns.

Generate →

GS1 DataBar Stacked

Set: 0-9 · Up to 13 digits

The same GTIN as DataBar Omnidirectional split into two short rows, for small items such as stickers on fruit.

Generate →

DataBar Omnidirectional

Set: 0-9 · max 13 digits

A GTIN in a single row that scanners read at any angle; used on loose fresh produce and coupons. Type up to 13 digits; the check digit is added.

Generate →

DataBar Limited

Set: 0-9 · max 13 digits

A compact GTIN barcode for small items, read by linear scanners; the GTIN must start with 0 or 1.

Generate →

DataBar Expanded

GTIN-14 (e.g., [01]12345678901234), expiration date (e.g., [15]240831), and a serial number (e.g., [21]ABC123) · GTIN-14: 14-digit Expiration Date: 6 digits (YYMMDD) Serial Number: 6-20 characters (alphanumeric)

GS1 data beyond the GTIN, such as weight, price, expiry or batch, written as Application Identifiers like [01] and [17]. Common on variable-weight fresh food and coupons.

Generate →

Composite EAN linear

Set: 0-9, A-Z · Variable, depending on the 1D and 2D data combined

Composite barcodes combine a 1D linear barcode with a 2D barcode (like DataMatrix or PDF417). They are widely used in industries requiring both large data capacity and compatibility with traditional 1D scanners, such as logistics, shipping, and healthcare.

Generate →

Japanese Postal Code

Set: 0-9, A-Z and - · The 7-digit postcode, then the address number

Japan Post's 4-state customer barcode: the 7-digit postcode followed by the address number, so mail can be sorted to the address.

Generate →

Australia Post Standard

Set: 0-9 · The 8-digit Delivery Point Identifier

Australia Post's 4-state standard customer barcode, carrying the 8-digit Delivery Point Identifier that sorting machines read.

Generate →

KIX Post NL

Set: 0-9, A-Z · Postcode, house number and suffix

PostNL's 4-state KIX code in the Netherlands: postcode, house number and suffix, so letters can be sorted to the address.

Generate →

Make a barcode in three steps

  1. Pick a type Search the list or click a type in the grid. A link such as /barcode-generator#QR Code opens that type.
  2. Type the content The field checks the characters and the length as you type, and check digits are added where the type has one.
  3. Download or copy PNG in three sizes, or SVG for print. Copy puts the image on the clipboard. Nothing is sent to a server.

Test your scanner with these codes

Print a generated barcode or show it on screen and scan it with the free online barcode scanner. For a full set of test codes, use the barcode testing sheet (PDF). Developers can try the barKoder SDK with a free 30-day trial for up to 25 devices.

Frequently asked questions

Is the barcode generator free?

Yes. The barcode generator is completely free to use, with no sign-up.

Can I generate 2D barcodes?

Yes. You can create QR Code, Micro QR Code, Data Matrix, PDF417, Aztec Code, MaxiCode and DotCode barcodes, as well as 1D barcodes such as UPC, EAN, Code 128, Code 39, ITF-14, the GS1 DataBar family and postal codes.

What file format do I get?

A PNG image in three sizes, or an SVG file that scales to any size for print. Copy puts the image on the clipboard.

Is anything sent to a server?

No. The barcode is drawn in your browser, so the content you type stays on your device.

Can I make a QR code with a logo?

Use the free QR code generator, which adds a logo and a frame with your own text.