Skip to content

Speech to Text for Coding: Claude Code and Cursor Prompts

Speech to Text for Coding: Claude Code and Cursor Prompts

Speech to text for coding isn't for writing code: it's for dictating the prompts, commits and reviews around it, in natural language, with all the context you never have the patience to type. On Windows, dictation that pastes at the cursor does the job in Claude Code, Cursor or Copilot, with no extension. That's voice to text for Claude Code without any plugin.

It's 5 p.m., the integration test has been failing since this morning, and you type into Claude Code: "fix export test". The agent heads off in the wrong direction, rewrites a file it should never have touched, and you spend twenty minutes reeling it back in. The three-sentence prompt you had in your head would have avoided all that.

In short

  • You don't dictate code. You dictate what surrounds it: prompts for Claude Code, Cursor or Copilot, commit messages, pull request descriptions, review replies.
  • The main gain isn't speed: a dictated prompt includes the constraints and context a typed prompt drops.
  • Symbols, paths and commands get typed or pasted. Recurring identifiers are handled with the dictionary.
  • Ondula types at your cursor, with no editor extension. Offline dictation is free and unlimited; your voice doesn't leave the PC.

Why dictate your prompts to a coding assistant?

Look back at your last ten prompts. They're probably one line long. Not because one line is enough, but because typing a paragraph of context takes effort, and you bet the agent will figure it out. It often figures wrong, and the fix costs more than the paragraph would have.

Out loud, you talk the way you would to a colleague leaning over your screen:

"The PDF export integration test has been failing since we switched date libraries. Locally everything passes, on the CI server it doesn't, so I'm thinking time zones. Look at how dates are built in the export module. Don't touch the output format, accounting relies on it. Tell me what you're planning before you change a single file."

Typed, that prompt would have lost half its sentences, and precisely the two that matter: "don't touch the output format" and "tell me before you change anything". What improves is the quality of the request.

The topic has the community's attention: "Ask HN: dictation with coding agents?" opened a thread on Hacker News on September 8, 2026. The pages that promise a measured gain, meanwhile, are almost all written by dictation vendors and publish no measurements.

Which dictation tools for coding on Windows?

Several AI dictation tools are courting developers. As of October 18, 2026, Wispr Flow integrates with Cursor and Windsurf, but always transcribes online, on servers in the United States, with sessions of 20 minutes at most on desktop. Willow launched a "Developers" plan in February 2026, also online by default. Claude Code has had a /voice command since March 2026, according to third-party pages: online, and usable only inside Claude Code.

The choice comes down to two questions. Do you want your voice, which sometimes describes a client's code, to go to a server? And do you want a different dictation tool for every app? Dictation that pastes at the cursor, offline, answers no to both.

How to dictate into Claude Code, Cursor or Copilot with Ondula

Ondula doesn't integrate with any tool, and that's what makes it usable everywhere: you press a shortcut (F9 by default, changeable), you speak, your words appear in the live window, then the text is pasted at your cursor, like a Ctrl+V.

  1. Click in the input box: the terminal running Claude Code, Cursor's chat panel, Copilot Chat in VS Code.
  2. Press the shortcut and talk it through in one go. Dictation doesn't stop on silence: think as long as you need; another press stops it.
  3. Read it over in the live window. A misheard word gets fixed there; dictation waits.
  4. Add with the keyboard whatever can't be said: an exact path, a command, the stack trace.
  5. Send. Ondula doesn't press Enter for you, unless you turn on the "Press Enter afterwards" option.

Terminals. By default, Ondula pastes with Ctrl+V. If your terminal expects a different key combination, set it under After dictation > Custom sequence, or choose Copy only and paste yourself. A window running as administrator generally rejects keystrokes sent by a regular app; that's a Windows rule: dictate into the editor's chat panel instead.

Which prompts to dictate? Examples

A dictated prompt structures itself if you say, in order, what's happening, what you want, what not to touch, and how to proceed.

Kicking off a task in Cursor:

"I want to add pagination to the invoice list. On the server side, the API already returns a cursor, so just use it. Keep the current table component, don't create a new one. Twenty rows per page, and the page number in the URL so people can share the link."

Asking for a plan before acting, in Claude Code:

"Before writing any code, read the authentication module and give me a plan in five steps at most to replace sessions with tokens. Flag anything that would break on the mobile app. I'll approve the plan, then you code."

Getting a review from Copilot Chat:

