How to Dictate Into Sublime Text on a Mac
Sublime Text is fast, minimal and beloved by developers, but it has no dictation button anywhere in its menus. The trick is to add voice typing at the Mac level, so your words land in the editor exactly like keystrokes. Here is how to set that up cleanly.
Key takeaways
- Sublime Text has no native dictation, so you dictate at the macOS level into the active editor.
- Apple Dictation works but does not remove filler words or fix punctuation for you.
- An on-device app types system-wide, so the same shortcut works in Sublime Text, the terminal and your browser.
- BlaBlaType keeps your voice on your Mac and cleans up speech with AI before it is inserted.
Why Sublime Text needs a Mac-level dictation tool
Sublime Text is a code editor, not a word processor, so it never shipped a dictation command. That is actually good news: because macOS lets any app receive typed text, you do not need a Sublime plugin at all. You just need a good Mac dictation tool that inserts text into whatever window is focused. When Sublime Text is the front window, your spoken words go straight into the buffer.
This is the same reason voice typing is useful across your whole workflow. Once it works in Sublime Text, the identical shortcut also lets you dictate emails on your Mac or draft a message in any other app. If you have never used voice typing before, it helps to know that speech to text is simply a model turning your audio into characters. For background, the concept is well documented on Wikipedia's speech recognition page.
How dictation reaches the Sublime Text buffer
It helps to picture the path your voice takes. You speak, a model converts the audio to text, an optional AI pass tidies it up, and the finished text is inserted at your cursor. With an on-device tool, none of that leaves your Mac.
Set up dictation in Sublime Text: step by step
Install an on-device dictation app
Download a Mac voice-to-text tool that types system-wide. BlaBlaType is optimized for Apple Silicon and runs speech recognition locally, so no audio is uploaded.
Grant microphone and accessibility access
macOS asks for microphone permission to hear you and accessibility permission to insert text into other apps. Both are required for dictation to reach Sublime Text.
Pick a push-to-talk shortcut
Choose a key you can hold while you speak, then release. A single global shortcut keeps your hands on the keyboard and works no matter which window is focused.
Click into the Sublime Text buffer
Place your cursor exactly where the text should appear: inside a comment block, a Markdown file, a docstring or a commit note. The insertion point is where dictation lands.
Hold the shortcut, speak, release
Say your sentence naturally. On release, the app transcribes and cleans the text on-device, then types it into Sublime Text. Add names or jargon to a custom dictionary if needed.
Apple Dictation vs a dedicated on-device app
macOS ships with Apple Dictation, and it does type into Sublime Text. It is a fine starting point and free. The gap shows up when you dictate more than a sentence: raw speech is full of filler words, run-on phrasing and missing punctuation, and Apple Dictation inserts it more or less verbatim. You can read Apple's own setup notes in the macOS Dictation guide.
| Capability | Apple Dictation | BlaBlaType |
|---|---|---|
| Types into Sublime Text | Yes | Yes |
| Runs on-device | Mixed | Yes |
| Removes filler and fixes punctuation | No | Yes |
| Custom dictionary for code terms | Limited | Yes |
| Custom AI prompts | No | Yes |
| Languages | Many | 90+ with translate |
For code work, the custom dictionary matters. Class names, library names and your project's jargon are exactly the words a generic model gets wrong. A dedicated tool lets you teach it those terms once. AI cleanup also means a spoken comment reads like a written one, which is handy when you are drafting docs or a pull request description.
Dictate into Sublime Text, privately
Voice type comments, docs and commit notes into any editor. On-device speech to text with AI cleanup, and a 3-day trial with no card.
Download for macOSWhat to dictate in Sublime Text (and what to type)
Dictation shines for prose, not for syntax. Most people speak around three to four times faster than they type, so longer written passages are where you gain the most time. The characters and structure of code are still faster to type by hand.
- Great for dictation: comments, docstrings, Markdown docs, README sections, commit messages, TODO notes and pull request descriptions.
- Better typed: the code itself, symbols, brackets, and anything where exact punctuation placement is the whole point.
A practical workflow is to type your logic and dictate the explanation around it. The same on-device shortcut then follows you out of the editor. When you switch to a browser to talk to ChatGPT with your voice about a bug, or answer a ticket, dictation is already there because it works system-wide.
Keep your voice on your Mac
For developers this part is not optional. Source code, internal notes and client work often sit under an NDA, and streaming that audio to a cloud transcription service is a real exposure. On-device dictation avoids the problem entirely: the model runs on your Mac's own hardware, so your audio and transcripts never leave the machine. BlaBlaType is built this way by default, with local Whisper and Parakeet models. You can compare plans on the pricing page.
Frequently asked questions
Does Sublime Text have a built-in dictation feature?
No. Sublime Text has no native dictation. You dictate into it using a Mac-level voice-to-text tool that types wherever your cursor is, so the text lands in the Sublime Text editor like any keyboard input.
Can I use Apple Dictation in Sublime Text?
Yes. Apple Dictation types into most text fields including Sublime Text, but it does not clean up filler words or fix punctuation automatically. A dedicated on-device app adds AI cleanup so the text arrives polished.
Is dictation faster than typing code notes?
For prose like comments, commit messages and documentation, yes. Most people speak around three to four times faster than they type, so dictating longer notes into Sublime Text can save real time.