Skip to main content
ponderloop

Morse Code Translator: Text to Morse Code and Back, with Audio

“Hello, World” in Morse code is ···· · ·−·· ·−·· −−− −−··−− / ·−− −−− ·−· ·−·· −··. Type text to get International Morse code, or paste Morse to read it as text: letters are separated by a space and words by “ / ”, and dots and dashes typed as . - · − – all work, as do three or seven spaces between words. The code is the one in ITU-R M.1677-1, with figures, punctuation such as @ (·−−·−·) and the procedural signals, so SOS sent as one distress group is ···−−−···. Characters the code has no sign for are shown and listed, never dropped. Press Play to hear it at the speed you choose.

Updated Runs in your browser: nothing you enter is uploadedHow this tool works

Stays in your browser. Nothing you type is sent anywhere or saved.

Text

Morse code

Edit either box. In Morse, separate letters with a space and words with “ / ” (or three or more spaces). Dots and dashes can be . - or · −. Write a prosign in text as <SOS>.

Morse symbols

Result

11 signs in 2 words · about 11 s at 15 WPM.

Play it

Sound starts only when you press Play. The speed uses the PARIS standard: one dot lasts 1200 ÷ WPM milliseconds.

Plays for about 11 s at 15 WPM.

Morse code letters A to Z

ITU-R M.1677-1. “Dots” is the length of the sign in dot units, with a dot and each gap inside the sign counting 1 and a dash 3.
LetterMorseSounds likeDots
A·−di-dah5
B−···dah-di-di-dit9
C−·−·dah-di-dah-dit11
D−··dah-di-dit7
E·dit1
F··−·di-di-dah-dit9
G−−·dah-dah-dit9
H····di-di-di-dit7
I··di-dit3
J·−−−di-dah-dah-dah13
K−·−dah-di-dah9
L·−··di-dah-di-dit9
M−−dah-dah7
N−·dah-dit5
O−−−dah-dah-dah11
P·−−·di-dah-dah-dit11
Q−−·−dah-dah-di-dah13
R·−·di-dah-dit7
S···di-di-dit5
T−dah3
U··−di-di-dah7
V···−di-di-di-dah9
W·−−di-dah-dah9
X−··−dah-di-di-dah11
Y−·−−dah-di-dah-dah13
Z−−··dah-dah-di-dit11

Morse code numbers 0 to 9

ITU-R M.1677-1. Every figure is five elements long.
FigureMorseSounds likeDots
0−−−−−dah-dah-dah-dah-dah19
1·−−−−di-dah-dah-dah-dah17
2··−−−di-di-dah-dah-dah15
3···−−di-di-di-dah-dah13
4····−di-di-di-di-dah11
5·····di-di-di-di-dit9
6−····dah-di-di-di-dit11
7−−···dah-dah-di-di-dit13
8−−−··dah-dah-dah-di-dit15
9−−−−·dah-dah-dah-dah-dit17

Morse code punctuation and signs

ITU-R M.1677-1, including the commercial at sign. The two brackets share one code, and × shares the code of X.
SignMorseNameDots
.·−·−·−Full stop (period)17
,−−··−−Comma19
:−−−···Colon or division sign17
?··−−··Question mark15
'·−−−−·Apostrophe19
-−····−Hyphen or minus sign15
/−··−·Fraction bar or division sign13
(−·−−·−Left bracket (parenthesis)19
)−·−−·−Right bracket (parenthesis)19
"·−··−·Quotation mark15
=−···−Double hyphen (equals sign)13
+·−·−·Cross or addition sign13
×−··−Multiplication sign11
@·−−·−·Commercial at17

Prosigns: SOS and other procedural signals

A prosign is sent as one unbroken group with no gaps between its letters. Type it as <SOS>, <AR> and so on. The ITU name is given where the recommendation lists the signal.
ProsignMorseMeaningITU-R M.1677-1 nameNote
<SOS>···−−−···Distress signalNot listed (conventional)The international distress signal, sent as one group. Typed as S O S with gaps it is three separate letters.
<HH>········Error, correction followsErrorEight dots.
<VE>···−·UnderstoodUnderstoodAlso written SN.
<AS>·−···WaitWaitStand by.
<SK>···−·−End of work (end of contact)End of workSent when a contact is finished.
<KA>−·−·−Starting signal (attention)Starting signalOpens a transmission.
<AR>·−·−·End of messageCross or addition signThe same signal as +, so a decoded .-.-. is shown as +.
<BT>−···−Break (new paragraph)Double hyphenThe same signal as =, so a decoded -...- is shown as =.

Morse code timing

Every length is a multiple of one dot. The word PARIS, with the gap that follows it, is 50 dots long, which is why speed is quoted in words per minute.
PartLength in dots
Dot1
Dash3
Gap between the dots and dashes of one sign1
Gap between two signs (letters)3
Gap between two words7
PARIS plus its word gap50

Speed in words per minute

One dot lasts 1200 ÷ WPM milliseconds. With Farnsworth spacing the signs keep the speed in the first column and the gaps stretch to an effective 5 WPM.
WPMOne dot (ms)One dash (ms)PARIS takesGap unit at 5 WPM effective (dots)
524072012 s1.0
101203606.0 s3.6
1392.3276.94.6 s5.2
15802404.0 s6.3
20601803.0 s8.9
25481442.4 s11.5
30401202.0 s14.2
4030901.5 s19.4

