Inverted or Inverse Morse Code Generation, they're both the same.
Dot = | | · Dash = | | · 6 spaces between letters · / between words · newline = sentence
Option 2: Decoder shows warnings but decodes what it can.
Plaintext → Encode
Allowed: A–Z, 0–9, .,?:. Unsupported → '
Unsupported chars: None
Preview lines: 0
Encoded output
Encoded → Decode
Paste encoded inverted morse; decoder will warn about malformed tokens.
Decode warnings: None
Preview lines: 0
Decoded output
No warnings.
References
Computer vs Paper
Computer Rules (Strict)
A dot (.) is represented by a single space (| |)
A dash (-) is represented by 3 spaces (| |)
The pipe symbol (|) is used to separate dots/dashes
A space between letters is represented by 6 spaces ( )
A space between words is represented by a slash
Each sentence is on a new line
Allowed Symbols are colon, question mark, comma, and a period
All other symbols are replaced with an apostrophe (')
Output will have all letters in uppercase
Numbers are allowed.
Decoding Warnings
The decoder will attempt to decode malformed tokens but will list problems (missing pipes, invalid morse, unknown sequences). Malformed letters are replaced with '.
Paper Rules (Placeholder)
Rule 1 — Placeholder text. Replace this with real paper rules.
Rule 2 — Placeholder text for handwritten formatting or timing.
Rule 3 — Placeholder for layout or spacing rules.
Rule 4 — Placeholder for additional symbols or notation usage.
Rule 5 — Placeholder for how errors or gaps are handled on paper.
Rule 6 — Placeholder for sentence or paragraph separation method.
Notes
These placeholder rules mimic the layout of the computer rules list. Replace
with real paper rules when ready.
Implementation Examples
This image shows an example of how inverted Morse code can be represented on paper, using the specified formatting rules.
Encoded Text:
Decoded Output:
Code & Usage
Download imcgen-v3.js which contains the same encode/decode functions used here. Use the Node.js CLI examples below.