Multi-Voice Dialogue Text to Speech
Write a scene as NAME: line, give each character a voice, speed, volume and left-right position, then generate and download one mixed audio file.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Write the script
Type or paste lines as NAME: words; add [pause 2] or (beat) for silence.
- 2Check the cast
Each speaker appears in Cast; choose a voice, speed, volume and stereo position.
- 3Set the rhythm
Adjust the gap between lines, negative for interruptions.
- 4Load the voices
Press Download the voices once (about 90 MB, cached afterwards).
- 5Generate
Press Generate dialogue and play the result, or play from any line in the list.
- 6Download
Save MP3 or WAV, and the SRT or VTT captions with speaker names.
About this tool
Most text to speech tools read one block of text in one voice. Dialogue needs more: an audio drama, a language-learning conversation, a podcast sketch, a training role-play or a game prototype has two or more people taking turns, with a beat of silence here and there. Doing that by hand means generating every line separately and lining up dozens of clips in an audio editor. This tool takes a plain script and does it in one go. Each line starts with a speaker's name and a colon; lines without a name continue the previous speaker, notes in brackets such as (laughs) are skipped, and [pause 2] or (beat) inserts silence. Every new name gets its own voice automatically, alternating female and male voices and spreading characters slightly left and right in the stereo picture, and you can change any of that in the Cast panel: 24 English voices with American and British accents, speed from 0.6x to 1.6x, volume and position from left to right. The speech is produced by Kokoro-82M, an open model with natural intonation, which runs inside your browser: about 90 MB is downloaded once from Hugging Face and cached, using WebGPU when your browser has it and the processor otherwise. Your script is never sent to a server. Generated lines are remembered, so after you fix one line or change one voice, only that part is spoken again. The result plays in the page, downloads as WAV or MP3, and comes with SRT and WebVTT captions that carry the speaker names and exact timings.
Writing a script that sounds good
Write lines the way people speak: short sentences, contractions and punctuation. Commas and full stops create natural breathing points; a question mark changes the melody. Spell out unusual abbreviations, or write them as they sound. Use (beat) for a short hesitation and [pause 2] for a scene change. Names are case-insensitive, so ANNA, Anna and anna are the same person.
Timing and mixing
The gap slider sets the silence between lines. A small negative gap makes a speaker start before the previous one finishes, which sounds like an interruption. The mix is normalised so that overlapping voices do not clip. Stereo positions are subtle by default so the result still works on a phone speaker.
Captions
SRT and VTT files list each line with the speaker's name, so you can add the audio to a video and upload the captions alongside it, or use them as a transcript.
Limits
The voices speak English; other languages will be read with English pronunciation and do not sound right. Emotion is guided only by punctuation and wording, not by tags like angry or whispering. The first generation needs the 90 MB model and can take one to three seconds of work per line without WebGPU. Do not use the voices to impersonate a real person or to mislead listeners; label synthetic speech where it matters.
Worked example
The five-line café scene from Sample scene, with NARRATOR, MAYA and SAM, is loaded. The Cast panel assigns George (UK, male) to the narrator in the centre, Heart (US, female) to Maya at 35 % left and Michael (US, male) to Sam at 35 % right. With a 0.35 s gap and one [pause 1], the estimate is 18 seconds. On a laptop without WebGPU the first run takes about 15 seconds after the model download. Changing Sam's speed to 1.1x re-speaks only his two lines; the MP3 at 160 kbit/s is about 370 KB and the SRT has five captions.
Quick facts
- Category: Audio, Video & Design
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Kokoro-82M v1.0 text-to-speech model (hexgrad, Apache-2.0) and kokoro-js; W3C WebVTT for captions
Frequently asked questions
Is my script sent to an online text to speech service?
No. The model file comes from Hugging Face once and is then cached; the speech is generated on your own device and the script stays there.
How many speakers can I use?
As many as you like. There are 24 voices, so with more characters some share a voice; give them a different speed, volume or stereo position to tell them apart.
Can it speak languages other than English?
Not well. The voices are trained on English. Words in other languages will be pronounced as if they were English.
Can I use the audio in a video or podcast?
The Kokoro model is released under the Apache-2.0 licence, which allows commercial use. You are responsible for your script, and you should say that voices are synthetic where listeners might assume a real person.
Why is the first generation slow?
The model is downloaded and prepared first. Later lines and later visits are faster, and browsers with WebGPU are several times quicker than the processor-only mode.
How do I make one character interrupt another?
Set the gap between lines below zero, for example -0.2 s, so the next line starts before the previous one ends.