How to translate text to Morse code

  1. Type or paste your text. Write it in the text box, for example “Hello, World”. Upper and lower case give the same code, and Morse has no difference between them.
  2. Read the Morse box. The Morse appears as you type: ···· · ·−·· ·−·· −−− −−··−− / ·−− −−− ·−· ·−·· −··. A space separates letters and “ / ” separates words. Switch the symbols between . - and · − if you prefer.
  3. Check the list of unknown characters. Anything the code has no sign for, such as ! or an accented letter, is marked [x] in the Morse and listed under the boxes, so you know what was not translated.
  4. Play it or copy it. Set the speed in WPM and the tone, then press Play to hear it (browsers only start sound after a click). Copy either box with its Copy button. To go the other way, paste Morse into the Morse box.

Frequently asked questions

How do I write SOS in Morse code?
···−−−···: three dots, three dashes, three dots, sent as one group with no gaps. Typed as the letters S, O, S with spaces it is ··· −−− ···, which has the same dots and dashes with a gap between the letters. In this tool write <SOS> to get the distress group and plain SOS to get three letters.
How is a Morse code message spelled out?
Letters are separated by a space and words by a slash with spaces around it. “Hello, World” is ···· · ·−·· ·−·· −−− −−··−− / ·−− −−− ·−· ·−·· −··. Reading Morse works the same way back: the translator also accepts three or seven spaces between words, and the dot and dash look-alikes · • − – — _.
What is the Morse code for @?
·−−·−· (di-dah-dah-di-dah-dit). The commercial at sign is part of International Morse code in ITU-R M.1677-1, so an email address such as name@example.com becomes −· ·− −− · ·−−·−· · −··− ·− −− ·−−· ·−·· · ·−·−·− −·−· −−− −−.
What speed is 20 WPM, and what is the PARIS standard?
Speed is counted in words of five letters, with PARIS as the standard word. PARIS and the gap after it take 50 dot lengths, so at W words per minute one dot lasts 1200 ÷ W milliseconds: 60 ms at 20 WPM, 80 ms at 15 WPM. At 20 WPM the word PARIS itself takes 2.6 s to send.
What is Farnsworth spacing?
Farnsworth spacing keeps each letter at full speed but stretches the gaps between letters and words, so the overall speed is lower. It is used for learning, because you hear each sign at its real rhythm while having more time to think. In this tool, tick Farnsworth, set the sign speed, and set a lower effective WPM: at 20 WPM signs with 10 WPM effective, the gap unit is 3.6 dots instead of 1.
Why does the translator show [x] or � for some characters?
Because the code has no sign for them. ITU-R M.1677-1 covers 26 letters, 10 figures and a short list of punctuation. Characters such as !, #, &, accented letters, emoji and most symbols are not in it, so text to Morse writes them as [x] (for example .... .. [!]), skips them in the audio and lists them under the boxes. Morse groups with no meaning are shown as � and listed as well. Nothing is ever dropped silently.
Can I send punctuation like brackets and the equals sign?
Yes: . , : ? ' - / ( ) " = + × and @ all have codes. Both brackets use −·−−·−; when decoding they come out as ( and ) in turn. + shares its code with the prosign <AR> (·−·−·) and = with <BT> (−···−), and × shares its code with X, so those decode to the character.
Why does nothing play until I press the button?
Browsers do not let a page start sound by itself. This page creates its audio only when you press Play, which counts as the click the browser needs, and Stop ends it at once. If the device is silent, check the volume and that the sound option is ticked.
Does the flashing lamp respect reduced motion?
Yes. If your device is set to reduce motion, the lamp is switched off and replaced by a steady readout of the letter being sent, so nothing flashes. Without that setting, the lamp is a small light that follows the signal and you can turn it off.
Is anything I type sent anywhere?
No. Translation and sound happen in your browser and nothing is uploaded or saved. Reload the page and your text is gone.

How it works

Text is read one character at a time, upper-cased, and looked up in the table of ITU-R M.1677-1 (International Morse code): the 26 letters, 10 figures and the punctuation and signs of the recommendation. Typographic quotes, apostrophes and dashes are folded to the plain sign first, and a prosign written as <SOS>, <AR> and so on is sent as one group. A character with no sign is kept in the output as [x] and listed. Morse is read by splitting on word gaps (“ / ”, a slash, or three or more spaces) and then on spaces between letters, after the dot variants · • and the dash variants − – — _ are folded to . and -. A group that is not in the table is shown as � and listed. Two codes are shared and resolved the same way every time: the bracket code decodes to ( and ) in turn, and the codes of +, =, / and X decode to those characters rather than to the prosigns <AR> and <BT>, and X is read as the letter rather than the multiplication sign. Timing follows the PARIS standard: a dot is 1200 ÷ WPM milliseconds, a dash 3 dots, the gap inside a sign 1, between signs 3 and between words 7. Farnsworth spacing keeps signs at the chosen speed and divides the time left over for an overall effective WPM among the 19 gap units of PARIS, so (60 000 ÷ effective − 37 200 ÷ speed) ÷ 19 ms is one gap unit. Sound is made with the Web Audio API: a sine oscillator whose volume is switched on and off with short ramps to avoid clicks, started only from a button press. Where this tool follows convention rather than the recommendation (the two-letter names of prosigns, and the SOS distress group), the table says so. Everything runs in your browser.

Sources

All toolsHome & DIY calculators