OfflaneAI

Text to speech —
natural voices, generated on your device

Paste text, pick one of 10 voices and get 44.1 kHz audio — best in English, with 30 more languages in beta. The AI model runs in your browser — your text is never uploaded. Free, unlimited, no sign-up.

  • 🔒 Text never leaves your computer
  • 🌍 31 languages, 10 voices
  • 🎧 MP3 and WAV download
  • 💸 Free and unlimited

Loading the tool… (JavaScript required)

How does it work?

The page downloads Supertonic 3 — an open-weight, 99-million-parameter text-to-speech model — once (about 380 MB, cached by your browser) and runs it with ONNX Runtime inside the tab. The model predicts the timing of your text, turns it into a compact audio representation with a few denoising steps, and a neural vocoder renders 44.1 kHz audio. Nothing is sent anywhere; after the first load it even works offline.

Which languages and voices?

31 languages including English, Spanish, Portuguese, French, German, Italian, Polish, Russian, Ukrainian, Turkish, Arabic, Hindi, Japanese and Korean, with 5 female and 5 male voices. The same voice can read any supported language. English sounds the most natural; other languages are in beta.

Can I use the audio commercially?

Yes. The model is released under the OpenRAIL-M license, which allows commercial use but prohibits harmful uses such as impersonating real people, deceiving listeners, or generating illegal content. You are responsible for how you use the output; see our Terms.

How to turn text into speech

  1. Pick “Language”. The list starts on your browser’s language if the model supports it, otherwise on English.
  2. Pick “Voice”. There are 5 female and 5 male voices. A one-line description of the selected voice appears under the list.
  3. Set “Speed”. The slider goes from 0.70× to 1.50×; 1.00× is the natural pace.
  4. Type or paste the text. Up to 5,000 characters fit in one run, and the counter under the box shows how many you have used. “Insert sample text” fills in a short demo paragraph.
  5. Press “🔊 Generate speech”. The first use downloads the voice model (about 380 MB) once. Playback begins while the later parts are still being generated. “Stop” cancels the run.
  6. Download. Use “Download MP3” or “Download WAV”. The player under the buttons replays the whole result from the start.

The ten voices

VoiceCharacter
Female 1 · calmCalm, slightly low tone; steady and composed
Female 2 · brightBright, cheerful, playful and youthful
Female 3 · announcerClear, professional, broadcast-ready
Female 4 · confidentCrisp and confident, expressive delivery
Female 5 · gentleKind, soft-spoken, naturally soothing
Male 1 · upbeatLively and upbeat with a clear standard tone
Male 2 · deepDeep, calm, serious, grounded
Male 3 · authoritativePolished and trustworthy, presentation quality
Male 4 · friendlySoft, neutral, youthful and approachable
Male 5 · storytellerWarm, soft-spoken, natural storytelling

Female 1 · calm is selected when the page opens. Every voice can read every language in the list, so one narrator can cover a multilingual project.

Matching a voice to the job

Female 3 · announcer and Male 3 · authoritative are the most neutral choices for tutorials, product videos and presentations. Male 5 · storyteller and Female 5 · gentle are easier on the ear over many minutes. Female 2 · bright and Male 1 · upbeat carry short, energetic clips. Listen to the same 2 sentences in 3 or 4 voices before you generate a long script.

What cannot be changed about a voice

The voices are fixed. You cannot clone a voice, upload a sample or adjust the pitch. For a lower, higher or stylised version of the result, run the downloaded file through the voice changer.

Languages and the language setting

The model reads 31 languages: English, Russian, Ukrainian, Spanish, Portuguese, French, German, Italian, Polish, Turkish, Dutch, Swedish, Danish, Finnish, Czech, Slovak, Slovenian, Croatian, Romanian, Hungarian, Bulgarian, Greek, Estonian, Latvian, Lithuanian, Arabic, Hindi, Indonesian, Vietnamese, Japanese and Korean.

Why the setting matters

The language you select is passed to the model together with the text. It decides which pronunciation rules are applied. With the wrong language selected, words are read by the wrong rules and the result sounds accented or garbled.

Auto / mixed

The last entry, “Auto / mixed (language-agnostic)”, lets the model work without a language hint. Use it for text that mixes languages in one passage, or when you are unsure. For text in one known language, a fixed setting is more reliable.

Beta languages

For every language except English, Japanese and Korean the tool shows a warning: the language is supported but less natural, with occasional stress or pronunciation slips. Generate one paragraph of your real script and listen before you commit to a long project.

Writing text that reads well

Punctuation sets the pace

Commas give a short break and full stops a longer one. A question mark changes the melody of the sentence. If the text does not end with punctuation, a full stop is added automatically.

Paragraphs and long text

Long text is read in parts of up to about 300 characters, or 120 for Japanese and Korean, split at sentence ends. A blank line always starts a new part. Parts are joined with a pause of 0.3 seconds. A single line break inside a paragraph is treated as a space.

Symbols and abbreviations

Before the text reaches the model, the page tidies it:

  • emoji are removed;
  • the at sign is read as “at”;
  • “e.g.,” becomes “for example,” and “i.e.,” becomes “that is,”;
  • square brackets, slashes, hash signs, vertical bars and underscores become spaces;
  • typographic quotes and dashes are replaced with plain ones.

Anything else is left to the model. Write units, dates and acronyms the way you want to hear them: “kilometres per hour”, not “km/h”, because the slash is dropped.

Expression tags

