Free • Responsive • No tracking

Embed our translator

Add a working Morse code translator to your blog, classroom site, or wiki with a single iframe. It is free, needs no API key, and sets no cookies.

One-line embed

<iframe
  src="https://morsecodegenerator.com/embed"
  title="Morse code translator"
  style="width:100%;height:520px;border:0;border-radius:14px;"
  loading="lazy"
  referrerpolicy="strict-origin-when-cross-origin"
></iframe>

Options (URL parameters)

ParameterValuesWhat it does
theme light Forces the light or dark palette. Leave it off and the widget follows the visitor's own system setting, because an iframe cannot read the colours of the page around it.
q HELLO Preloads the input box. URL-encode spaces, for example ?q=HELLO%20WORLD.
compact 1 Shorter text boxes for tight sidebars; drop the iframe height to about 380 px to match.

The older address /embed.html still works and keeps its parameters — it redirects here — so embeds already on other sites do not need changing.

How it behaves

Privacy and performance

The widget runs entirely in the visitor's browser. It sets no cookies, loads no analytics or advertising scripts, and never sends what your visitors type anywhere — the conversion happens locally after it fetches the Morse character table as a small JSON file. That means it adds no consent obligations to your page, and it keeps working for a visitor who blocks third-party scripts.

Prefer to build your own? The same character table is documented on the data endpoint page and is free to use.

Classroom and blog ideas

Live preview

Attribution

The widget includes a small "Powered by MorseCodeGenerator.com" link. If you remove the iframe branding, please credit us elsewhere on the page.