calculate.sh DE

This tool runs in your browser using JavaScript. If it does not appear, please enable JavaScript or reload the page. The description below explains how it works.

Morse Code

Translate text to Morse code — and back. Write a word, a sentence, or a whole paragraph and turn it into dots and dashes, the classic signal alphabet named after Samuel Morse. The reverse direction reads a Morse string such as .... . .-.. .-.. --- and turns it back into readable letters, which makes the tool perfect both for learning the code and for deciphering strings you received from a friend, a puzzle book, or a radio exercise. Supported characters cover the full Latin alphabet A–Z, the digits 0–9, and the most common punctuation marks including comma, period, question mark, exclamation mark, colon, semicolon, apostrophe, quotes, parentheses, slash, plus, minus, at sign and dollar sign.

How to use

  1. Choose a direction — "Text to Morse" or "Morse to Text".
  2. Type or paste your content into the text area. Numbers, letters and punctuation are converted automatically.
  3. Read the result in the Result band. A single space separates the dots and dashes of one letter, and a slash separates two words.
  4. Copy the output with one click, or press Clear to start over.
  5. If you switch directions, the tool remembers your input on both sides, so you can translate back and forth without retyping.

When you input text, letters are converted case-insensitively: sos and SOS both become ... --- .... Characters that do not have a Morse representation are skipped and reported in a warning line, so nothing is silently mangled. When you decode Morse, each group of dots and dashes is looked up in the standard international table; an unknown sequence such as ...-.. does not guess — it stops and tells you exactly which code is invalid. The decoding also tolerates sloppy spacing: extra spaces around slashes or between letters are ignored, so pasted messages with irregular whitespace still work.

The international Morse table

The core letters are worth knowing by pattern. Several have elegant shapes:

  • A . —, B —..., C —.—., D —.., E ., F ..—., G ——., H ....
  • I .., J .———, K —.——, L .—.., M ——, N ——., O ———, P .——.
  • Q ——.—, R .—., S ..., T —, U ..—, V ...—, W .——, X —..—, Y —.——, Z ——..

The digits form a clean sequence: 1 is .————, 2 is ..———, 3 is ...——, 4 is ....—, 5 is ....., and then 6 through 9 mirror the pattern with dashes taking over: —...., ——..., ———.., ————.. Because the code tables are symmetric, both directions share the same structure, and the tool simply looks up one way or the other.

Example uses

  • Learning the alphabet: translate your name and practice tapping it out — every learner starts with their own call sign.
  • Puzzle solving: many escape rooms and riddles encode hints in Morse; paste the dots and dashes in and read the plain text instantly.
  • Sparingly shareable messages: a phone number or a birthday encoded as Morse is a fun, mildly cryptic greeting.
  • Radio and hobby work: amateur radio operators can double-check the encoding of prefixes and station identifiers before going on air.
  • Teaching kids: encoding a short phrase and decoding it back teaches pattern recognition in a few minutes.

Which direction to pick

  • If you already read the plain text and want its signal form, use Text to Morse.
  • If you hold a string of dots and dashes and want the message, use Morse to Text.
  • If you are studying, encode a known word first, then decode it again from memory — the two directions train opposite skills.

The timing conventions of real radio Morse are not simulated here visually; the focus stays on the encoding itself. Spaces, slashes and the uniform letter spacing make the result easy to read at a glance and easy to paste into chat, documents or practice apps.