Baudot and ITA2: How 5-Bit Teleprinter Code Works
How the 5-bit Baudot-Murray ITA2 code fits an alphabet into 32 patterns with letters and figures shifts, how it differs from US TTY, and conversion.

Baudot and ITA2: How 5-Bit Teleprinter Code Works
Long before ASCII, Unicode or email, text crossed continents as five-bit codes punched into paper tape. Telex networks, news wire services, weather stations and military communications ran on teleprinters for most of the twentieth century, and radio amateurs still send the same code today as RTTY. The free Baudot ITA2 Converter translates text to and from this code and shows it as punched tape.
From Baudot to Murray
Émile Baudot built a five-unit telegraph code in the 1870s; the unit of signalling speed, the baud, is named after him. Around 1901 Donald Murray reworked the code for typewriter-style keyboards, assigning the shortest patterns to the most common letters to reduce wear. Murray's code, adjusted over the years, was standardised as International Telegraph Alphabet No. 2, or ITA2. When people say Baudot code today, they almost always mean ITA2.
Thirty-two patterns, two meanings
Five bits give only 32 combinations, too few for 26 letters, 10 digits, punctuation and control codes. ITA2 solves this with two shift states. The LTRS code switches the receiver to letters, and FIGS switches it to figures, where the same patterns mean digits and punctuation. The pattern for Q in letters mode is 1 in figures mode, W is 2, E is 3, matching the top row of a typewriter keyboard.
A few codes mean the same thing in both states: space, carriage return, line feed and the blank pattern. Everything else depends on the last shift received. A garbled shift code in a noisy radio signal turns the rest of a word into digits, a familiar sight for RTTY listeners.
ITA2 and US TTY
The international and American variants share letters and digits but differ in some figures. ITA2 puts the apostrophe on S, the bell on J, a plus sign on Z and an equals sign on V, and leaves F, G and H for national use. US TTY moves the bell to S and the apostrophe to J, and adds the dollar sign, quotation mark, semicolon, exclamation mark, ampersand and hash. US TTY is still used by text telephones for deaf people and by many radio amateurs in North America.
Reading the bits
ITA2 tables list bits from 1 to 5, the order they are sent after the start bit. The letter A is 11000, with bits 1 and 2 set. When the same pattern is written as a normal binary number with bit 1 as the least significant bit, A is 3. The converter shows both forms and can also display hex.
The punched-tape view draws each code as a row of holes with the smaller sprocket hole that pulled the tape through the reader, positioned between the second and third data holes as on real five-hole tape.
RYRYRY
Radio operators and teleprinter mechanics open transmissions with RYRYRY. R is 01010 and Y is 10101, so alternating them flips every bit on every character, which exercises the mechanism and shows whether the receiver is in sync.
Using the converter
The encoder starts with LTRS so the receiver is in a known state, inserts FIGS and LTRS only when the text changes between letters and figures, and turns line breaks into CR plus LF. Characters with no code, such as lower-case letters, are converted to capitals; accented letters and unsupported symbols are listed and skipped. To decode, paste five-bit patterns or numbers from 0 to 31.
Step by step
- Choose text to ITA2 or ITA2 to text.
- Pick ITA2 or US TTY.
- Enter text, or codes separated by spaces.
- Choose how codes are displayed.
- Read the code table and the punched tape.
Privacy
Everything is converted locally in your browser.



