Speech to text
Accurate speech-to-text for meetings, interviews and voice notes, without sending audio anywhere.
New to local AI? Read Start here first. It takes 5 minutes.
Your computer's memory
PC with a graphics card? Pick the card's memory (VRAM). Why?
Your computer runs this well.
- 1
Install the build tools
whisper.cpp is built on your computer. These tools do that. Skip the first line if you already have it.
xcode-select --install
Needs Homebrew (brew.sh)brew install cmake ffmpeg - 2
Get whisper.cpp and a voice model
The voice model turns sound into words.
git clone https://github.com/ggml-org/whisper.cpp.git && cd whisper.cppsh ./models/download-ggml-model.sh large-v3-turbo - 3
Build it
This takes a minute or two.
cmake -B build && cmake --build build -j --config Release - 4
Test it
It comes with a short sample speech.
./build/bin/whisper-cli -m models/ggml-large-v3-turbo.bin -f samples/jfk.wavYou should see: It prints the words of the sample speech.
- 5
Use your own audio
whisper.cpp reads 16-bit WAV files. Convert your file first, then transcribe it to a text file.
ffmpeg -i input.m4a -ar 16000 -ac 1 -c:a pcm_s16le output.wav./build/bin/whisper-cli -m models/ggml-large-v3-turbo.bin -f output.wav -otxtYou should see: output.wav.txt has your transcript.
It works. What now?
- Try it: record a voice note on your phone, send it to your Mac, convert it and transcribe it.
- Want subtitles? Add
-osrtto the whisper-cli line to make a subtitle file. - For typing by voice in any app, try Handy (the box above).
Something went wrong?
An “xcrun: error” when you build
The build tools are missing. Run xcode-select --install again and finish the window that opens.
“cmake: command not found”
Run brew install cmake, then build again.
It cannot read your audio file
whisper.cpp needs a 16-bit WAV file. Convert your file with the ffmpeg line in step 5 first.
Good to know
- Needs about 2 GB of free disk space.
- Models ending in .en are English only and a bit faster.
- On a 16 GB M4 Mac, a short clip took under 2 seconds.
- Long files take time. A Mac with more memory can use the bigger, more accurate model.
How to remove it
cd .. && rm -rf whisper.cppRemoves the code, the build and the voice modelbrew uninstall cmakeOnly if you installed it for thiscurl -fsSL https://insidethemachine.ai/install/voice.sh | bashmacOS and LinuxPlan, check, undo
Add -s -- plan to print every step and run nothing, verify to only check, rollback --yes to undo. Checked: the commands were run end to end by us. Run end to end by hand on an Apple M4 Mac with 16 GB on 2026-10-15.
Run end to end on an Apple M4 Mac with 16 GB on 2026-10-15. For Windows and Linux, see the box above.