DevTools Logo

Morse Code Translator

Morse Code Translator

Encode text to Morse and decode Morse back to text

Text Input
Encoding to Morse

About

Encode plain text into International Morse Code and decode Morse back to text. Letters are separated by a single space, words by ' / '. Supports A–Z, 0–9 and common punctuation. Everything runs locally in your browser.

    Examples

    Encode 'SOS'

    Input
    text: SOS
    Output
    ... --- ...

    The international distress signal is three dots, three dashes, three dots — recognizable even when the rest of the alphabet is missing.

    Decode a known phrase

    Input
    morse: .... . .-.. .-.. --- / .-- --- .-. .-.. -..
    Output
    HELLO WORLD

    A single space separates letters, a slash (or seven-unit gap) separates words. The decoder is case-insensitive and renders uppercase by default.

    About this tool

    The Morse Code Translator encodes text to International Morse Code and decodes Morse back to readable text, following ITU-R M.1677 — the standard used by amateur radio, aviation and maritime services. Letters, digits and common punctuation are supported, and word boundaries are marked with a slash or double space.

    Translation is purely text-based: the tool produces the dot-and-dash output you can paste into training material, terminal art, or a log. Pair it with a Morse audio generator to convert the produced code to sound with the standard timing.

    How to use this tool

    1. Pick a direction

      Choose Text → Morse to encode or Morse → Text to decode. The tool defaults to International Morse (ITU-R M.1677).

    2. Enter your content

      Type a text message or paste a Morse sequence (separate letters with a space, words with a slash or double space).

    3. Copy the result

      Click Copy to copy the encoded dots and dashes or the decoded text, then paste wherever you need it.

    Use cases

    Learning Morse code

    Practice encoding and decoding letters and numbers with the international standard sequence as a study reference.

    Pasting Morse into logs

    Convert a short message to dots and dashes to include in a comment, terminal art, or training material without having to type it by hand.

    Decoding ham radio contests

    Run a received Morse sequence through the decoder to read a callsign or short message before manual cleanup.

    Common mistakes

    Mistake:Mixing American and international Morse.

    Fix:The two differ in a few characters (notably the numerals and some punctuation). The tool uses ITU-R M.1677 (international), which is the standard for amateur radio and aviation.

    Mistake:Forgetting the word separator.

    Fix:Within a word, separate letters with a single space; separate words with a slash (/) or a double space. Decoding without a separator produces a single long run of dots and dashes.

    Mistake:Expecting audio playback.

    Fix:The translator produces text only. Pair it with a Morse audio generator to hear the timing — one unit for a dot, three for a dash, three units between letters, seven between words.

    Frequently asked questions

    Which Morse standard does it use?

    It uses the International Morse Code standard (ITU-R M.1677), which is the version used by amateur radio, aviation and maritime services worldwide. Letters, digits and common punctuation are supported.

    Does it handle punctuation and prosigns?

    Yes. Common punctuation (period, comma, question mark, slash, parentheses, plus, equals, hyphen, colon, semicolon, apostrophe, at sign) maps to their standard Morse sequences. Prosigns like SOS are recognized as a single token when decoding.

    Can it play audio or just show dots and dashes?

    It shows the dot/dash text. Use any online Morse audio player alongside it to convert the produced code to sound — the timing follows the standard (one unit for a dot, three for a dash, with three units between letters and seven between words).

    Is my text uploaded?

    No. Encoding and decoding run entirely in your browser; the input never leaves your device.

    References & standards

    .env Secret Safety Linter

    Validate .env syntax and spot likely leaked credentials or placeholder secrets.

    .htaccess Generator

    Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

    2D Fluid Dynamics & Particle Physics Sandbox

    A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

    AI Function Calling Schema Generator

    Generate function calling JSON schemas from TypeScript interfaces

    Algorithm Arena & Data Structure Visualizer

    Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

    Ansible Playbook Generator

    Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML