Skip to content

Piper

Local neural text-to-speech engine for apps, assistants and screen readers

Copyleft (OSI) · GPL-3.0 AI-native

Listed by , founder & editor

73

Health

Active

Overview

Stars

6,376

Last commit

today

Nov 2026

Repository age

1 year

since Mar 2025

Latest version

v1.8.0

Sep 2026

Contributors

–

10 active in 90 days

Releases

8

last 12 months

Language

C++

Piper is a neural text-to-speech engine written in C++ that runs on your own hardware. It embeds espeak-ng for phonemization, so text is converted to phonemes before a voice model turns it into audio. Nothing needs to be sent to a cloud service.

You can use it through a command-line interface, a built-in web server, a Python API or a C/C++ library. A Java binding (Piper JNI) covers other languages. You can also train new voices. Install the Python package with pip, or build it manually. A Docker image is available.

Piper is used in Home Assistant, the NVDA screen reader, LocalAI and several hobby and accessibility projects. It is licensed under GPL-3.0, and voices carry their own licenses, so check the voice terms before commercial use. The project is under the Open Home Foundation, which is looking for maintainers. It does not replace one specific product, but it fits where you would otherwise call a paid cloud speech API.

Who it's for

Home automation users building local voice assistants

Home Assistant uses Piper, so spoken replies can be generated on your own network.

Skip if: You want a hosted voice with no setup and are fine sending text to a cloud service.

Developers adding speech output to apps

It offers Python and C/C++ APIs, a CLI and an HTTP server, so you can pick how to integrate.

Skip if: Your product is closed source and the GPL-3.0 license would conflict with how you ship it.

Accessibility tool authors

NVDA and other reading tools already use it for offline speech.

Skip if: You need voice cloning or highly expressive speech styles.

The problem it solves

Cloud text-to-speech services charge per use and send your text to a third party. Piper lets you generate speech on your own machine, including small devices, without an external API.

Strengths

  • Runs fully local, so text never leaves your machine
  • Offers CLI, HTTP server, Python API and C/C++ library
  • Supports training new voices
  • Used by Home Assistant, NVDA and LocalAI
  • Active, with 8 releases in the last year

Trade-offs

  • GPL-3.0 license has obligations if you embed it in distributed software
  • Voices have separate licenses that you must check
  • Maintainers are being sought, which affects long-term support
  • Voice quality depends on the model you choose

Self-host Piper

Self-hostable
Yes

Quick start

pip install piper-tts

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Piper free?

Yes. The code is open source under GPL-3.0. Individual voices have their own licenses, so review them before commercial use.

Can I run it offline?

Yes. It is a local engine, so synthesis happens on your own hardware.

How do I install it?

Run pip install piper-tts for the Python package. You can also build it manually, and a Docker image exists.

Can I train my own voice?

Yes. The project documents how to train new voices.

Can I use it from Java?

Yes, through the Piper JNI binding.

Similar tools in Text-to-speech and voice AI

Kokoro FastAPI

Text-to-speech and voice AI

Dockerized OpenAI-compatible text-to-speech server built on the Kokoro-82M model

5.7k 957 3 days ago Thriving Apache-2.0

OpenUtau

Text-to-speech and voice AI

Singing voice editor for UTAU users on Windows, macOS and Linux

4.6k 612 8 days ago Active MIT

RHVoice - a speech synthesizer

Text-to-speech and voice AI

Offline speech synthesizer with small voices for Windows, Linux and Android

1.9k 267 2 days ago Active GPL-2.0

SherpaTTS

Text-to-speech and voice AI

Offline text-to-speech engine for Android that runs Piper and Coqui voices

824 58 4 months ago Slowing GPL-3.0

chatterbox-tts-api

Text-to-speech and voice AI

Self-hosted, OpenAI-compatible text-to-speech API with voice cloning

701 159 11 months ago Dormant AGPL-3.0

OpenReader

Text-to-speech and voice AI

Self-hosted text-to-speech reader for EPUB, PDF, TXT, Markdown and DOCX with read-along

596 82 yesterday Thriving MIT