Speech to text for Claude Code

Speech to Text in Claude Code

Describe bugs, refactors, tests, and coding tasks by voice, then review the text in Claude Code before you submit it. StarWhisper uses a global Windows hotkey and local Whisper transcription, so your spoken brief can become text in the focused terminal or editor field.

"Describe the failing test and the smallest safe fix..."

Set Up Dictation for Claude Code

Four steps take you from installation to a reviewed task brief.

1

Install StarWhisper

Download StarWhisper, install it on Windows, and allow microphone access when asked. Start with a local Whisper model. The free tier includes 2,000 words per week.

2

Choose a hotkey

Right-click the StarWhisper circle, open Settings, choose the Basic tab, and find the Hotkey section. Set a key combination that is comfortable beside your terminal or editor. The same global hotkey can be used in other apps.

3

Focus the Claude Code input

Click the terminal prompt or other text field where you want the task description to appear. If a command is still running, wait for the input prompt. StarWhisper types into the active field, so focus decides where the text lands.

4

Dictate, review, and submit

Hold the hotkey, explain the task in complete sentences, then release it. StarWhisper transcribes locally and inserts the text. Check file names, symbols, and technical terms before you submit the request. Paste literal code separately when needed.

Useful Claude Code Dictation Jobs

Use your voice for the explanation, then keep exact code and commands visible.

Explain a bug

Describe what you expected, what happened, the steps to reproduce it, and the part of the app you already checked. A complete brief is easier to review than scattered notes.

Plan a refactor

Dictate the goal, boundaries, existing pattern to follow, and files that should stay unchanged. This gives Claude Code the shape of the work before it proposes edits.

Write test cases

Speak the normal case, edge cases, and acceptance checks. Then paste the exact API names or code snippets that need to remain character-perfect.

Draft developer notes

Use the focused field to dictate a commit message, handoff note, or change summary. Review names and commands before copying the text elsewhere.

Why Use Speech to Text in Claude Code?

Claude Code work often starts with context rather than code. You need to explain the goal, constraints, failed attempts, and definition of done. Speaking that context can be more natural than stopping to type every sentence. StarWhisper turns the explanation into text in the field you already use, so you can edit it before sending.

The workflow is deliberately simple: focus the input, hold a hotkey, speak, release, and review. There is no special command syntax to learn for dictation. Use ordinary language for the brief, then keep exact snippets, paths, and punctuation-heavy code in a pasted block.

Keep the Audio Path Local

StarWhisper uses the OpenAI Whisper model family through local whisper.cpp processing. In Local Mode, the audio is transcribed on your computer instead of being sent to a transcription server. That is useful when a task brief contains private project context or when you are working without a network connection.

Pro users may choose an optional cloud Whisper fallback, but it is not required for this workflow. Read the offline speech-to-text guide if keeping audio on the device is the main reason you are comparing dictation tools.

Models, Languages, and Hardware

StarWhisper supports the Whisper model range from tiny through large-v3. Smaller models can suit a quick task note, while larger models are available when you prefer a different speed and quality balance. Choose the language in the app or use its language options for multilingual work. StarWhisper supports 100+ languages.

Hardware support includes CUDA, Vulkan, and Metal acceleration paths, depending on the computer and operating system. CPU-only operation is also available. Let the model and hardware fit the length of your dictation instead of expecting a short command and a long design brief to need the same setup.

Troubleshooting Claude Code Dictation

  • No text appears: click the intended terminal or editor field again, then check that the configured hotkey is not being captured by another app.
  • The microphone is silent: check Windows microphone permission and the selected input in StarWhisper settings. Speak close enough to the microphone for a clear signal.
  • Transcription takes too long: try a smaller model or an available hardware acceleration path. The model choice affects processing time.
  • Names or symbols are wrong: review the inserted brief and paste exact file names or code rather than dictating character-by-character syntax.

Frequently Asked Questions

Does StarWhisper work with Claude Code?
Yes. StarWhisper types dictated text into the active Windows text field. Focus the Claude Code terminal prompt or another text input, use the configured hotkey, speak, release, and review the text before submitting it.
Is Claude Code dictation processed offline?
In Local Mode, StarWhisper runs Whisper locally through whisper.cpp, so audio stays on the device during transcription. Pro users can optionally choose cloud fallback, but it is not required.
Can I dictate source code into Claude Code?
Dictation is useful for task descriptions, constraints, test steps, and explanations. Literal code and punctuation-heavy syntax are easier to paste or type, then you can dictate the surrounding request.
How do I change the StarWhisper hotkey?
Right-click the StarWhisper circle, open Settings, choose the Basic tab, and use the Hotkey section to set a key combination.

Try Claude Code Dictation Free

2,000 words per week on the free tier. Local Whisper transcription on your computer.

Download StarWhisper for Windows