Convert text to Morse code and decode Morse to text
Morse code represents letters and numbers using sequences of dots (.) and dashes (-). Invented for telegraphy, it's still used in aviation, amateur radio, and emergency signaling. Each character has a unique pattern: A = .-, B = -..., SOS = ... --- ... (the universal distress signal).