Interleaved 2 of 5 Barcode Generator

Create Interleaved 2 of 5 (ITF) barcodes from any string of digits. It is a dense numeric code used on shipping cartons, warehouse labels and tickets. A mod 10 check digit is added for you.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Digits only, any length. A mod 10 check digit is added. ITF needs an even number of digits, so a leading 0 is added when the total would be odd.

Customize size, color & style
Make many

How to create a Interleaved 2 of 5 (ITF) barcode

  1. Enter your data in the box above. Digits only, any length. A mod 10 check digit is added. ITF needs an even number of digits, so a leading 0 is added when the total would be odd.
  2. The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
  3. Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
  4. Test it with our online barcode scanner before you print a large run.

What is an Interleaved 2 of 5 (ITF) barcode?

Interleaved 2 of 5, usually shortened to ITF or I2of5, is a numeric-only linear barcode. Digits are encoded in pairs: the bars hold the first digit and the spaces between them hold the second. That interleaving makes it much denser than the older Code 25.

Because digits go in pairs, an ITF barcode always holds an even number of digits. Its best-known use is ITF-14, the GS1 barcode printed on corrugated shipping cartons.

Where Interleaved 2 of 5 (ITF) is used

  • Shipping cartons and outer cases (as ITF-14)
  • Warehouse and distribution labels
  • Airline baggage and ticket stubs
  • Film, photo processing and library systems
  • Any compact numeric ID such as order or batch numbers

Interleaved 2 of 5 (ITF) specifications

TypeLinear (1D), variable length, continuous
CharactersDigits 0–9 only
LengthEven number of digits (padded with a leading 0 if needed)
Check digitOptional modulo 10, weights 3 and 1 (on by default here)
Wide:narrow ratio2:1 to 3:1
StandardISO/IEC 16390

Tips for a barcode that scans first time

  • Use a fixed length and configure your scanner to accept only that length. ITF can be misread as a shorter code if the scan line clips one end.
  • On cartons, print bearer bars (a frame or top and bottom bars) to protect against partial scans. The ITF-14 generator does this.
  • Give it a quiet zone of at least 10 times the narrow bar width on both sides.

Frequently asked questions

Why does Interleaved 2 of 5 need an even number of digits?

Digits are encoded in pairs, one in the bars and one in the spaces, so the total must be even. If your data plus the check digit is odd, the generator adds a leading zero.

Does ITF have a check digit?

It is optional. This generator adds a modulo 10 check digit (the same weights as GS1) by default and shows it in the text. ITF-14 always uses one.

What is the difference between ITF and ITF-14?

ITF is the symbology. ITF-14 is a GS1 application of it that always holds a 14-digit GTIN for cartons, printed with bearer bars at a set size.

Can Interleaved 2 of 5 encode letters?

No, only digits. For letters use Code 128, which is also very compact for numbers.

Why does my scanner read a shorter number?

ITF has a known weakness: if the scan line misses part of the barcode, it can decode a shorter valid code. Set your scanner to a fixed length and use a check digit to prevent this.

What is the difference between Interleaved 2 of 5 and Code 25?

Both encode digits with 2 wide elements out of 5. Code 25 (Standard or Industrial 2 of 5) uses only the bars, so it is about twice as long. Interleaved 2 of 5 uses the spaces too.

Related free tools