3 tags can be typed inline where the sound should occur: <laugh>, <breath> and <sigh>. There is no other markup: no emphasis on single words and no pauses of a chosen length.

Speed and Quality

Speed

Speed changes the duration the model plans for each sentence. It is not a stretch applied afterwards, so the voice keeps its natural pitch at 0.70× and at 1.50×. The tool’s own hint: 1.0× is natural, 1.1–1.2× is brisk narration.

Quality

Open “Advanced” to find “Quality”, a slider from 4 to 12 steps with 8 as the model’s default. The model refines the audio in that many passes. More steps give cleaner sound and take proportionally longer.

Settings by purpose

PurposeVoiceSpeedQuality
Tutorial or explainer narrationFemale 3 · announcer or Male 3 · authoritative1.00–1.10×8 steps
Audiobook chapter, long articleMale 5 · storyteller or Female 5 · gentle0.95–1.00×8 steps
Short social videoFemale 2 · bright or Male 1 · upbeat1.10–1.20×8 steps
Proof-listening your own draftAny1.20–1.50×4–6 steps
Final take for publishingYour chosen voiceYour chosen speed10–12 steps
Dictation practice, language learningAny0.70–0.85×8 steps

MP3 or WAV

MP3WAV
Encoding128 kbps16-bit, lossless
SoundMono, 44.1 kHzMono, 44.1 kHz
Size per minuteAbout 1 MBAbout 5.3 MB
Use it forSharing, phones, websitesVideo editors, DAWs, further processing

The loudness of every result is normalised to a peak of about −1 dB, so all 10 voices come out equally loud and nothing clips. Files are named after the voice and language, for example offlaneai-f1-en.mp3.

Texts longer than 5,000 characters

5,000 characters are roughly 800 English words. For a longer script:

  1. Split it at chapter or paragraph boundaries into pieces under the limit.
  2. Generate each piece with the same voice, speed and quality, and download WAV.
  3. Join the files in order with the audio joiner, with a short pause between tracks, and export once as MP3.

Two runs of the same text are never identical, because each generation starts from random noise. Intonation differs slightly from run to run, so a sentence that sounds odd often comes out better on a second attempt.

Using the audio in a project

Voice-over for a video

Import the WAV into your editor. For matching captions, run the generated audio through the transcription tool and download the .srt; the timing then follows the speech exactly.

Fixing one sentence

If a sentence came out oddly, you do not need to regenerate everything. Generate that sentence alone, cut the bad one out with the audio cutter and join the pieces.

Listening on the go

MP3 at 128 kbps plays on any phone or car stereo, and a full 5,000-character run stays under 10 MB.

Speed on your device

On a mid-range laptop GPU, 30 seconds of speech were produced in 5.9 seconds on the second run. The first run after opening the page takes about 10 seconds longer while the model warms up, in addition to the one-time download.

GPU and CPU

On computers with WebGPU the tool uses the graphics card. On phones and tablets it uses the processor even when WebGPU exists, because phone browsers tend to drop the GPU in the middle of a job. CPU mode is slower, and a long text can take longer to generate than to listen to. Since playback starts after the first part, you can listen while the rest is produced.

The Compute switch

“Advanced” contains “Compute” with 2 options, GPU (WebGPU) and CPU (WebAssembly). Switch to CPU if the GPU output sounds broken or the page crashes. Changing it reloads the model from the browser cache, not from the network. The header of “Advanced” shows the detected graphics card and the number of CPU threads in use.

Automatic recovery

If multithreaded mode fails in your browser, the tool retries single-threaded. If the GPU fails, it repeats the job on CPU. Both cases are announced in a notice above the progress bar.

What the speech generator does not do

  • No voice cloning and no custom voices. Only the 10 built-in voices.
  • No fine control. No per-word emphasis, no pitch setting, no pronunciation dictionary.
  • No stereo. Output is always mono.
  • No partial regeneration. Any change means generating the whole text again.
  • No reading of documents. Paste plain text; PDF and Word files are not opened.
  • No more than 5,000 characters per run. Text beyond the limit is not accepted into the box.

Files, cache and your text

The model arrives as 4 ONNX files from Hugging Face, the largest of them the part that generates the sound. Each of the 10 voices is a small style file fetched the first time you select that voice. Everything is kept in the browser’s cache storage, so a file that has finished downloading is not requested again, even if the first download was interrupted halfway through the set.

The text you type is processed in a background thread of the tab. Scripts under embargo, private letters or study notes are not sent to a speech service. While audio is being generated, the page asks the browser to keep the screen awake so a phone does not suspend the tab.

Troubleshooting speech generation

A word is pronounced wrongly

Check that “Language” matches the text. Then respell the word the way it sounds, split it with a hyphen, or write numbers and abbreviations out in full.

The voice has a foreign accent

The language setting does not match the text. Select the language the text is written in, or “Auto / mixed” for passages that combine several.

The audio is garbled or the tab crashes

Open “Advanced” and set “Compute” to CPU, or press “Retry in CPU mode” when the error box offers it.

The first download stops

About 380 MB have to arrive. Keep the tab open, and if the download fails press “🔊 Generate speech” again: files that already finished come from the cache.

“MP3 encoding failed on this device — the WAV download still works.”

Download the WAV and turn it into MP3 with the audio converter.

The preview keeps talking after the result is ready

The live preview plays to the end of the text. Pressing play on the player under the buttons stops the preview and starts the finished file from the beginning.