Morse code translator
Translate text to International Morse code or decode dots and dashes back to text.
How it works
Choose a direction. The translator supports ASCII letters A–Z (either case), digits 0–9 and 13 punctuation marks. Decoding returns uppercase letters by default, with optional lowercase output. ASCII spaces, tabs and line breaks are normalized; a slash separates words in the Morse notation. Unsupported characters or unknown codes stop conversion instead of being dropped.
Copy conversion summary
Use Copy Morse conversion summary to copy the displayed output code-point count as tab-separated Metric and Value columns. For example, Hi 2 becomes .... .. / ..--- (15 output code points, including spaces and the slash). Decoding gives HI 2 or hi 2 (4 output code points). Empty or ASCII-whitespace-only input has a count of zero. Copy result remains separate.
How to read the code
HI becomes .... ..; HI 2 becomes .... .. / ..---. In Morse input, use ASCII dots and hyphens, whitespace between characters and a slash between words. The slash character in ordinary text is encoded as -..-.; repeated spaces in Morse input are not word separators. A slash can touch adjacent tokens, but empty words are invalid.
Text input: up to 4,000 UTF-16 units. Morse input: up to 32,000 units; decoded text is limited to 4,000 characters. Only the displayed alphabet is supported. Accented letters, emoji, curly quotation marks and procedural signals are outside this subset. Case and whitespace formatting do not round-trip; the decoded text uses single spaces and the selected letter case. For example, .... .. / ..--- becomes HI 2 by default or hi 2 with lowercase output. Digits and punctuation are unchanged by the case option. This is a textual notation, not a timed radio signal or audio generator.
International Morse code chart
.--...-.-.-.....-.--........----.-.-..---.---.--.--.-.-....-..-...-.---..--.----..-----.----..---...--....-.....-....--...---..----..-.-.---..-----.....--...----.-....--..-.-.--.-.--.-.-..-.-...-.-.-..--.-.Mapping reference: ITU-R M.1677-1 (2009), Annex 1. The ASCII punctuation equivalents and slash separator are conventions used by this tool.
Related: UTF-8 byte converter · Unicode inspector. Morse code is not a Unicode or UTF-8 byte encoding.