Home › Developer Tools › Morse Code Translator

Morse Code Translator

Type text to get Morse code, or paste dots and dashes to decode them: the direction is detected automatically. Play the result as audio with a blinking light, adjust the speed and tone, or download it as a WAV file, all in your browser.

Last updated:

Text → Morse

Ready
Morse code chart (click a sign to hear it)
Advertisement

How to use the Morse Code Translator

  1. Type or paste text or Morse code in the left box. The badge shows which direction was detected; pick Text → Morse or Morse → Text to force it.
  2. Choose the format: the word separator (/, | or 3 spaces) and the dot and dash symbols for the output.
  3. Press Play sound to hear it and watch the light blink. Set character speed, Farnsworth speed, tone and volume first if you like.
  4. Copy the result or press Download WAV to save the audio.
  5. Learn: open the Morse code chart and click any letter to hear its rhythm.

International Morse code timing

ElementLengthAt 20 WPMAt 5 WPM
Dot (dit)1 unit60 ms240 ms
Dash (dah)3 units180 ms720 ms
Gap inside a letter1 unit60 ms240 ms
Gap between letters3 units180 ms720 ms
Gap between words7 units420 ms1,680 ms

The unit length is 1.2 seconds ÷ WPM. With Farnsworth spacing (character speed c, effective speed s) the extra delay per standard word is ta = (60c − 37.2s) ÷ (s·c) seconds, split into letter gaps of 3ta/19 and word gaps of 7ta/19, following the ARRL formula.

Morse code alphabet and numbers

LetterCodeLetterCodeLetterCodeDigitCode
A.-J.---S...1.----
B-...K-.-T-2..---
C-.-.L.-..U..-3...--
D-..M--V...-4....-
E.N-.W.--5.....
F..-.O---X-..-6-....
G--.P.--.Y-.--7--...
H....Q--.-Z--..8---..
I..R.-.9 / 0----. / -----

Common prosigns and abbreviations

  • <SOS> ...---... – distress signal, sent without letter gaps.
  • <AR> .-.-. – end of message (same code as +).
  • <SK> ...-.- – end of contact.
  • <BT> -...- – break / new paragraph (same code as =).
  • <KN> -.--. – go ahead, only the station called (same code as an opening bracket).
  • CQ -.-. --.- – calling any station; 73 --... ...-- – best regards.

Because prosigns such as AR and BT share their codes with + and =, the decoder shows the punctuation mark; only codes that are unique to a prosign (for example ...-.- for <SK>) are decoded as prosigns. For other encodings of text, try the Binary Translator.

Frequently asked questions

How do I write SOS in Morse code?

SOS is ... --- ... (three dots, three dashes, three dots). As a distress signal it is sent as one continuous prosign without letter gaps: ...---... Type <SOS> to get the joined version, or SOS for three separate letters.

How are letters and words separated?

In written Morse a single space separates letters and a slash (/) or bar (|) separates words. When decoding, this translator also accepts two or more spaces as a word gap. In sound, a letter gap is 3 dot lengths and a word gap is 7 dot lengths.

What does WPM mean in Morse code?

Words per minute, measured with the standard word PARIS, which is exactly 50 dot units long. At 20 WPM one dot lasts 1.2 / 20 = 0.06 seconds (60 ms), a dash 180 ms, the gap between letters 180 ms and between words 420 ms.

What is Farnsworth timing?

Farnsworth timing sends each character at a fast speed but stretches the gaps between characters and words, so the overall (effective) speed is lower. Learners hear the true rhythm of each letter instead of counting dots. Set the character speed to 18–20 WPM and the Farnsworth speed to 5–10 WPM to practise this way.

Why does my decoded text contain #?

A # marks a sequence of dots and dashes that is not a valid Morse character, often because a letter gap is missing (two letters run together) or a symbol was mistyped. Check the spacing around that spot.

Does Morse code have lowercase letters?

No. Morse code has no letter case, so decoded text is shown in capitals and both upper and lower case letters encode the same way.

Does the sound work on phones?

