Interleaved 2 of 5 Barcode Generator

Make an Interleaved 2 of 5 (ITF) barcode online for free. Enter any number: the digits are encoded in pairs, a leading zero is added when the count is odd, and you can add a modulo 10 check digit. Set the size for your printer and download SVG, PNG, PDF or EPS.

Valid

33.3 × 19.4 mm at 300 DPI

Barcode

8 characters

Digits only; an odd count gets a leading 0.

Interleaved 2 of 5 options

Size and resolution

Output DPI

300 DPI · Thermal / offset

4 px per module at 300 DPI. Print size: 33.3 × 19.4 mm (1.31 × 0.76 in). PNG, WebP and JPEG: 404 × 235 px.

Human-readable text

Text size and alignment

Alignment

Text font

FontNew

Label textNew

Font

Alignment

Printed in the file with the barcode, outside the quiet zone, in Helvetica or Courier so it looks the same in every format.

Colors

Contrast 21.0:1; estimated symbol contrast 100%.

Quiet zone (modules)2 · 10 · 2 · 10

Bar width reduction0 mil

Makes each bar thinner by this amount, to make up for ink that spreads on paper. Ask your printer for the value, or leave 0 for laser and thermal printing.

Rotation and backgroundNew0° · Filled

Rotation

In the preview, a checkered pattern shows the transparent areas. Print a transparent barcode only on a white or very light surface: scanners need the light quiet zone around it.

Margin and borderNew0 mm · no border

The margin is blank space outside the quiet zone, for cutting; the border is drawn at the outer edge. Both count in the print size.

Data inspectorNew8 chars
PresetsNew0 saved

No presets yet. Save the current settings to reuse them.

    Presets stay in this browser. They keep the type, size and style; the data and the logo are not saved.

    Recent barcodesNew0

    The barcodes you download appear here, newest first.

      The last 10 downloads, kept in this browser only.
      Interleaved 2 of 5 · Live previewValid
      Interleaved 2 of 5 barcode encoding 12345678
      New

      Scaled to fit. Actual size shows the print size on screen.

      Print simulationNew

      Shows how a worn print looks and tests it with the decoder.

      Type
      Interleaved 2 of 5 · 1D
      Print size
      33.3 × 19.4 mm
      Raster
      404 × 235 px

      Download

      Vector drawing, 33.3 × 19.4 mm. Design and label programs place it at its print size.

      New
      More export optionsNewTest sheet · size set · embed code

      Print test sheet (PDF)

      The code at 80%, 100% and 150% with 100 mm and 4 in rulers. Print it at actual size and scan each copy before printing many.

      Size set (ZIP)

      Magnification

      Embed code

      Nothing you type is uploaded.New

      How to Create an Interleaved 2 of 5 Barcode

      Type the digits, decide on the check digit, and download the file.

      1. Type the number; Interleaved 2 of 5 takes digits only.
      2. Tick Add a check character if the reading system expects a modulo 10 check digit.
      3. Read the note under the options: it says when a leading 0 is added to make the count even.
      4. Download SVG, PNG, PDF or EPS and test-scan a print.

      How Interleaved 2 of 5 Encodes Digits

      Interleaved 2 of 5 encodes digits in pairs: the first digit of each pair in five bars and the second in the five spaces between them.

      Two of Five Elements Are Wide

      • Per digit: five elements, two wide and three narrow.
      • Per pair: one digit in the bars and the next in the spaces, interleaved.
      • Ratio: wide elements three times the narrow ones in this generator.
      Interleaved 2 of 5 barcode for 12345678: four pairs of digits, one digit of each pair in the bars and the other in the spaces.
      12345678: four interleaved pairs of digits.

      An Even Number of Digits

      • Odd counts: get a leading 0, which the scanner returns as part of the number.

        Interleaved 2 of 5 barcode for the seven digits 1234567, drawn as 01234567 with a leading 0 to make the count even.
      • With a check digit: the count includes it, so 7 digits plus a check digit need no padding.

        Interleaved 2 of 5 barcode for 1234567 with a modulo 10 check digit added, eight digits in all and no padding.

      Interleaved 2 of 5 Specifications

      These are the rules of Interleaved 2 of 5 as described in the encoder's reference, which cites ISO/IEC 16390.

      Interleaved 2 of 5 at a glance
      PropertyInterleaved 2 of 5
      DigitsVariable length, an even number of digits; a leading 0 is added to an odd count
      CharactersDigits 0 to 9, two per symbol character: one in five bars and the next in five spaces, two of each five wide
      Check digitOptional modulo 10 check digit
      Symbology typeContinuous, with self-checking characters, readable in both directions
      WidthEach pair of digits takes 4N + 6 modules for a wide-to-narrow ratio N, so 18 modules at 3:1, plus N + 6 modules for the start and stop patterns
      Short scansStart and stop patterns can occur inside the data, so readers should accept one fixed length, and a check digit catches partial reads
      Wide-to-narrow ratioDrawn at 3:1 by this tool
      StandardsISO/IEC 16390, ANSI/AIM BC2 (USS Interleaved 2 of 5) and BS EN 801
      Where the numbers come fromYour own data; cartons with a GTIN use the fixed-length ITF-14
      Example12345678

      BWIPP Interleaved 2 of 5 reference (digits, leading zero, modulo 10 check digit, standards); GS1 General Specifications §5.3.1 (ITF symbology characteristics), §5.3.2.2 (width formula) and §5.3.3 (short scans).

      Sources, checked 2026-10-04: Interleaved 2 of 5 reference (BWIPP); GS1 General Specifications, Release 26.0 (ratified January 2026).

      Short Scans and Fixed Lengths

      The start and stop patterns of Interleaved 2 of 5 can also appear inside the data, so a scanner beam that crosses only part of the code can return a shorter valid number.

      Set Your Scanner to a Fixed Length

      GS1 handles this for ITF-14 by always using 14 digits and programming readers to accept only that length. Do the same for your own Interleaved 2 of 5 numbers: keep one length and set the scanner to it.

      Use the Check Digit

      A check digit lets the reading system reject a number that was only partly read. Add it unless your system cannot accept it.

      Interleaved 2 of 5 and ITF-14

      ITF-14 is Interleaved 2 of 5 with exactly 14 digits, a GS1 check digit and bearer bars, used for GTINs on cartons.

      Which One to Use

      Use ITF-14 when the barcode carries a GTIN for a carton or case. Use plain Interleaved 2 of 5 for your own numbers, such as internal stock or document numbers.

      Frequently Asked Questions

      Why Was a 0 Added to My Number?

      Interleaved 2 of 5 encodes digits in pairs, so the count must be even. A leading 0 makes it even and is returned by the scanner as part of the number.

      Can Interleaved 2 of 5 Encode Letters?

      No, digits only. Use Code 128 for letters and symbols.

      What Is the Maximum Length?

      The generator encodes as many digits as you type, but long numbers make wide barcodes. Keep one length for all your labels so scanners can check it.

      Is ITF the Same as Interleaved 2 of 5?

      Yes, ITF is the short name for Interleaved 2 of 5. ITF-14 is the 14-digit GS1 version used on cartons.

      How Is the Check Digit Calculated?

      With modulo 10, using weights 3 and 1 from the right, the same rule as GS1 check digits. The generator adds it when you tick Add a check character.

      Is This Generator Free?

      Yes. There is no account and no limit, and the barcodes may be used commercially.