RTTY Decoder and Encoder

Decoded text
Detected signal

Nothing decoded yet.

Shareable link

Settings are written to the URL as you change them. Nothing differs from the defaults yet.

Oxyd An Audacity project (.aup3) opens without Audacity in Oxyd, and exports as MP3, WAV or FLAC. Open it in Oxyd

Radioteletype sends text as two alternating audio tones, one for mark and one for space. The decoder follows those tones in a recording or from the microphone and prints the characters; the encoder writes the same signal from typed text.

Decode a recording

Open a file or choose Listen with the microphone and hold it near the receiver’s speaker. Leave the signal settings on Auto for a first pass. Detection needs about four seconds of signal that carries text, then decodes that audio from its start, so nothing ahead of the lock is lost. A steady idle tone alone gives it nothing to measure, and it waits for traffic.

After changing a setting, Decode again reruns the same file.

What auto-detect measures

The two tones show up as two peaks in the averaged spectrum. Their distance is the shift and their midpoint is the centre frequency. A measured shift within 12% of 170, 425 or 850 Hz is taken as that standard value.

Baud rate and polarity come from framing. Every candidate is decoded, and the winner is the one whose stop bits land on the mark tone and whose bits are read with the two tones furthest apart. A rate that is too fast, or a reversed signal, puts stop bits on the space tone. A rate that is too slow still frames but reads the later bits of each character across their edges.

The detected values appear under the text as mark, space, shift, centre, baud and polarity.

Baud rate, shift and polarity

  • Baud rate. 45.45 baud is the amateur standard, about 60 words per minute. 50 baud is used by weather and press broadcasts, 75 and 100 by some commercial and military links.
  • Shift. 170 Hz for amateur traffic, 425 Hz and 850 Hz for the older and wider commercial signals.
  • Centre frequency. The midpoint between the tones. Setting it by hand picks one signal out of a recording that holds several. A manual centre uses the shift selected above it, or 170 Hz when the shift is on Auto.
  • Polarity. Normal puts mark on the lower audio tone, as with 2125 and 2295 Hz AFSK received on lower sideband. The same transmission tuned on upper sideband arrives reversed.

Baudot, LTRS and FIGS

Each character is a start bit, five data bits and a stop bit of one and a half bit lengths. Five bits give 32 codes, so the code has two cases: letters and figures. LTRS and FIGS switch between them, and the receiver stays in a case until told otherwise. One missed shift turns the following text into the wrong case, which is the usual cause of a line of digits where words should be.

Unshift on space makes the decoder return to letters after every space. Squelch holds back characters when neither tone stands clear of the other, which is what keeps band noise from printing as random letters between transmissions.

Text to RTTY audio

Type the message, pick the baud rate, shift and centre frequency, and download the WAV. Text is upper-cased and anything outside the Baudot set is left out; the box under the scope shows exactly what is sent. A line break goes out as carriage return and line feed.

The tones change frequency without a jump in phase, which keeps the signal narrow. Lead and tail hold the mark tone before and after the text. Diddle fills that idle time with LTRS characters, which gives a receiving decoder edges to stay synchronised on. With Unshift on space on, the shift is sent again after a space, so receivers with and without that option print the same text.

Limits

Baudot carries no checksum, so a character damaged by noise or fading prints as another character and nothing flags it. Weak, fading or interfered shortwave recordings print errors. Stop lengths of one bit and more are read; codes other than five-bit Baudot (ASCII RTTY, SITOR, NAVTEX) are not. Transmitting the generated audio on amateur bands needs a licence and your own callsign in the text.

Questions about RTTY Decoder and Encoder

What does it do, and what can I load?

RTTY audio to text reads a recording (WAV, MP3, M4A, Ogg, FLAC, or the audio of a WebM video) or the microphone and prints the Baudot text it carries. Text to RTTY audio writes a WAV of the same signal from typed text. The recording has to be audio from an SSB receiver, with both tones somewhere between 250 and 3600 Hz.

Do I have to know the baud rate and shift?

No. With everything on Auto the two tones are found in the spectrum, which gives the shift and centre frequency, and the baud rate and polarity are chosen by trying each one and keeping the best fit. The result is shown under the text. Each setting can also be fixed by hand.

Which signals does it cover?

Five-bit Baudot (ITA2) with one start bit and a stop of one bit or longer, at 45.45, 50, 75 or 100 baud, with a 170, 425 or 850 Hz shift. That covers amateur RTTY at 45.45 baud and 170 Hz and the 50 baud weather broadcasts with wider shifts. Other shifts are followed when detected but cannot be picked by hand.

Why does the text turn into digits and punctuation?

The receiver missed a LTRS shift character and stayed in figures. Unshift on space returns to letters at every space, which limits the damage to one word; most amateur stations expect it. If the whole text is wrong, the signal is probably reversed or the baud rate is off.

What is the difference between CCITT-2 and US-TTY?

Letters and digits are the same. A few figures differ: US-TTY has $ on D, an apostrophe on J, a quote mark on Z, a semicolon on V and the bell on S, where CCITT-2 has an apostrophe on S, + on Z and = on V. North American amateur stations mostly use US-TTY.

Can it tune a signal or read an SDR's IQ file?

No. It reads audio that a receiver has already demodulated in SSB, so the two tones are audible. It does not tune, and it does not read IQ recordings.

Will a noisy shortwave recording decode without errors?

Often not. Fading, static crashes and a second station on the frequency all turn into wrong or missing characters, as they do in every RTTY decoder. Baudot has no error check, so a damaged character prints as a different character.

Related tools

Browse all tools