Dictate to Claude Code on Mac
Yes. Claude Code has its own dictation: type /voice, then hold Space and talk. Your words appear in the prompt as you speak. It needs a claude.ai account and a microphone on the machine running Claude Code, and your audio goes to Anthropic's servers for transcription.
If you sign in with an API key or Bedrock, work over SSH, or want the same voice typing in your editor and your browser, a Mac dictation app does the job from outside the terminal. We make Lipwrite; it comes after /voice.
By the Lipwrite team · Updated on December 2, 2026
Turn on /voice
Set your language first: dictation uses the same language setting as Claude's replies, and English if it's empty. Change it in /config.
- 1In Claude Code, type /voice. The first time, macOS asks whether your terminal may use the microphone.
- 2Hold Space and speak. After a short warmup, the footer says listening… and the text appears dimmed as you talk.
- 3Release. The text is inserted at the cursor, and Claude Code waits for Enter.
- 4Hold Space again to add more, or type: you can mix both in one prompt. Esc or Ctrl+C cancels a recording.
Hold or tap: watch the auto-send
/voice has two modes, and they don't send the same way. To change the key, bind voice:pushToTalk in ~/.claude/keybindings.json; a combination like meta+k starts with no warmup.
| Hold mode (/voice hold) | Tap mode (/voice tap) | |
|---|---|---|
| Start | Hold Space | Tap Space, with an empty prompt |
| Stop | Release the key | Tap again, or after 60 seconds without words, or 10 minutes |
| Sending | Waits for Enter, unless autoSubmit is on | Sends by itself from three words |
| Warmup | Yes: your key repeat must be on | No |
What /voice needs, and where your voice goes
All of this comes from Anthropic's voice dictation docs.
- A claude.ai account. /voice isn't available with an Anthropic API key, Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry.
- A local microphone. It doesn't work in cloud sessions or over SSH. The Claude Code extension for VS Code has dictation too (Cmd+D), but not in Remote sessions.
- Your audio goes to Anthropic. It is streamed to Anthropic's servers, not processed on your Mac. Transcription doesn't count toward your usage limits.
- 20 languages, including English, French, Spanish, German, Italian, Japanese and Korean. Chinese and Arabic aren't on the list.
- Tuned for code. Terms like regex, OAuth or localhost are recognized, and your project and git branch names are added as hints.
Apple Dictation in Claude Code
Apple Dictation works anywhere you can type, so in the terminal where Claude Code runs too: press your Dictation shortcut, speak, press Esc. It's free and has no time limit, but it knows nothing of your project's names. Apple says “new line” is equivalent to pressing Return; in Claude Code, Return sends the prompt.
Claude Code's docs don't cover it. Users report hiccups on GitHub, such as macOS Dictation interrupting a turn that was running (issue).
Dictate to Claude Code with Lipwrite
Lipwrite works from outside the terminal. Hold fn, speak, release: Lipwrite transcribes on your Mac and pastes the text at the cursor, in Terminal, iTerm2, Warp, Ghostty or the VS Code terminal. Claude Code simply receives pasted text, so how you sign in doesn't matter, and it works in an SSH session shown in that window.
The text arrives cleaned up: no “um”, no false starts, punctuation and paragraphs, a list when you count out loud. Lipwrite knows you are in a terminal and adapts. If you dictate “add tests for the parser”, it writes that request; Claude Code does the work.
Lipwrite never presses Enter: you reread, then you send. In terminals it always pastes and doesn't read your selection, so rewriting selected text by voice isn't guaranteed there. Your audio stays on the Mac; only the text goes through our servers and Claude to be cleaned up, and our servers don't keep it. Lipwrite can also give Claude Code read-only access to your meetings and projects: Lipwrite and Claude.
Long prompts in the terminal
More method in Dictate your prompts, and a comparison of dictation apps for developers in the best dictation apps for coding.
- Pasted text can fold. Past 800 characters or three lines, Claude Code shows a placeholder like [Pasted text #1 +12 lines] and still sends everything when you press Enter. That's normal with a long dictation.
- New lines. Shift+Enter works natively in iTerm2, Ghostty, Kitty, WezTerm and Warp. In Apple's Terminal, type \ then Enter, or press Ctrl+J.
- Your words, spelled right. Add your repo, services and functions to Lipwrite's personal dictionary: Supabase, getUserById, the name of your branch.
- Structure out loud. Goal, context, constraints, how to check it's done. Hands-free mode (press the key twice) lets you talk without holding anything.
When /voice doesn't start
- “/voice needs a Claude subscription” or “isn't available with” a provider. Run /login. An ANTHROPIC_API_KEY or a third-party provider takes precedence over your claude.ai sign-in: remove it and restart.
- “Microphone access is denied”. System Settings > Privacy & Security > Microphone, turn on your terminal app, then run /voice again.
- Your terminal isn't in the list. Run tccutil reset Microphone com.apple.Terminal (com.googlecode.iterm2 for iTerm2), quit the terminal with Cmd+Q, reopen it and run /voice. Without the app ID, the command resets the microphone for every app.
- Holding Space just types spaces. Hold detection needs key repeat. Switch to /voice tap.
- Garbled text. The dictation language is probably still English: set yours in /config.
Read next
- The best dictation apps for coding and AI promptsDictate prompts to Cursor, Claude Code, VS Code or ChatGPT: technical words, editing by voice, MCP and privacy in 7 Mac dictation apps compared.
- The best dictation apps for Mac in 2026Lipwrite, Wispr Flow, Superwhisper, Apple Dictation and more: where your voice goes, AI clean-up, free plan and price of 9 Mac dictation apps.
- Dictate your ChatGPT prompts on MacChatGPT has a Dictate button and Voice. What each does, where the audio goes, and how to dictate clean prompts on Mac in ChatGPT and every other app.
- Dictate your Claude prompts on MacClaude has dictation, voice mode and a Caps Lock shortcut on Mac. What each one does, where your voice goes, and how to dictate clean prompts everywhere.
- Dictate in Cursor on MacCursor's microphone writes in the agent chat only. How to use it, what its docs leave out, the bugs users report, and how to dictate anywhere in Cursor.
- Dictate in Codex on MacCodex now lives in the ChatGPT desktop app. Where its Dictate button is, which plans have it, what the CLI's /voice does, and how to dictate everywhere.
- Dictate in VS Code on MacVS Code now dictates on-device in chat, editor and terminal on Apple silicon Macs. Shortcuts, the 20-minute limit, Intel Macs, and the other options.
Sources
- code.claude.com/docs/en/voice-dictation
- code.claude.com/docs/en/interactive-mode
- code.claude.com/docs/en/terminal-config
- code.claude.com/docs/en/vs-code
- support.apple.com/guide/mac-help/use-dictation-mh40584/mac
The facts about Claude Code come from its official pages and help center, read on the date above. Apps change: check their site if something looks different. A mistake? Write to contact@xinova.fr and we will fix it.
Frequently asked questions
Does Claude Code have voice input?
Yes: /voice. Hold Space to talk, release to insert the text, press Enter to send. It needs a claude.ai account and a local microphone.
Does Claude Code /voice work over SSH?
No. Anthropic's docs say it needs a local microphone and doesn't work in SSH or cloud sessions. A Mac dictation app that pastes into your local terminal window, like Lipwrite, isn't affected.
Does /voice use my Claude tokens?
No. Transcription doesn't consume messages or tokens and doesn't count toward the limits shown in /usage.
Why did Claude Code send my prompt by itself?
You are probably in tap mode: from three words, the second tap sends. Use /voice hold, where the text waits for Enter unless autoSubmit is on.
Can I dictate to Claude Code in French or Spanish?
Yes, /voice supports 20 languages. Set yours in /config, or dictation stays in English.
Try it with your voice.
4,000 cleaned-up words every month and 3 meetings to try it. Free, no credit card.
Download for MacFor Apple Silicon Macs, macOS 14.2 or later.