Text to Speech

Published Updated

Hear any text read aloud by the voices installed on your device, at 0.5x to 2x speed and a pitch from 0 to 2. The speech plays in the page; no audio file is saved.

It speaks the text; it does not make a file

This reader passes your text to the speech voices built into your browser and operating system, and you hear it through your speakers. Nothing is recorded. If you need an MP3 for a podcast or a video voice-over, this is the wrong tool.

Where it shines is listening: proofreading by ear catches a doubled word or a missing one faster than reading again, and a draft speech heard aloud shows where sentences run too long. Text of any length can be pasted. The reader cuts it at sentence ends (a full stop followed by a space, a question mark, an exclamation mark, or the full-width 。!? used in Chinese and Japanese), leaves common abbreviations, decimals and web addresses whole, splits any sentence over 200 characters at a space or a clause mark, and queues the pieces so they play one after another.

The controls and their limits

The sliders cover a narrower span than the browser allows, which keeps every setting understandable:

ControlIn this readerBehind it
Speed0.5x to 2x in steps of 0.1, starting at 1xThe API accepts 0.1 to 10, where 2 is twice as fast; voices may narrow that (MDN: rate)
Pitch0 to 2 in steps of 0.1, starting at 11 is the voice's normal pitch (MDN: pitch)
VoiceOn-device voices only, shown as name and language codeFirst voice in the list is selected when the page loads
TextNo length capQueued in sentences of up to 200 characters
Saving audioNot possibleSpeechSynthesis has no method that returns sound

Why network voices are hidden

Browsers report for every voice whether a local or a remote speech service supplies it, through a flag called localService. The reader keeps only the local ones. A remote voice can sound more natural, but it works by uploading the words you paste.

How many voices remain depends on the device. In a check with Google Chrome 156 on macOS, the browser listed 199 voices; the 19 named Google, such as Google US English, were remote, and the other 180 covered 49 language codes.

Where the text is cut, tested on fixed samples

We ran the reader's own text splitter (lib/textToSpeech.ts, splitTextIntoChunks) in Node 22.23.1 on fixed samples and looked at the pieces. We played no sound, so how each cut sounds is not tested; each piece is queued as its own utterance.

TextPieces it was cut into
Dr. Smith met Mr. Jones at 3.30 p.m. on Main St. They talked.1 piece of 61 characters. The dots in Dr., Mr., p.m. and St. are not cuts, so the two sentences stay together.
The value of pi is 3.14159. See example.com/page.html for more. Done!3 pieces: The value of pi is 3.14159. | See example.com/page.html for more. | Done!
The words Milk, Eggs, Bread and Butter on four separate lines, with no punctuation1 piece of 22 characters; a line break is not a cut.
Forty Japanese sentences ending in the Japanese full stop, 520 characters40 pieces of 13 characters, one per sentence.
Fifty repeats of a Japanese clause ending in 、 with no full stop, 550 characters3 pieces of 198, 198 and 154 characters, each cut after a 、.

A cut at a full stop needs a space or the end of the text after it, so decimals and web addresses stay whole. A short list of common English abbreviations and single-letter initials is also skipped, which means two sentences can end up in one piece when one ends in such an abbreviation (as with St. above); abbreviations that are not on the list can still start a new piece. Put a full stop at the end of each list line if you want a pause between lines. Text with none of these marks is cut at a space or after a clause mark such as 、 or a comma once it passes 200 characters. A test file of 6,500,000 characters was cut into 130,000 pieces in 654 ms in Node, in one run.

The same Mac, three different voice lists

We loaded this reader's voice filter (getLocalVoices) in three engines on one Mac and counted what each browser reported, without speaking anything: Chromium 153.0.8010.12 (the build that ships with Playwright, headless, not Google Chrome), Firefox 155.0 and Playwright's WebKit build (user agent Version/26.6, not the Safari app). In all three, the first call returned an empty list and the voices arrived afterwards.

EngineVoices reportedOn-deviceNetworkLanguage codes among on-device voices
Chromium 153180180049
Firefox 1555353049
WebKit 26.67070049

The Chromium build here reported no Google voices, which is what the 19 network voices in the Chrome 156 check above were, so its list is the same 180 on-device voices. The same system's voices appear in different numbers in each browser, so a voice you see in one may be missing in another.

Listening to your text

  1. Step 1

    Paste the text

    Type or paste into the box. Long text is fine: it is queued in pieces of up to 200 characters, cut at the end of each sentence.

  2. Step 2

    Pick a voice, speed and pitch

    The menu lists only voices your device runs itself. Speed goes from 0.5x to 2x and pitch from 0 to 2, both in steps of 0.1.

  3. Step 3

    Play, pause or stop

    Pause keeps your place and Resume carries on. Stop empties the queue, and new settings apply from the next Play.

Good fits, and better tools nearby

  • Checking how long a talk will run: Word Counter estimates speaking time at 130 words per minute.
  • Seeing exactly what you changed after a listening pass: Compare Text marks the edited words.
  • Testing whether readers will find the text easy going: Readability Checker.

Questions about the reader

Can I download the speech as an MP3?

No. The browser speech engine this reader uses sends sound to your speakers and hands the page no audio data to save. Its interface has only speak, pause, resume, cancel and a voice list, so an audio file needs a different kind of text to speech service.

Why are some voices missing from the menu?

Only voices the browser marks as on-device are listed. Network voices, which pass the text to an online service to be spoken, are left out on purpose. In Chrome 156 on a Mac, 19 of the 199 voices were Google network voices, so the menu showed the remaining 180.

What if it says no on-device voices were found?

Then the browser offered only network voices, or none at all, and Play stays disabled. Try another browser, or add a voice in your operating system's speech settings and reload the page.

Why does moving the speed slider during playback change nothing?

All sentences are queued with the settings that were set when you pressed Play. Press Stop, move the slider and press Play again; reading starts over from the top.

Can it read Spanish, Hindi or Japanese?

Yes, when a voice for that language is installed. The reader does not detect the language of your text, so choose a voice whose code matches, such as es-ES or ja-JP. An English voice reading Spanish words mispronounces most of them.

Is the text sent to a server?

Not with the voices this page offers, since all of them run on your device. That is exactly why network voices are hidden: picking one would send your text to its provider.

Does it pause after Dr. or inside a number with a decimal point?

The splitter does not cut there: a full stop counts as a sentence end only when a space follows it and it is not part of a common abbreviation such as Dr., Mr. or e.g., an initial, a decimal or a web address. In our test of the splitter in Node, Dr. Smith, 3.14159 and example.com each stayed in one piece. We did not listen to the result, and an abbreviation that is not on its list can still start a new piece.

Related Tools