I Tried Out Audio Native, Which Lets You Embed Text-to-Speech Functionality into Web Pages with ElevenLabs

I Tried Out Audio Native, Which Lets You Embed Text-to-Speech Functionality into Web Pages with ElevenLabs

I tried ElevenLabs' text-to-speech service Audio Native in a local environment. Here are the setup steps, pricing, and local testing caveats, based on my implementation experience.
2026.05.18

This page has been translated by machine translation. View original

Hello! I'm Yuji Nishimura from the Operations Team!

I've been curious about ElevenLabs' Audio Native as a service for turning blog posts into audio. I verified how it works in a local environment and organized the setup steps and pricing structure, so here's a summary.

First, here is the demo page I created for this verification. When I pasted the HTML snippet for Audio Native into a Japanese test page prepared locally, ElevenLabs extracted the text and automatically generated audio, and it became playable in the player.

The generated Japanese narration was also quite natural.
https://youtu.be/jq6TkppUlOU

Below I'll go through the steps to reach that state and the pitfalls I ran into.

What is Audio Native

Audio Native is a feature provided by ElevenLabs that automatically converts the body text of a web page into audio and lets it be played in an embedded player. Just by pasting an HTML snippet into an article, ElevenLabs handles everything from text extraction to audio generation.

Main use cases introduced include converting blogs and newsletters into audio, improving accessibility, and catering to demand for listening while doing something else.

Trying it out

Environment

  • ElevenLabs Audio Native (as of May 2026)
  • macOS
  • Latest Chrome
  • cloudflared (for the HTTPS tunnel)

1. Setup steps

Based on the official documentation, the flow for getting started with Audio Native is as follows.

  1. Create an ElevenLabs account and subscribe to a plan
  2. Open "More Tools" → "Audio Native" from the side menu
  3. In the "Settings" tab, choose the Voice and Model to use (Eleven v3, Multilingual v2, Flash v2.5, etc.; available models change over time)
  4. Configure the player's background color, text color, and so on
  5. Register the domain or page URL of the publishing destination in the URL Allowlist
  6. Copy the generated embed code and paste it into the target article
  7. After publishing, it takes a few minutes for the text to be converted to audio

CleanShot 2026-05-18 at 12.04.02@2x

CleanShot 2026-05-18 at 14.42.39@2x
With WordPress, if you set it to "Insert Before Content" via an existing plugin (such as WPCode), it seems you could run it so that the player is automatically inserted every time a new article is published.

2. Notes when verifying locally

The URL Allowlist only accepts HTTPS URLs, so I couldn't register a URL like http://localhost:3000 directly.

Pasted image 20260518145719

So I used the account-free Quick Tunnel feature of Cloudflare Tunnel to expose the local server at an HTTPS URL for verification.

# Start a local server in a separate terminal
npx http-server -p 3000

# Issue an HTTPS URL with Cloudflare Tunnel (no account required)
cloudflared tunnel --url http://localhost:3000
# → https://xxxxxxxx.trycloudflare.com is issued

When I registered the issued HTTPS URL and accessed it, the player displayed correctly, as in the demo above. Since it can be started with a single command and no account, it was handy for trial purposes. The same can be done with ngrok.

Note that the URL issued by Quick Tunnel changes every time it's started, so you need to update the Allowlist for each verification. If you plan to verify continuously, it seems easier to create a Cloudflare account and use a Named Tunnel for a fixed URL, or to prepare a separate custom domain for staging.

3. Checking pricing plans and terms of use

I checked the main plans as of May 2026 on the pricing page (in USD).

Plan Monthly price Monthly credits Commercial use
Free $0 10,000 (about 10 minutes) Not allowed (limited to non-commercial use)
Starter $6 30,000 Allowed
Creator $22 121,000 Allowed
Pro $99 600,000 Allowed
Scale $299 1,800,000 Allowed
Business $990 6,000,000 Allowed

ElevenLabs uses a credit system (in many cases the official guideline is 1 credit ≒ 1 character), and unused credits can be carried over for up to 2 months only while you continue a paid subscription. Note that they expire on downgrade or cancellation.

The dashboard description made it hard to find official text stating which plan or higher can use Audio Native itself, so for the final plan requirements it's safest to refer to the official documentation and the pricing page. At the very least, since the free plan is limited to non-commercial use, embedding it in a public blog presupposes a paid plan (Starter or higher).

4. Switching Voice/Model

You can select the Voice and Model to use from the Settings tab in the dashboard. Even if you change the settings, the embed code stays the same, so there's no need to update anything on the code side.

By default there is a checkbox called "Use default player settings", which is enabled, so you need to turn it OFF.

When enabled, embedded players on these URLs will inherit the default player's styling and settings.

Turning it OFF lets you configure the model and various other settings.
Pasted image 20260518150355

One thing to note when switching Voice/Model is that audio that has already been generated is not replaced automatically.
You need to delete the item generated for the target page shown in Pages.

Pasted image 20260518150701

Bonus: Peeking inside the embed code

From here on is a part you don't need to know in order to actually use it, but I was curious about what's inside the embed script, so I'm summarizing what I found as a supplement.

The embed code distributed in the official guides for each platform (WordPress / Webflow / Ghost / Squarespace / Wix) is almost always in the following format.

embed.html
<div id="elevenlabs-audionative-widget"
     data-height="90"
     data-width="100%"
     data-frameborder="no"
     data-scrolling="no"
     data-publicuserid="YOUR_PUBLIC_USER_ID"
     data-projectid="YOUR_PROJECT_ID">
