Morse Code Translator
  1. Translator
  2. Morse code tree

The Morse code tree

The Morse code tree is the alphabet arranged as a path. Start at the top, go left for every dot and right for every dash, and the letter where the signals end is the answer. E and T are one step down, and no letter from A to Z is more than four steps away (ITU-R M.1677-1, letter table).

How to read it: start at the top. Every dot takes you one step down to the left, every dash one step down to the right. When the signals run out, the letter you stand on is the answer, and the number of steps you took is the number of signals in its code. This diagram arranges the A–Z signals from ITU-R M.1677-1.

Each letter is a walk down the tree. T: right. R: left, right, left. E: left.

The tree, level by level

Each tile pair below hangs from the letter printed before it, one level up: the left letter adds a dot to that letter's code, the right letter adds a dash. Where a branch has no Latin letter, the pair shows only one, and O has none at all below. The codes follow the international standard, ITU-R M.1677-1 (ITU, 2009).

The Morse code tree of the Latin letters: dot goes left, dash goes right Start at the top. A dot goes down to the left, a dash goes down to the right. Level 1: E, T. Level 2: I, A, N, M. Level 3: S, U, R, W, D, K, G, O. Level 4: H, V, F, L, P, J, B, X, C, Y, Z, Q (4 empty places). The same tree is listed below the picture.
A dot goes down to the left, a dash goes down to the right. Dashed circles are places no A–Z letter uses (ITU-R M.1677-1, letter table). Swipe sideways to see the whole tree.
Morse code decoding tree for letters A to Z and digits 0 to 9 with dot branches left and dash branches right.
Follow dots left and dashes right

Open the chart to print or save it

The same tree, level by level, as a list:

Use I in Morse code to check a short path against the tree.

Level 1, one signal: 2 of 2 places hold a letter (ITU-R M.1677-1, letter table).

  1. Under the start: E, dot; T, dash

Level 2, two signals: 4 of 4 places hold a letter (ITU-R M.1677-1, letter table).

  1. Under E: I, dot dot; A, dot dash
  2. Under T: N, dash dot; M, dash dash

Level 3, three signals: 8 of 8 places hold a letter (ITU-R M.1677-1, letter table).

  1. Under I: S, dot dot dot; U, dot dot dash
  2. Under A: R, dot dash dot; W, dot dash dash
  3. Under N: D, dash dot dot; K, dash dot dash
  4. Under M: G, dash dash dot; O, dash dash dash

Level 4, four signals: 12 of 16 places hold a letter (ITU-R M.1677-1, letter table).

  1. Under S: H, dot dot dot dot; V, dot dot dot dash
  2. Under U: F, dot dot dash dot
  3. Under R: L, dot dash dot dot
  4. Under W: P, dot dash dash dot; J, dot dash dash dash
  5. Under D: B, dash dot dot dot; X, dash dot dot dash
  6. Under K: C, dash dot dash dot; Y, dash dot dash dash
  7. Under G: Z, dash dash dot dot; Q, dash dash dot dash

How to find a letter from its code

Say you see on a note. Start at the top and take one step per signal (ITU-R M.1677-1, letter R):

  1. Dot: go left to E.
  2. Dash: go right to A.
  3. Dot: go left to R.

Nothing is left, so the letter is R. If the signals run out on a place with no letter, the code was copied wrong or is not an A–Z letter (ITU-R M.1677-1, letter table).

Try the same lookup with K in Morse code and check each turn against its pattern.

How to find the code for a letter

Go the other way. Find the letter, then trace the line back up to the top and note each turn. Y hangs under K, which hangs under N, which hangs under T. Read from the top down, the turns are right, left, right, right: , said dash dot dash dash (ITU-R M.1677-1, letter table).

Use H in Morse code to practice the complete letter before tracing its path through the tree.

For another letter to trace back to the top, use J in Morse code.

What the shape tells you

When the tree helps

If the letter boundaries are missing, Decode Morse code without spaces shows why one string can have several readings.

Is the Morse code tree a binary search tree or a Huffman tree?

It is a binary tree, but not an alphabetic binary search tree or a Huffman coding tree. Every place has at most two branches, a dot and a dash, which fits the definition of a binary tree (NIST, binary tree). The differences are visible in the tree above.

A binary search tree keeps every key in a node's left subtree smaller than the node and every key in its right subtree larger (NIST, binary search tree). Read the Morse tree in that order, left branch, then the node, then the right branch, and the letters come out as H S V I F U E L R A P W J B D X N C K Y T Z G Q M O, which is not alphabetical. The tree arranges letters by signals, not by their place in the alphabet.

A prefix code is a set of code words in which no word is the start of another, and it can be drawn as a coding tree (NIST, prefix code). Morse letters do not work that way: 13 of the 26 letters open the code of another letter. E, , is the first signal of I, , and I is the start of S, . Those letters sit on inner places of the tree, not at its ends. A decoder therefore cannot tell from the signals alone where a letter stops; it needs the gap, which the standard sets at three units between letters (ITU-R M.1677-1, section 2).

Huffman coding builds a tree from character frequencies, so that frequent characters sit near the root and rare ones far from it (NIST, Huffman coding). The top of the Morse tree looks similar, with E and T one step from the root, but the shape alone does not show how the table was designed. Is there any logic to Morse code? checks the frequency idea against the evidence, and Morse code vs binary explains why Morse is not a fixed-width binary code.

When it gets in the way

Listening is where the tree stops helping. At 18 words per minute one dot lasts about 67 ms, and all of J is over in about 870 ms: four turns down the tree in less than a second, before the next letter starts. These durations use standard PARIS timing and the international signal lengths (ARRL, QEX, April 1990; ITU-R M.1677-1, section 2). The ARRL article notes that above a few words per minute, Morse is most easily read by ear when characters are recognized rhythmically rather than by counting the dots and dashes (ARRL, QEX, 1990). Walking the tree is counting.

The psychologist Ludwig Koch observed something similar in 1936. Learners who memorized the written dots and dashes first kept translating every sound through that picture, and the detour slowed them down (Koch 1936, p. 27–30). The memory aids of his day grouped letters made only of dots, E, I, S, H, and only of dashes, T, M, O: the tree's two outer edges. Koch's group experiment was a different test, of teaching letters in groups at 90 to 100 characters a minute rather than of those memory aids: he taught the dash group and the dot group separately, and when he mixed them the eight letters had to be learned again almost from the beginning (Koch 1936, p. 50).

So use the tree to understand Morse and to look codes up, and learn to hear letters as whole sounds. How to memorize Morse code explains what to do instead of a chart. How to learn Morse code by ear gives the method step by step. The Morse code alphabet plays every letter on tap, and the translator turns any word into code.

Sources

  1. Recommendation ITU-R M.1677-1, International Morse code. ITU Radiocommunication Sector, October 2009.
  2. A Standard for Morse Timing Using the Farnsworth Technique, Jon Bloom, KE3Z. ARRL, QEX, April 1990.
  3. Ludwig Koch, work-psychological study of radio telegraphy learning (English translation). Hosted by the Long Island CW Club; unofficial translation, original 1936.
  4. binary search tree. NIST, Dictionary of Algorithms and Data Structures, checked 11 November 2026.
  5. prefix code. NIST, Dictionary of Algorithms and Data Structures, entry modified 11 February 2019.
  6. Huffman coding. NIST, Dictionary of Algorithms and Data Structures, checked 11 November 2026.
  7. binary tree. NIST, Dictionary of Algorithms and Data Structures, entry modified 15 December 2017.