Yes. Audio starts when you press Play sound. On iPhone, turn off silent mode if you hear nothing, or use Light only to follow the blinking lamp.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Binary TranslatorConvert text to binary, hex, octal and back.Caesar CipherEncode and decode Caesar shift ciphers and crack unknown shifts with a ranked brute force.Base64 Encoder DecoderEncode or decode Base64 text and files, and make data URIs.URL Encoder DecoderPercent-encode or decode URLs, query strings and form data.Bacon CipherEncode and decode Baconian A/B code (24 or 26 letters) and hide messages in letter case.Phone FlashlightTurn on your phone's camera LED from the browser, with strobe, SOS and Morse code modes.DTMF Tone GeneratorPlay phone keypad dual tones, dial a number sequence, export WAV and decode DTMF.English to IPA ConverterConvert English text to IPA phonetic transcription in US or UK accent, with stress marks.JSON to Excel ConverterTurn JSON into a styled .xlsx spreadsheet; nested arrays become their own linked sheets.JSON to CSVConvert JSON data to CSV for spreadsheets.CSV to JSONConvert CSV data to JSON with live preview.Excel to CSVConvert XLSX spreadsheets to CSV.CSV ViewerOpen a CSV or TSV file as a sortable, filterable table.Excel Viewer (XLSX / XLS)Open XLSX, XLS and ODS spreadsheets in your browser without Excel.Line Ending ConverterConvert text and files between CRLF, LF and CR line endings.Markdown to HTMLConvert Markdown to clean HTML with a live editor.XML to JSONConvert XML to JSON with validation.Text Encoding ConverterDetect and convert text file encodings like UTF-8, UTF-16 and Latin-1.JSON ViewerExplore JSON as a collapsible tree, search keys and values and copy any node's path.TTF to WOFF2 ConverterConvert TTF and OTF fonts to WOFF2 or WOFF and get a ready @font-face CSS snippet.Chmod CalculatorConvert Linux file permissions between checkboxes, octal (755) and symbolic (rwxr-xr-x) notation.JSON to TypeScriptGenerate TypeScript interfaces or types from JSON, with nested types and optional fields.HTML Table GeneratorBuild HTML tables in an editable grid with styles, header rows, CSV import and live preview.Hex to Text ConverterConvert hex to text and text to hex with UTF-8 support and space, 0x, \x or comma formats.JSON to XML ConverterConvert JSON to well-formed XML with attributes, arrays and pretty print.JSON to YAML ConverterConvert JSON to clean YAML as you type, with indent, quoting and sort options.YAML to JSON ConverterConvert YAML to pretty or minified JSON, with errors pinned to the exact line.HTML to Markdown ConverterTurn HTML or pasted rich text into clean Markdown with tables and live preview.Markdown Table GeneratorBuild Markdown tables in a grid or paste from Excel/CSV, with alignment and preview.JSON ValidatorCheck JSON with the exact line and column of each error, fix tips and one-click auto-fix.Image to Base64Convert images to Base64 data URIs, CSS backgrounds and HTML img tags in your browser.Base64 to ImagePaste a Base64 string or data URI to preview, identify and download the image.JSON CompareCompare two JSON documents and see every added, removed and changed path.Hex to DecimalConvert hex to decimal instantly with steps and signed mode.Decimal to HexConvert decimal to hex instantly with steps and signed mode.Binary to DecimalConvert binary to decimal instantly with steps and signed mode.Decimal to BinaryConvert decimal to binary instantly with steps and signed mode.Two's Complement CalculatorDecimal to two's complement binary and back for 4-64 bits, with invert-and-add-1 steps.IP Address ConverterConvert IPv4 to decimal, hex, binary, octal and back, with class and private/public check.ISBN Converter & ValidatorConvert ISBN-10 to ISBN-13 and back, validate check digits and hyphenate, one or in bulk.JSON Flatten / UnflattenFlatten nested JSON to dot or bracket path keys, or unflatten flat keys back to nested JSON.JSON to Dart ClassTurn JSON into Dart model classes with fromJson, toJson, null safety and nested classes.JSON to Java ClassTurn JSON into Java POJOs or records with Lombok, getters/setters and Jackson or Gson annotations.JSON to Kotlin Data ClassTurn JSON into Kotlin data classes for kotlinx.serialization, Gson, Moshi or Jackson.JSON to Markdown TableTurn a JSON array of objects into a GitHub Markdown table with column picker and alignment.JSON to PHP ArrayConvert JSON to PHP array code (short [] or array()) and PHP arrays back to JSON.JSON to Rust StructTurn JSON into Rust structs with serde derives, rename attributes, Option and Vec types.JSON to SQL ConverterConvert a JSON array of objects to CREATE TABLE and INSERT statements for MySQL, Postgres, SQLite.JSON to Swift StructTurn JSON into Swift Codable structs with CodingKeys, optionals and nested types.JSON to TOML ConverterConvert JSON to clean TOML with tables, arrays of tables, inline tables and dates.JSONL to JSON ConverterConvert JSON Lines / NDJSON to a JSON array and back, with line-level error reports.Properties to YAML ConverterConvert Java .properties to nested YAML (application.yml) and YAML back to properties.PX to EM ConverterConvert pixels to em using the parent font size, and em back to px, with conversion tables.Query String to JSONConvert URL query strings to JSON with nested brackets and arrays, and JSON back to a query string.REM to PX ConverterConvert CSS rem values to pixels for any root font size, with a quick 0.25–6rem table.SQL to JSON ConverterConvert SQL INSERT statements and dumps into a JSON array of row objects, with CSV export.TSV to CSV ConverterConvert TSV to CSV and back, or between tab, comma, semicolon and pipe, with correct quoting.TypeScript to JavaScriptConvert TypeScript or TSX to clean JavaScript instantly: strip types, keep or compile JSX.XML to YAML ConverterConvert XML to clean YAML with attributes, text nodes, lists and exact error lines.YAML to XML ConverterConvert YAML to pretty, well-formed XML with custom root, attributes and array item tags.Boolean Algebra SimplifierSimplify boolean expressions or minterm lists to minimal SOP and POS with Quine-McCluskey steps.Compare Excel FilesCompare two Excel spreadsheets cell by cell, highlight changes and export a diff report.CSV CleanerClean messy CSV in one click: trim spaces, drop empty rows and columns, fix headers, dedupe.CSV VLOOKUP ToolJoin two CSV or Excel files on a key column like VLOOKUP, with left, inner and full joins.Remove Duplicates in ExcelFind and remove or highlight duplicate rows in XLSX or CSV files by the columns you choose.GeoJSON ViewerView GeoJSON on a map, inspect and edit properties, validate against RFC 7946 and export.GPX ViewerOpen GPX tracks on a map with distance, elevation profile, moving time, speed and splits.JSON Repair ToolFix broken JSON automatically: trailing commas, quotes, comments, truncated data, with a diff.
See all 129 Data & File Format Converters →