Skip to the tool
Dunk’s Bible Palace

Text to Speech

Hear any text read aloud by the voice built into this page or the voices on your device, at the speed you like, with each sentence lit up as it is read. Save it as an audio file too.

Runs on your device

Your text

Nothing to read yet.

Or drop a text file here

A .txt or .md (Markdown) file. Several files become chapters.

Voice

Who reads

Looking for the voices on this device.

Some voices do not go faster than 2×, and some ignore pitch or volume.

Save as audio

Makes a sound file of your text with the built-in voice, here on your device. For a book with chapters, the Audiobook Maker saves one file for each chapter.

Play list

Your text’s chapters or paragraphs show here. Choose one to read from there.

    Sleep timer

    It lets the sentence finish, and the voice gets quieter over the last minute. Your place is kept.

    More options
    Reading
    The text
    This browser

    Off unless you tick it. It stays in this browser on this device, nowhere else, up to about a long chapter. Leave it off on a shared computer.

    Phones often stop the voice when the screen turns off.

    How it works

    There are two kinds of voice. The one built into this page is a small speech model, Kokoro, that runs inside your browser: it sounds natural, works on any device, and is the only kind that can be saved as a file. It comes from this site the first time you use it (about 110 MB, and half a megabyte for each voice you try), then stays in your browser. The other kind is the voices that came with your device or your browser.

    The text you type or open stays on your device: this page has no server to send it to, and its security policy stops it sending anything anywhere.

    One honest exception, for your device’s voices only: some of them work online. Chrome’s “Google” voices and Edge’s “Online (Natural)” voices send each sentence to Google or Microsoft to be spoken. They are marked “online” in the list. For complete privacy, tick “Only voices that run on this device”.

    This page remembers your voice and settings in this browser, and the sentence you got to in each text, so you can carry on later. It keeps your text itself only if you tick “Keep my text here for next time” under More options.

    The text is read one sentence at a time. That is how the sentence is lit up as it goes, how Back and Forward work, and how very long texts keep going: some browsers quietly stop a voice that is given too much at once.

    Can I save the speech as an MP3 or WAV file?

    Yes, with the built-in voice: use Save as audio. It makes the sound on your device, which takes a while for a long text; how long depends on your computer or phone, and the page tells you as it goes. Your device’s own voices speak straight to your speakers without handing the sound to the page, so they cannot be saved.

    The built-in voice is slow to start, or there are gaps

    The first time, the voice has to come from this site, so give it a minute on a slow connection. After that it starts in a few seconds. On an older phone it can make the sound only a little faster than it speaks, so there may be short gaps between sentences: a slower speed, or a faster device, helps. The built-in voice speaks at up to 2× and has no pitch setting. To free the space it takes, press Remove the downloaded voice.

    Where the voices come from, and adding more

    The voices are provided by your operating system (Windows, macOS, iOS, Android, ChromeOS or Linux) and sometimes by the browser too, so the list is different on every computer and phone. New voices usually show up after you restart the browser.

    • Windows 11: Settings, Time and language, Speech, then Add voices.
    • Mac: System Settings, Accessibility, Spoken Content, then the list beside System voice, then Manage Voices.
    • iPhone and iPad: Settings, Accessibility, Spoken Content, Voices. The higher quality “Enhanced” and “Premium” voices sound much better.
    • Android: Settings, Accessibility, Text-to-speech output, then the settings of the preferred engine, to install voice data.
    • Linux: install speech-dispatcher and a voice such as eSpeak NG or RHVoice from your software centre.
    Keyboard shortcuts

    While the text is showing, and you are not typing in a box:

    Space or K
    Play or pause
    J or ←
    Back one sentence
    L or →
    Forward one sentence
    [ and ]
    Previous and next part
    Esc
    Pause
    Books, Word documents, PDFs and ebooks

    Whole books work: open a .txt file (Project Gutenberg’s plain text books are ideal) and the chapters appear in the play list. In a Project Gutenberg book, the notes before the book starts and the licence after it ends are left out. For a Word document, a PDF, a web page or an ebook, select the text there, copy it, and paste it into the box. Markdown files keep their headings as chapters, and links are read by their words.

    If it stops or will not start
    • An online voice needs the internet. If yours drops, choose a voice that runs on this device.
    • On a phone, the voice may stop when the screen turns off or you switch apps. Tick “Keep the screen on while reading” under More options.
    • On an iPhone or iPad, check the volume and that the device is not on silent.
    • If the voice goes quiet and nothing helps, press Stop, then Play, or reload the page. Your place is kept.

    The built-in voice is Kokoro 82M by hexgrad (Apache License 2.0), run in your browser by kokoro-js and transformers.js (Apache License 2.0) with ONNX Runtime (MIT). Words are turned into sounds by eSpeak NG (GPL 3.0) through phonemizer.js.