</div>
<script src="https://elevenlabs.io/player/audioNativeHelper.js"
        type="text/javascript"></script>

Let's download the script and read it.

curl -sL https://elevenlabs.io/player/audioNativeHelper.js -o audioNativeHelper.js
wc -c audioNativeHelper.js
#    3002 audioNativeHelper.js

It's a simple script of just under 3KB, and what it does comes down to the following three points.

  1. Find the div element with the ID #elevenlabs-audionative-widget
  2. Read the data-* attributes and build an iframe (width/height/frameBorder/scrolling go to the iframe's attributes, while publicUserId/projectId/textColor/backgroundColor/small/qa are distributed to the query parameters of the iframe src. The base of the src can be specified with data-playerurl, and the default is https://elevenlabs.io/player)
  3. Replace the original div with the iframe

In other words, the player itself is an iframe running on ElevenLabs' hosting, and the embedding side is just a thin wrapper that calls it.

The script also had processing that receives messages from the iframe via window.addEventListener("message", ...). It defines the behavior that on receiving audioNativeUrlRequest it returns the parent page's window.location.href and favicon information to the iframe, and on receiving audioNativeHideRequest it sets the iframe's height to 0.

audioNativeHelper.js (excerpt of key points)
if (event.data === "audioNativeUrlRequest") {
  const frame = document.getElementById("AudioNativeElevenLabsPlayer");
  // ...
  const message = {
    id: "audioNativeUrlResponse",
    url: window.location.href,
    favicons: [...],
  };
  frame.contentWindow.postMessage(message, "*");
}

if (event.data === "audioNativeHideRequest") {
  const frame = document.getElementById("AudioNativeElevenLabsPlayer");
  frame.height = 0;
}

The URL Allowlist check appears to be implemented so that the iframe side receives the parent page's URL via postMessage and ElevenLabs' side determines whether the domain is allowed. When embedded on a domain that isn't allowed, audioNativeHideRequest is sent and the player hides itself. In fact, if you place the embed code without registering it in the Allowlist, the iframe is generated but its height is 0, so it's invisible.

The customization attributes that can be specified on the embed code's div are as follows.

Attribute (HTML notation) Purpose
data-width / data-height Width and height of the player
data-frameborder / data-scrolling Iframe border and scroll behavior
data-publicuserid Public ID of the account (required)
data-projectid Audio Native project ID
data-textcolor / data-backgroundcolor Text color and background color
data-small Compact display mode
data-playerurl URL of the player itself (default: https://elevenlabs.io/player)
data-qa Flag for QA (no detailed official explanation found)

Colors are passed to the iframe as query parameters, so the implementation lets you override the colors set in the dashboard on a per-page basis.

Discussion of the verification results

The embedding mechanism itself was a lightweight wrapper implementation that just replaces a div with an iframe. Because the main logic is consolidated in the iframe on ElevenLabs' side, the maintenance cost on the site side seems likely to stay small. On the other hand, registering in the URL Allowlist is required for the player to work. If you have staging environments or custom domains for previews, it seems you'll need to register those as well.

Getting caught by the HTTPS requirement during local verification feels directly relevant to designing the test environment before production operation. It can be worked around with an HTTPS tunnel such as Cloudflare Tunnel or ngrok, but with Quick Tunnel-type tools the URL changes every time, so the Allowlist must be re-registered. If you want to run the verification flow continuously, it seems realistic to prepare in advance a setup that can issue a fixed URL (Named Tunnel or a staging domain).

On the pricing side, the free plan's 10,000 credits are said to be equivalent to "about 10 minutes". If a Japanese technical article is 5,000 to 6,000 characters, that works out to being used up with just 1 to 2 articles a month. For real operation, the Creator plan's 121,000 credits (roughly 2 hours) or above seems to be the realistic line.

Impressions after trying it

I felt it was good that once you place one script and one div element in the article template, you can operate it with just the dashboard settings. Depending on the platform, combining it with an automatic insertion mechanism seems likely to make it easy to build audio conversion of new articles into the operating flow.

The Voice/Model combination has a big impact on quality, and in the range I tried, unless it was the combination of a Japanese-compatible Voice and the Eleven v3 model, there were noticeable spots where the speech sounded stilted or the pacing of pauses was unnatural. For Japanese content, it seems safest to choose a native Japanese Voice from the Voice Library and also set the model to Eleven v3.

In the range I tried with the combination of a Japanese-compatible Voice and the Eleven v3 model, my impression is that English technical terms appearing in the body text were also read aloud reasonably naturally. It wasn't perfect, but it wasn't so bad that every English word felt off, and it seemed it could hold up surprisingly well for tech-oriented text.

However, how code blocks and command lines are read aloud needs separate checking. A pronunciation dictionary is officially provided, so there's room to correct the readings of proper nouns and abbreviations; for serious operation, it seems good to check the read-aloud quality on actual content while also tuning the dictionary.

Summary

I checked ElevenLabs Audio Native, focusing on local verification, setup steps, and the pricing structure.

  • The embed is a simple setup consisting of just a lightweight script and one div element
  • By switching Voice/Model in the dashboard, you can swap the playback audio while keeping the same embed code
  • The URL Allowlist accepts only HTTPS URLs. Local verification is done via an HTTPS tunnel such as Cloudflare Tunnel
  • The free plan is limited to non-commercial use, so actual blog operation presupposes Starter or higher (considering the volume of audio generated, around Creator at $22 seems realistic)

I now understand how the embedding works. Next I'd like to examine the behavior and customizability of the pronunciation dictionary.

I hope this is helpful to someone.


Reference links:

Share this article