Tool to decode/encode with Baudot. Baudot code is one of the first telecommunication code in binary from a machine (telegraph), it uses 5 bits per character and 2 character sets.
Baudot Code - dCode
Tag(s) : Telecom, Character Encoding
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The Baudot code is an ancient coding system implemented to communicate with the telegraph.
Its alphabet allows alphanumeric characters to be represented using a sequence of 5 binary elements.
Baudot has had several variations to adapt to different users and languages and has even been standardized under the name ITA2 (International Telegraph Alphabet No. 2).
Encryption with the Baudot code uses a substitution/coding alphabet on 5 bits and 2 sets of characters (usually one for letters and the other for numbers and punctuation).
Each character is encoded sequentially (one after the other) to form a complete message.
The coding alphabet depend on the machine (Baudot type) used:
Baudot | Original Alphabet (French) |
Baudot UK | Alphabet modified by the British |
ITA2 | International Telegraph Alphabet No. 2 (most common) |
ITA1 | International Telegraph Alphabet No. 1 |
Murray | Baudot Alphabet Modified by Murray (CCITT2) |
Murray(Météo) | Baudot-Murray Alphabet for Meteorologists |
US-TTY | ITA2 Alphabet Modified for the American Teletypewriter |
MTK2 | ITA2 Alphabet Modified for Russian |
ATU80 | ITA2 alphabet modified for Arabic languages |
The encoding binary alphabet can be used in both directions: MSB (most significant bit) or LSB (least significant bit) first.
Encryption consists in transcribing the characters of the message by their code. To switch between character sets, there are two keys: ⇩ (switch to letters) and ⇧ (switch to digits).
Example: Encode the message IA2 BAUDOT with a machine using the international telegraphic alphabet no. 2 (the most widespread). The coded message is 00110 00011 11011 10011 11111 11001 01001, explanations in detail:
Letter | Code | Notes |
---|---|---|
I | 00110 | By default the letter character set is used |
A | 00011 | |
⇧ | 11011 | The next character (2) is a number (therefore absent from the letters' character set), type ⇧ (switch to digits) |
2 | 10011 | |
(space) | 00100 | The space code is the same for each character sets (numbers and letters) in the international alphabet 2 |
⇩ | 11111 | The next character (B) is a letter (thus absent from the digits' character set), type ⇩ (switch to letters) |
B | 11001 | |
D | 01001 |
The letters are generally in capitals, the Baudot code does not allow a change of case.
Decryption with the Baudot code requires knowing the machine and / or the alphabet used. The decoding consists of replacing the 5-bit groups (0 and 1) by their corresponding character in the alphabet.
When the code corresponds to ⇩ (digits to letters) or ⇧ (letters to numbers), the character set must be changed.
Example: The encrypted message is 01001 01110 11011 10110 11111 01001 11011 00001
01001 | 01110 | 11011 | 10110 | 11111 | 01001 | 11011 | 00001 |
D | C | ⇧ | 0 | ⇩ | D | ⇧ | 3 |
Example: The plain message is DC0D3.
The message is a binary code, usually 0 and 1 grouped by 5.
The code consists of a number of bits multiple of 5.
Baudot Code was created to improve telegraph communication by encoding characters in a more efficient manner, allowing faster transmission of messages.
Baudot Code marked a transition from manual telegraphy to automated teleprinters, revolutionizing long-distance communication in the late 19th and early 20th centuries.
Early teleprinters utilized Baudot Code for text transmission. Each key press generated a unique five-bit code, facilitating telecommunication.
For 5-bit binary coding, usually the most significant bit is on the left (least on the right)
Example: The value 3 is written 00011 (5bit, least significant bit on the right).
But it is possible to write with the least significant bit to the left
Example: The value 3 is written 11000 (5bit, least significant bit on the left).
IA2 is the Baudot variant the most used, here are the codes and their characters:
Code | Letters | Digits |
---|---|---|
00000 | null | null |
00100 | espace | espace |
10111 | Q | 1 |
10011 | W | 2 |
00001 | E | 3 |
01010 | R | 4 |
10000 | T | 5 |
10101 | Y | 6 |
00111 | U | 7 |
00110 | I | 8 |
11000 | O | 9 |
10110 | P | 0 |
00011 | A | - |
00101 | S | BELL |
01001 | D | $ |
01101 | F | ! |
11010 | G | & |
10100 | H | # |
01011 | J | ' |
01111 | K | ( |
10010 | L | ) |
10001 | Z | " |
11101 | X | / |
01110 | C | : |
11110 | V | ; |
11001 | B | ? |
01100 | N | , |
11100 | M | . |
01000 | Carriage Return CR | Carriage Return CR |
00010 | Line Feed LF | Line Feed LF |
11011 | Switch to Digits |
On some machines, there was a WRU key (for who are you) which allowed you to request the identification of people before initiating a telecommunication. dCode displays ⁇.
The cover drawing of the album represents colored boxes or blank ones, either in binary 1 or 0, the translation in Baudot code for each line gives X & Y the title of the album.
Émile Baudot described it at the end of the 19th century (patents from 1874 and 1878). The electric telegraph had already been invented since 1838.
dCode retains ownership of the "Baudot Code" source code. Except explicit open source licence (indicated Creative Commons / free), the "Baudot Code" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Baudot Code" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Baudot Code" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Baudot Code" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Baudot Code on dCode.fr [online website], retrieved on 2024-12-19,