Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Morse Code Converter

Translate text to Morse code and Morse back to text, with a reference table of every letter, digit and punctuation mark. Play any result as sound with adjustable speed and tone.

Everything runs locally in your browser. Your data never leaves your device.

Conversion

Detected: text to Morse code

Playback

Hear the Morse code as sound. The symbol being played lights up.

Nothing to play yet.

20 WPM
600 Hz
70%

Speed and tone changes apply the next time you press Play.

Reference table

Every letter, digit, punctuation mark and prosign with its code. Press play on a row to hear it.

CharacterCodeSoundName
Letters
ALetter A
BLetter B
CLetter C
DLetter D
ELetter E
FLetter F
GLetter G
HLetter H
ILetter I
JLetter J
KLetter K
LLetter L
MLetter M
NLetter N
OLetter O
PLetter P
QLetter Q
RLetter R
SLetter S
TLetter T
ULetter U
VLetter V
WLetter W
XLetter X
YLetter Y
ZLetter Z
Digits
0Digit 0
1Digit 1
2Digit 2
3Digit 3
4Digit 4
5Digit 5
6Digit 6
7Digit 7
8Digit 8
9Digit 9
Punctuation
.Period
,Comma
?Question mark
'Apostrophe
!Exclamation mark
/Slash
(Left parenthesis
)Right parenthesis
&Ampersand
:Colon
;Semicolon
=Equals sign
+Plus sign
-Hyphen
_Underscore
"Quotation mark
$Dollar sign
@At sign
Accented letters
ÀA with grave (also Å)
ÄA with umlaut (also Æ)
ÉE with acute
ÈE with grave
ÑN with tilde
ÖO with umlaut (also Ø)
ÜU with umlaut
ßSharp S
Prosigns
SOSDistress signal(type <SOS> to send it)
AREnd of message(type <AR> to send it)
ASWait(type <AS> to send it)
BTNew paragraph(type <BT> to send it)
CTStart of transmission(type <CT> to send it)
KNNamed station only(type <KN> to send it)
SKEnd of contact(type <SK> to send it)
HHError(type <HH> to send it)

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more, each with its own copy button.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the Morse Code Converter

This tool translates text into Morse code and Morse code back into text, live as you type. It detects the direction on its own, so you can paste either one and get the other, and a built-in player sounds the code out loud with adjustable speed, tone and volume.

The decoder is forgiving about spelling. Dots may be written as ., · or , dashes as a hyphen, an en dash or an underscore, and words can be separated by a slash, a bar, a line break or extra spaces. A searchable reference table lists every letter, digit, punctuation mark, accented letter and prosign with its code and a play button.

What you can do

  • Translate text to Morse code, including digits, punctuation and accented letters.
  • Decode Morse code back to text, in any common spelling of dots and dashes.
  • Play Morse code as sound and watch the symbol being sent light up.
  • Learn Morse code by ear at your own pace, from 5 to 40 words per minute.
  • Look up any character in a searchable Morse alphabet chart and hear it played.
  • Choose the dot and dash glyphs and the letter and word separators for the output.
  • Send SOS and other prosigns as single run-together signals.

How to use the Morse Code Converter

  1. 1Paste text or Morse code into the input pane. The direction is detected for you, or you can pick it by hand.
  2. 2When writing Morse, choose the glyphs and separators you want for the output.
  3. 3Press Play to hear the result, and tune the speed, tone and volume with the sliders.
  4. 4Copy or download the result, or press Swap with result to convert it back.
  5. 5Use the reference table to look up single characters or listen to them one at a time.

How Morse input is read

One space separates letters and a spaced /, a |, a line break or two or more spaces separate words. A single slash packed tightly between codes, as in .-/-..., is read as a letter separator instead, so the compact style some apps produce decodes correctly too.

Nothing is dropped silently. A code that matches no character stays in the output in brackets, a character with no Morse code is kept as it is, and both are listed under the output so you can spot the problem.

Timing follows the PARIS standard

Playback uses the standard timing model where the word PARIS defines one word. A dit lasts 1200 divided by the WPM value in milliseconds, a dash lasts three dits, the gap inside a letter is one dit, between letters three and between words seven. At the default 20 WPM a dit is 60 ms, which is a comfortable listening speed. Learners often start closer to 10 WPM.

Prosigns and shared codes

Prosigns are procedural signals sent as one run-together character. Type them in angle notation, so <SOS> becomes ...---... with no gaps, and the reference table lists the common ones: AR, AS, BT, CT, KN, SK, HH and SOS. Some prosigns share their code with a punctuation mark, for example .-.-. is both AR and the plus sign. When a code means both, decoding picks the punctuation mark, while unique codes like ...---... decode to their prosign.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Escape text into HTML entities or decode entities back to plain text. Choose named or numeric entities, escape only the unsafe characters or everything outside ASCII, and read the result live.

Paste anything that looks encoded and this tool works out what was used and undoes it, layer by layer. The whole BaseXX family from Base16 to Base85, binary, URL escapes, HTML entities, ROT13 and gzip, Brotli or Zstandard compression are detected in any combination, and every step of the chain is reported.

Turn any text into a clean URL slug. Transliterates accents and non-Latin scripts to ASCII, with options for the separator, letter case and a length limit. Handles many titles at once, one line per slug.

Escape or unescape a string for JSON, JavaScript, regex, shell, SQL, CSV, XML and more. Paste text, pick the target format and copy the result, in either direction.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more, each with its own copy button.