tools / tts
tts/
Text to speech with your browser's built-in speech synthesis. Long text is queued sentence by sentence, with the current sentence highlighted.
Text
Progress
The browser speech synthesis API doesn't expose audio data, so audio files can't be exported. To keep the audio, record it with your system's recorder. Available voices depend on your OS and browser. Voices marked "(online)" are synthesized in the browser vendor's cloud, so the text is sent to their servers; pick a local voice for sensitive content.
What is text-to-speech
Text-to-speech (TTS) is the technology that turns written text into spoken audio. This page uses the browser’s built-in Web Speech API with voices provided by the operating system and the browser, splits long text into sentences at sentence-ending punctuation, splits sentences longer than 160 characters again, and reads them aloud one after another.
How it works: where the voice comes from and how long text is split
The page does not generate audio itself; it hands each sentence to the browser through the speechSynthesis interface. The available voices come with the operating system and the browser, so different devices offer different voices. Voices marked “online” are synthesized in the browser vendor’s cloud, and the text being read is sent to the vendor.
- Cut at sentence-ending punctuation: the Chinese 。!?;…, the English ! ? ;, and line breaks.
- An English period ends a sentence only when it is followed by a space or the end of the text, so a decimal such as 1.5 is not split.
- Closing quotation marks, closing parentheses and further sentence-ending punctuation right after the end stay in the same sentence.
- If a sentence is longer than 160 characters, it is cut after the last comma, enumeration comma, colon or space within the first 160 characters; if that point is before one third of 160, it is cut right at the 160th character.
Example
This English text is split into three sentences by the rules above, one per line: the period in 1.5 is not followed by a space, so it does not end a sentence; the last sentence has no punctuation but still stands on its own.
- Input
- Version 1.5 is out. Try it now! Done
- Output
Version 1.5 is out. Try it now! Done
Sources
FAQ
Can I export the speech as an MP3 or another audio file?
No. The tool uses the browser's built-in speech synthesis interface, which only plays the sound and does not hand over any audio data, so there is nothing to export. If you need an audio file, the only option is to record the playback with your system's audio or screen recording feature.
What if the voice list has no English voice, or not the one I want?
The voices in the list come entirely from your operating system and browser, and the tool cannot add any. If the system has no English voice, the page shows "No English voice found on this system". Download one in your system's speech or accessibility settings, then reopen the page. The list does not separate male and female voices, so try them one by one if it matters.
What if the voice menu stays on "Loading…" or says speech synthesis isn't supported?
The first case usually means the browser has not returned its voice list yet. The tool waits up to about 5 seconds, then falls back to the system default voice with a notice, and playing normally still works. The second case means this browser has no speech synthesis at all; switch to the latest Chrome, Edge or Safari.
What does "(online)" next to a voice mean, and is my text uploaded?
Voices marked "(online)" are synthesized in the cloud by the browser vendor, so the text being read is sent to their servers; voices without the mark are local and the text stays on your device. The tool itself neither uploads nor saves what you type. For private text, pick a voice without the "(online)" mark.
Why doesn't a change to speed or pitch take effect right away?
A slider change made during playback applies from the next sentence: each sentence is handed to the browser separately, and its settings are fixed when that sentence starts. To hear it immediately, click "Play from start", or click a sentence in the progress panel to restart from there. Speed ranges from 0.5 to 2 times, pitch from 0 to 2, and volume from 0 to 100%. Editing the text while it is playing stops playback.
Why do some pauses sound unnatural when reading long text?
Usually that sentence is too long and lacks punctuation. A sentence over 160 characters is split again at commas, colons or spaces; a long sentence with no good break point is cut at a fixed length, which sounds unnatural, so adding punctuation to the text helps a lot. This is done because some browsers cut off a single utterance after about 15 seconds.
How do I start from the middle, and how do I resume after pausing?
Click any sentence in the "Progress" panel on the right and reading starts from that sentence. While playing, "Pause" pauses and the button turns into "Resume"; "Stop" returns to the idle state, and "Play" then starts from the beginning. If a sentence fails to read, the page shows the error and skips to the next sentence.