This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Morse Code Translator

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryUtilities
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Morse Code Translator converts text to Morse code and Morse code back to text. The tool supports all letters (A-Z), numbers (0-9), and common punctuation marks. When you enter text, the tool detects whether you've entered text or Morse code and translates accordingly. A visual timing display shows the dots, dashes, and gaps, making the Morse code structure easy to understand. The audio playback feature plays the Morse code as sound, with adjustable speed. You can copy the translation with one click, and swap input and output to reverse the translation.

WHERE IT RUNS

The extension runs entirely within your browser's local environment using the BotGentz framework. All translation, audio synthesis, and visualization occur on your machine without any network requests. No text data, Morse code, or user activity is ever transmitted, uploaded, or stored externally. The tool works on any website and respects the browser's security boundaries, operating within the isolated extension sandbox. Audio playback uses the Web Audio API for sound synthesis.

HOW TO USE

Click the extension toolbar icon to open the Morse Code Translator panel. Enter text in the input area—the tool automatically detects whether you've entered text or Morse code and translates it. The translated output appears below. Click "Play Morse" to hear the Morse code as audible tones. Click "Copy" to copy the translation to your clipboard. Click "Swap Input/Output" to exchange the input and output, reversing the translation direction. Toggle "Auto translate" to enable or disable automatic translation as you type. Toggle "Show timing visualization" to display a visual representation of dots, dashes, and gaps. Adjust the "Audio Speed" (1-20) to control the playback speed. The timing visualization shows dots as short bars, dashes as long bars, letter gaps as small spaces, and word gaps as larger spaces.

THE MORSE TRANSLATION ENGINE — WHY IT WORKS

Most Morse code translators use fixed lookup tables that convert text to Morse but cannot handle reverse translation. This tool uses bidirectional lookup tables: the morseMap maps characters to Morse code strings, and the textMap is generated by reversing the morseMap, mapping Morse code strings back to characters. When text is entered, the tool detects whether it's text or Morse code by checking if it consists only of dots, dashes, spaces, and slashes. For text-to-Morse translation, each character is looked up in the morseMap and the resulting codes are joined with spaces between letters and " / " between words. For Morse-to-text translation, the input is split by " / " to separate words, then by spaces to separate letters, and each code is looked up in the textMap. The audio playback synthesizes tones using the Web Audio API with dot duration controlled by the audio speed setting, generating sine waves with appropriate timing for dots, dashes, and gaps. The timing visualization renders each segment as colored bars proportional to their duration.

THE PANEL

The Morse Code Translator panel is fully draggable by its title bar and remembers its position on screen per website. It snaps to the edges of your browser window for clean alignment. Collapse the panel to a compact icon strip using the minimize button, restoring it with a single click. Resize the panel by dragging any edge or corner; the input area, translation output, and timing visualization adjust proportionally. Press the Escape key to close the panel instantly. The panel maintains independent state for each browser tab, allowing you to translate Morse code in multiple tabs simultaneously.

PLEASE NOTE

This extension requires the free BotGentz extension framework to be installed and enabled. The tool supports standard International Morse code; it does not support American Morse or other variants. Punctuation support is limited to commonly used symbols. Audio playback requires user interaction with the page first (due to browser autoplay policies). The timing visualization is approximate and intended for educational purposes. All translation data is processed locally and is never transmitted, logged, or shared. The extension requests no network permissions and functions entirely offline. The source code is fully auditable and available for review.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.