unlimitedtts

How to Add Text to Speech to Your Website for Free (Embed Code, No Plugin)

By Chris Graney-Ward ·

Short answer: to add text to speech to a website for free, open the Unlimited TTS reader, paste the text you want read aloud, choose a language and voice, and press Embed. That copies a short HTML snippet: an iframe player plus a one-line credit. Paste it into any page that accepts HTML, such as a WordPress Custom HTML block. Visitors can press play without an account, a plugin or an API key.

Audio versions of a page help people who would rather listen than read: commuters, people with dyslexia or low vision, language learners, and anyone reading on a small screen. Most text-to-speech widgets need a plugin, a script on every page, or a paid plan. The Unlimited TTS embed is a single snippet you paste where you want the player to appear.

What is a text to speech embed?

Text to speech embed: a small player, placed on your page with an HTML snippet, that reads a chosen text aloud to your visitors when they press play.

The Unlimited TTS player shows a play button, a progress bar, the voice choice and a transcript of the text. It runs inside an iframe, so it does not change your page's own code or styles.

How to add a text to speech player to your website

  1. Paste your text. Open unlimitedtts.com and paste the article, announcement or passage you want read aloud.
  2. Choose the language and voice. Pick Quick voices for instant playback on every device, or a Natural AI voice for a more lifelike sound.
  3. Press Embed. The Embed button, next to Share, copies the player code to your clipboard.
  4. Paste the code into your page. Add it where the player should appear, in an HTML block or your page's HTML source.
  5. Publish and test. Open the live page, press play, and check the player fits your layout.

What the embed code looks like

The copied snippet is two lines: the player, and a plain credit line underneath it.

<iframe src="https://unlimitedtts.com/embed/#text=…" width="480" height="270" frameborder="0" allowfullscreen title="Unlimited TTS Player"></iframe>
<p>Text to speech by <a href="https://unlimitedtts.com/">UnlimitedTTS</a></p>

The text and voice settings are compressed into the part of the address after #. The credit line is optional and is the only link the embed adds to your page: the player itself contains no links. Keeping it helps other people find the tool, and we appreciate it.

Where to paste it

PlatformWhere the code goes
WordPress (block editor)Add a Custom HTML block and paste the code
WordPress (classic editor)Switch to the Text tab and paste where the player should appear
GhostAdd an HTML card
SquarespaceAdd a Code block
WixUse Embed code and choose the HTML option
Hand-written HTMLPaste it into the page body

Some hosted platforms and forums strip iframes from posts. If the player does not appear, check whether your plan or editor allows embedded HTML.

Size and layout

The snippet uses 480 by 270 pixels, and the player is built to fit frames as narrow as 320 pixels. To make it fill a column, change the width, for example to width="100%", and keep the height at 270 so the controls have room.

What your visitors get

  • Free playback with no account. Visitors press play; there is nothing to install or sign up for.
  • A choice of voices. Visitors can switch between Quick voices and Natural AI voices in the player.
  • A transcript. The text is shown in the player, so people can read along.
  • Audio download with Natural voices. Visitors who choose a Natural voice can save the speech as a WAV file.

Things to know before you embed

  • Quick voices sound different on each device. They use each visitor's own system voices, so a Windows laptop and an Android phone will not sound the same. Natural voices sound the same everywhere they run.
  • Natural voices download once. The first time a visitor chooses a Natural voice, their browser asks before downloading the voice model. After that it runs on their device. On iPhone and iPad, Natural voices often cannot run, and the player says so.
  • Length is limited. The text has to fit in the embed address: about 10,000 characters of compressed text, or roughly 12,000 to 15,000 characters of English. For longer pieces, embed a summary or one section per player.
  • The player does not update itself. The text is fixed when you copy the code. If you edit your article, make a new embed.

Privacy for you and your visitors

Because the text sits after the # in the player address, visitors' browsers do not send it to our servers when the player loads, and it is not recorded by analytics or session recordings. The text is, of course, visible in your page's source, like the rest of your page. With Quick and Natural voices the speech is generated on each visitor's device.

The player does load Google Analytics and Microsoft Clarity. Among other things, they record whether the player is inside a frame and the host name of the site that embeds it, never the page path or the text. Read more in how private share links work and in our privacy policy.

Frequently asked questions

How do I add text to speech to my website for free?

Paste your text into the Unlimited TTS reader, choose a voice, press Embed and paste the copied code into your page. There is no plugin, account or API key.

Does the embed work with WordPress?

Yes. Paste the code into a Custom HTML block in the block editor, or into the Text tab of the classic editor.

Can I make the player read the whole page automatically?

No. The player reads the text you chose when you made the embed code, and only when a visitor presses play. It does not scan your page or play on its own.

Do I have to keep the credit link?

No, the credit line under the player is optional. Keeping it is appreciated, and it is the only link the embed adds to your page.

Does the embed slow down my page?

The player is a single iframe that loads separately from your page. The Natural voice model downloads only if a visitor chooses a Natural voice and agrees to the download.

Can visitors download the audio?

Yes, when they choose a Natural voice. The audio is saved as a WAV file and marked as AI-generated in its metadata.

Make your first player now: open the free text to speech reader, paste a paragraph and press Embed. Want your audio to sound more human first? Add laughs, sighs and breaths with expression tags.