Text to Morse Code
Text to Morse Converter
How to use the Morse converter
Pick a direction
Text → Morse encodes letters, figures and signs with the signals in ITU-R M.1677-1. Morse → Text decodes letters separated by spaces and words separated by a slash, a vertical bar, a line break or two or more spaces.
Type or paste
The output updates as you type. A character with no Morse signal, such as ß or a kana, is kept in square brackets and counted under the output. It is never turned into a question mark, because ..--.. is the real question mark. In decode mode an unrecognised pattern is kept in brackets the same way.
Set the speed
The slider sets the playback speed from 5 to 40 words per minute, measured on the word PARIS. One dot lasts 1.2 seconds divided by the speed: 60 ms at 20 WPM, 240 ms at 5 WPM.
Play, copy, or swap
"Play audio" generates a 600 Hz tone in your browser with the ITU spacing: three dots between letters, seven between words. "Swap" puts the output back in as input and flips the direction, which is a quick round-trip check.
What the ITU standard fixes, and what comes from elsewhere
International Morse code is defined today by ITU-R Recommendation M.1677-1 (October 2009), which "confirms the International Morse code characters and the operational provisions applying to their use" and notes that versions of the code have been in use since 1844. Its table gives the 26 letters and an accented e (..-..), the figures 0 to 9, and fourteen punctuation marks and signs, among them the multiplication sign × and the commercial at @. It also lists six service signals that have no written character, such as Understood (...-.) and End of work (...-.-). This converter uses that table.
Spacing is in the ITU text; speed is not
Section 2 of the Recommendation sets the rhythm in dots: a dash is equal to three dots, the space inside a letter is one dot, the space between letters three, and the space between words seven. It says nothing about words per minute. The speed convention comes from amateur radio. Jon Bloom of ARRL, writing in QEX in April 1990, states that "the 'PARIS' 50-unit standard is used" for specifying code speed, citing The 1989 ARRL Handbook. PARIS takes 50 dots including the gap after it, so at 20 WPM one dot lasts 60 ms and the word fits 20 times into a minute. This tool’s playback follows both. Until 21 October 2026 it did not: it left four dots between letters and fourteen between words, so its 20 WPM setting played PARIS at about 16.4 WPM.
Farnsworth spacing has no single definition
Bloom defines Farnsworth timing as "sending the characters at a faster speed than the words": each letter is keyed at full speed and the gaps between letters and words are stretched to bring the overall rate down. He wrote that ARRL "couldn't find any definitive specification" for how it is calculated, and set out ARRL's own scheme for its training material: below 18 WPM, characters are sent at 18 WPM with longer spacing. This converter has no Farnsworth setting. It sends characters and spacing at the same speed.
The distress signal in the 1906 Berlin regulations
The International Radiotelegraph Convention was signed at Berlin on 3 November 1906 and came into force on 1 July 1908. Its Service Regulations state that "the signals to be employed are those of the International Morse Code" and give ships in distress a signal of three dots, three dashes and three dots, "repeated at brief intervals" (the 1906 text as printed by the US Government Printing Office in 1912, held by the ITU). The regulations print it as one evenly spaced run of nine elements, with no letter breaks marked and no name. Typed here as the letters S, O, S, it is encoded and played as three letters with letter gaps between them.
The ITU’s table, the PARIS speed convention, and a distress signal printed in 1906
ITU-R M.1677-1 opens by noting that versions of the Morse code "have been in use since 1844". A footnote records that Division B of ITU-T Recommendation F.1, which also addressed the Morse code, has been withdrawn.
The ITU table has an accented e, ..-... It lists the multiplication sign × with -..-, the same signal as the letter X, and says to transmit X for it.
The commercial at, .--.-., is already in M.1677 (05/2004), the first edition of the Recommendation as the ITU publishes it today.
Morse has no percent sign. The ITU says to send 0/0, joined to its number by a hyphen: "For 2%, transmit 2-0/0, and not 20/0." This converter does exactly that.
Counted in dots with the gap that follows it, PARIS is 50 long and CODEX 60. The converter computes both from the ITU spacing.
E is the shortest character at one dot-length. J, Q and Y are the longest letters at 13, and the figure 0, the comma, the apostrophe and the closing bracket are the longest ITU characters at 19.
Read as one signal at ITU spacing, the 1906 distress run of nine elements is 23 dot-lengths. Sent as the three letters S, O, S it is 27, because two letter gaps replace two element gaps.
Jon Bloom’s 1990 QEX paper says plainly: "There is no standard for Farnsworth timing." The formula it gives is ARRL’s, for ARRL’s own training material.
The ITU’s End of work signal, ...-.-, is the pattern of the letters S and K run together. Its Starting signal, -.-.-, is meant "to precede every transmission".
Until 23 February 2007 the US General and Amateur Extra licences required a five-words-per-minute telegraphy examination. A rule published on 24 January 2007 removed it (Federal Register, Vol. 72, No. 15).
Frequently asked questions
. , : ? ’ - / ( ) " = + × @. The ITU table lists an accented e without naming the accent, so é, è, ê and ë all take ..-.., and the typographic ’ “ ” and the en dash are read as the same signs as their plain forms. Five more characters, ! & ; _ $, are encoded but are not in ITU-R M.1677-1, and the page says so when you use one. The ITU gives .-... as its Wait signal, not as &...--.../, so "SOS HELP" is ... --- ... / .... . .-.. .--.. When decoding, the converter also accepts a vertical bar, a line break or two or more spaces as a word break, and dots and dashes pasted as · • ・ or − – -.Method & sources
How it computes
Encodes each character with its ITU-R M.1677-1 signal (26 letters, accented e, 0-9, 14 signs; × sent as X and % as 0/0 per §3) and ! & ; _ $, which ITU does not list; anything else is shown in brackets, never as ?. Playback per ITU §2: dash = 3 dots, gaps of 1, 3 and 7 dots. Speed on the 50-unit word PARIS, dot = 1.2 s / WPM (ARRL; Bloom, QEX April 1990), not an ITU rule. Covered by automated tests.
What this tool implements
- ITU-R Recommendation M.1677-1, International Morse code: a dash equals three dots; the space within a letter is one dot; between letters, three; between words, seven.
- PARIS speed convention, from ARRL and not the ITU (M.1677-1 has no words-per-minute rule): PARIS is 50 dot-lengths including its word gap, so a dot lasts 1.2 s / WPM, 60 ms at 20 WPM (J. Bloom, QEX, April 1990, citing The 1989 ARRL Handbook, p. 19-4).
- Corrected 2026-10-21: playback left 4 dots between letters and 14 between words, so 20 WPM played a PARIS stream at 16.4 WPM; it now plays 3 and 7, and 20 WPM. Unsupported characters were encoded as a bare "?" and decode deleted every "?" (..--.. decoded to nothing); they are now kept in brackets and ..--.. decodes to "?". Added the ITU accented e and × (sent as X), §3.3 % and ‰, §3.5 minute and second signs; ! & ; _ $ are labelled as not in ITU-R M.1677-1.
Sources
- International Telecommunication Union. Recommendation ITU-R M.1677-1, International Morse code (2009). https://www.itu.int/dms_pubrec/itu-r/rec/m/R-REC-M.1677-1-200910-…
- Bloom, J. (KE3Z). A Standard for Morse Timing Using the Farnsworth Technique. QEX, April 1990, pp. 8-9. American Radio Relay League. https://www.arrl.org/files/file/Technology/x9004008.pdf
- International Radiotelegraph Convention, Berlin, 3 November 1906, Service Regulations Arts. XV-XVI, as printed by the US Government Printing Office, 1912. ITU History Portal. https://search.itu.int/history/HistoryDigitalCollectionDocLibrary…
- US Federal Communications Commission. Amateur Service Rules, final rule. Federal Register Vol. 72 No. 15, 24 January 2007, effective 23 February 2007. https://www.govinfo.gov/content/pkg/FR-2007-01-24/pdf/E7-729.pdf