Text to speech (TTS) is a technology that converts written text into spoken audio. In a browser, the page sends text to a speech-synthesis interface, the browser or operating system supplies a voice, and a speech engine renders the result as audio you hear on the device. This is the reverse of speech-to-text: one starts with writing and produces sound.

The Lizely Text To Speech utility follows that browser model with a deliberately narrow scope: plain text stays in the current tab and is passed only to the local browser speech interface; Lizely does not upload or store it. The output is direct playback rather than a portable audio file, so it is intended for listening tasks instead of a recording workflow.

text to speech explained
Text to Speech Explained: From Text to Audio

How Browser Text to Speech Produces Sound

At the implementation level, browser TTS separates each spoken request from the playback controller. For every chunk, the page creates a SpeechSynthesisUtterance containing the text and applies the available voice, rate, and pitch choices. The SpeechSynthesis interface manages the engine and its queue. The MDN SpeechSynthesis reference and MDN SpeechSynthesisUtterance reference describe these browser interfaces, while actual voices and behavior come from the current browser and operating system.

Longer passages are not sent as one huge utterance. The tool rejects blank text, null characters, and input above 20,000 UTF-16 code units. It normalizes line endings and repeated horizontal spaces, but it does not rewrite words or punctuation. The prepared text is split into chunks of no more than 220 UTF-16 code units. The splitter prefers a sentence boundary, then a clause boundary, then a space, and finally a hard boundary for an unusually long unbroken token. Bounded requests help prevent the inconsistent behavior some browser engines show with very long input.

Each Speak action cancels any older queue created by the widget and queues the current chunks in order. A generation number keeps callbacks from an older stopped reading from overwriting the status of a newer one. Editing the text or a setting stops the active queue, and removing the widget also cancels queued speech. These details explain why the displayed status stays connected to the current input rather than a previous reading.

Read a Passage with Text To Speech

Use the browser workflow when you want to hear plain text with a voice supplied by your device.

  1. Open the Text To Speech tool and type or paste the passage you want to hear. Keep the input within 20,000 UTF-16 code units; blank text, null characters, and over-limit input are rejected.
  2. If the platform reports available voices, choose one. Voice names, languages, accents, and pronunciation depend on the browser and operating system. If the browser exposes no explicit list, there is no manual voice choice to make.
  3. Adjust the rate or pitch if needed. Both controls accept an inclusive range from 0.5 through 2.0. Treat them as synthesis controls rather than measured words per minute, musical intervals, or accessibility certifications.
  4. Select Speak. The browser may require a direct user gesture before producing audio. The current chunks are queued in order, and a rejected voice or playback failure is reported as an error rather than being presented as completed speech.
  5. Use Pause to suspend playback, Resume to continue, and Stop to cancel the widget’s active speech queue. Pause and resume are delegated to the same browser engine.
  6. To correct or replace the passage, edit the text. An edit stops the active queue, so you can select Speak again to begin a fresh reading of the revised input.

Selecting Speak again does not layer a new widget reading on top of an older one, because the previous queue created by the tool is cancelled before the current chunks are queued.

Inputs, Controls, and Output Boundaries

The following values describe the tool’s defined behavior rather than guarantees about how every voice will sound. They also show where browser TTS differs from services designed to create reusable media files.

Feature Defined behavior Practical effect
Input Plain text with a maximum of 20,000 UTF-16 code units Blank input, null characters, and over-limit text are rejected.
Text preparation Line endings and repeated horizontal spaces are normalized; words and punctuation are not rewritten Formatting may change, but the tool does not edit your wording.
Speech chunks No more than 220 UTF-16 code units each, using sentence, clause, space, and hard boundaries in that order The browser receives bounded requests instead of one exceptionally large utterance.
Voice A voice exposed by the current browser and operating system Names, languages, accents, quality, and pronunciation can vary by device.
Rate 0.5× through 2.0× This is a speech-engine control, not a measured words-per-minute value.
Pitch 0.5 through 2.0 This is a speech-engine control, not a musical interval.
Output Playback through the browser speech interface No MP3, WAV, or other portable audio buffer is produced.
Text handling The text remains in the current tab and goes only to the local browser speech interface; Lizely does not upload or store it There is no Lizely upload or storage, although offline availability is not guaranteed.

A supported value still produces device-dependent results. Rate and pitch are passed to the speech engine, but each engine may interpret them differently, so the only reliable way to judge a setting is to listen with the voice currently available on your device.

Why Voices and Pacing Vary

The voice inventory comes from the current device. A voice visible on one computer may be absent on another, and downloading additional operating-system voices is outside the tool’s scope. A browser may expose no explicit voice list and may also reject a selected voice at runtime. When playback is rejected, the tool reports the error instead of pretending that the speech completed.

Changing rate or pitch does not produce the same result across engines. These values are controls on a SpeechSynthesisUtterance, not a promise of identical timing or vocal character everywhere. The tool also does not perform linguistic sentence parsing or promise identical pauses across voices. Test a passage with the voice and settings actually reported by your browser before relying on it for a review.

Choosing a Suitable TTS Workflow

This utility is designed for focused listening tasks rather than general website navigation. Appropriate uses include:

  • Listening to a draft
  • Checking the rhythm of a passage
  • Hearing a short piece of text
  • Supporting a personal reading workflow
  • Testing how a system voice pronounces text

It reads entered text only. It does not announce page structure, focus, controls, semantic roles, or live regions, so it is not a screen reader replacement. For essential assistive use, rely on a maintained screen reader and your platform’s accessibility settings.

It is also not a medical or diagnostic, language-learning, transcription, voice-cloning, or accessibility-conformance service. If you need a reusable recording, a licensed commercial voice, a fixed pronunciation dictionary, an SSML workflow, or reproducible output across machines, use a dedicated synthesis service and review its privacy and licensing terms. For a wider comparison, see browser speech engines and dedicated TTS services.

When Playback Does Not Start

If no audio appears, consider the browser’s user-gesture requirement first and select Speak directly from the page. Watch for a playback error if the selected voice is rejected. A missing voice list is platform behavior; the tool cannot install or add an operating-system voice to resolve it.

Pause and Resume are delegated to the browser engine and affect the global speech-synthesis queue for the current page. Another script using that interface in the same tab could interact with it. Stop cancels the widget’s queue, while editing the text or a setting stops active speech so revised content can begin cleanly. Chunking reduces problems caused by exceptionally long utterances, but it does not rewrite punctuation or guarantee perfectly timed pauses.