Skip to content

Browser TTS workspace

Piper TTS

Run Piper TTS offline in your browser with 25 curated LibriTTS English voices on CPU WebAssembly. ~75MB model, no signup, free WAV & MP3 export.

  • Private generation
  • WAV + MP3 export
  • 25 voices · Fastest CPU
MB model
75
WASM
MB model
voices
25+904
curated + full
voices
runtime
CPU
device-dependent speed
runtime
backend
WASM
CPU only
backend

Audio generation uses WebGPU/WASM. Desktop Chrome or Edge gives the most reliable result.

Piper TTS Online: Browser Demo & Offline Workflow

This Piper TTS online browser demo lets you test a local VITS-based LibriTTS model without installing Python or creating an account. Piper is an established open-source local TTS engine used in projects such as Home Assistant and edge speech workflows; this integration runs it through WebAssembly.

The source model exposes 904 speaker IDs. OfflineTTS presents 25 selected IDs in the browser interface so users can compare a manageable set; those names and traits are catalog labels, not separate trained models or a quality ranking.

For the Piper TTS offline workflow, Piper WASM uses CPU-oriented WebAssembly and does not require WebGPU. After required assets download, inference is local and output uses a fixed 22.05kHz sample rate. Actual generation speed and browser support depend on the device and runtime, so use the workspace above with a representative paragraph before planning a long export.

Compare engines: Kokoro TTS (54 voices · q4 or fp32) · Kitten TTS (8 voices · Lightest) · Supertonic TTS (31 languages · Local) · Pocket TTS (8 voices · cloning) · Matcha TTS (Chinese + English · WASM)

Advertisement

Adsterra privacy

CPU-First Piper Tradeoffs

Piper is the engine to test when a WebGPU path is unavailable or a CPU-oriented WebAssembly workflow is preferred. Its roughly 75MB model is smaller than Kokoro but larger than Kitten, and its 22.05kHz output is fixed. That combination can be practical for English narration drafts, accessibility prototypes, and devices where GPU support is unreliable, but it is not a promise of one speed across all processors and browsers.

Run a representative paragraph and measure both generation time and audio quality on the target device. Long text is chunked, so total time also depends on sentence structure and pauses. Keep the tab active during important work, review the complete export for repeated or dropped boundaries, and use WAV when the file will be edited further.

What the 25 Curated Speakers Represent

The Piper model exposes 904 speaker identifiers from its LibriTTS configuration. OfflineTTS lists 25 selected identifiers with readable catalog names and traits to keep the browser picker manageable. They are not 25 separately trained OfflineTTS models, verified identities of named people, or winners from a controlled listening test. The underlying voice and dataset terms still apply.

Compare speakers with the same text, speed, browser, and output format. Include proper nouns and numbers, because a pleasant sample sentence does not prove pronunciation for a real script. If a speaker is used commercially, record its identifier and review the exact upstream model card and dataset terms rather than relying only on the friendly display name.

Getting Started with Piper TTS

  1. 1

    Download the Model

    Piper's model is ~75MB — a one-time download cached in your browser. It uses the VITS neural architecture trained on the LibriTTS dataset.

  2. 2

    Browse 25 Curated Voices

    Each voice has a distinct vocal character — warm narrators, professional presenters, conversational tones. Pick one that matches your content style.

  3. 3

    Enter Your Text

    Type or paste up to 50,000 characters of English text. Piper handles punctuation naturally — commas, periods, and question marks all create distinct speech patterns.

  4. 4

    Generate with WebAssembly

    Piper runs through the CPU-oriented WebAssembly path without requiring WebGPU. Measure actual speed on the intended device before planning a bulk job.

Tips for Piper TTS

  • 1

    No WebGPU required. Piper uses the WebAssembly CPU path. Browser support, memory, and speed still vary, so test the actual browser rather than treating WASM support as universal compatibility.

  • 2

    Measure CPU generation. Performance depends on processor, browser, text length, and other device load. Generate one representative section before estimating a chapter or batch schedule.

  • 3

    Understand the 904-speaker source model. The interface exposes 25 selected speaker IDs from a model with 904 IDs. OfflineTTS does not publish all 904 as separate browser voice downloads or claim the selected set is objectively best.

  • 4

    Fixed 22.05kHz sample rate. Piper outputs at 22.05kHz. This is fine for most use cases including podcasts and YouTube. If you need higher sample rates, use Kokoro (24kHz) or Kitten (configurable up to 48kHz).

Frequently Asked Questions about Piper TTS

Does Piper TTS require a GPU or WebGPU support?

No. Piper TTS runs through a CPU-oriented WebAssembly (WASM) inference path, so it works on laptops and desktops without WebGPU acceleration. Actual speed still varies by processor, browser, and script length.

Why does the picker list 25 voices when the model has 904 speakers?

The underlying LibriTTS-R VITS model exposes 904 numeric speaker IDs. OfflineTTS curates 25 readable presets mapped to verified speaker metadata so you can compare voices quickly without browsing hundreds of unlabelled IDs.

What audio format and sample rate does Piper output?

Piper generates speech natively at 22.05kHz and lets you export uncompressed WAV or browser-encoded MP3 files. If you need 24kHz native output or multilingual voices, compare Kokoro or Supertonic.

Can Piper TTS run offline after the model loads?

Yes. Once the ~75MB ONNX model and voice assets are cached in your browser storage, English speech synthesis executes locally on your device without sending script text to an external synthesis API.

Upstream Model & Runtime Sources