"Review this function like a nitpicky colleague. I'm worried about two things: concurrent access to the cache, and the case where the list is empty. No style comments, only what can break in production."

Correcting yourself mid-stream. Say it explicitly: "correction: not twenty rows, fifty". Agents handle that kind of fix very well.

Commits, reviews, documentation: what else to dictate?

Commit messages. A good message says why. That's exactly what's on your mind right after you finish, and what you don't feel like typing:

"Fix the time zone in the PDF export. Dates were built in local time, which shifted due dates by a day on the server. Everything now uses UTC; the displayed format doesn't change."

Repo in English, but you think faster in German or Spanish? Translated dictation writes English while you speak your own language, offline and for free.

Pull requests and reviews. Context, choices made, what to check first: say it the way you would at the morning stand-up. In a review, you mostly explain a decision, rarely a line: that's prose, not code.

Documentation. README, install steps: talk them through as you would to a new hire, then add headings and code blocks with the keyboard.

What are the limits of speech to text for coding?

Symbols. Parentheses, braces, operators, straight quotes: dictation built for written language is the wrong tool. Anything full of symbols gets typed.

Identifiers. getUserById comes out as four words, "get user by ID". For the ones you say every day, the dictionary fixes it (see below). For the rest, describe them: "the function that loads the user" is enough for an agent that can search the repo.

Mixed languages. If you dictate in German or Spanish, English terms like "hook" or "rebase" come up all the time, and they're a real challenge for dictation. Pick the language you speak most under General > Languages > Transcription; an isolated term from another language may come out mangled, and the dictionary catches the ones that recur.

Paths and commands. src/components/Header.tsx or git rebase -i HEAD~3 can't be dictated. Paste them, or let the agent find them.

The open-plan office. Dictating in the middle of your coworkers bothers everyone. A headset with the mic close to your mouth lets you speak softly; the mic matters more than you'd think, see our tips to improve voice recognition accuracy.

How to set up a developer dictionary

This is the setting that separates annoying dictation from dictation you keep. Ondula's dictionary works in Heard → Written pairs: during offline dictation, what it hears is replaced with your spelling as the text comes in.

  1. Note the words that come out wrong in your first prompts: product names, services, libraries, colleagues.
  2. Fix them in the live window and agree to save them: the pair goes into the dictionary. Or add it by hand under Dictionary > Add a correction: "get user by id" → getUserById, "cube control" → kubectl.
  3. Create voice shortcuts for your recurring instructions. Say three words and Ondula pastes "propose a plan before changing anything, don't touch existing tests, run the full suite at the end".
  4. Export the dictionary and pass the file to your team, who import it on their machines.

The dictionary and voice shortcuts are part of the free tier.

Offline or Cloud for dictating prompts?

Offline: transcription runs on your PC, on the graphics card whatever its brand or on the processor. Your voice doesn't leave the machine, which matters when you're describing a client's code out loud. It's free and unlimited, with no account. Keep in mind: whatever you then send to Claude Code, Cursor or Copilot goes to that assistant, under its own terms.

Cloud (€5.99 a month, cancel anytime): online dictation, lighter on a modest laptop, and AI modes. Each mode carries your instruction and its own shortcut. A "Commit" mode: "Turn my dictation into a commit message in English, a one-line summary then the why." A "Brief" mode that puts a prompt you said in one go into order. The answer shows as a preview: Confirm (Enter) pastes it, Cancel (Esc) discards it, Retry reworks it based on what you say. The "Free" mode, for its part, continues from what's already in the field, without repeating it. Each month: 20 hours of online audio and 3,000 modes; 14-day trial, no credit card required. Details on the pricing page.

To also dictate your requests to ChatGPT, Claude or Gemini outside the editor, our guide to voice to text for ChatGPT, Claude and Gemini covers the method.

Frequently asked questions

Can you dictate code with Ondula?

Not really, and that's not what it's for. Ondula is built for natural language; code, with its symbols, is faster and more accurate to type. Describing to an assistant the code you want, on the other hand, dictates very well.

Does Ondula work with Claude Code, Cursor and Copilot?

Yes, with no integration: it pastes text at your cursor, in the chat panel, the browser or the terminal. If a terminal pastes with a combination other than Ctrl+V, you can set the sequence in Settings.

Does my voice go over the internet when I dictate?

Offline, no: it's transcribed on your PC. Online, the audio is used only for transcription and is then kept by neither Ondula nor its provider.

To try it this week on your long prompts, download Ondula for free from the Microsoft Store.

← Back to blog