The Morse Decision Tree

Each press branches — dot goes left, dash goes right.

Morse code is a prefix code, so no letter's signal sequence begins another letter's sequence. Pressing dot or dash walks down a binary tree until the path ends at a letter or number. Press space to commit the letter and read the decoded message. Built by Christan Grant for teaching prefix codes.

press a key to begin
Decoded
your message will appear here

Full Tree

dot (•) dash (−) letter number