Markdown Read Aloud: Listen & Follow
Listen to your Markdown files in VS Code.
Text-to-speech with a floating player, sentence-by-sentence highlighting and a live preview.
Runs entirely on your machine: no account, no cloud, no telemetry.
User Guide ·
Getting started ·
Settings ·
Changelog
Features
- One-click listening. Click the 🎧 Read Aloud button in the editor title bar. The file switches to a clean preview and reading starts from your cursor.
- Follow along. The sentence being read is boxed in the preview and highlighted in the editor, and the view scrolls to keep it on screen.
- Floating player. A compact player in the preview's top-right corner has previous / play-pause / next sentence, a progress indicator, speed (0.5×–2×) and voice selection.
- Starts where you are. Reading begins at the sentence under your cursor. In the preview, double-click any paragraph to read from there.
- Understands Markdown. You hear the content, not the syntax. Headings, lists, block quotes, tables, link text and image alt text are read. Front matter, HTML comments and raw
<script>/<style> are skipped.
- Smart code blocks. Short shell commands such as
npm install are read aloud. Longer code is announced instead, e.g. "TypeScript code, 12 lines" or "Mermaid diagram".
- Keeps up with edits. Edit the file while it's being read and playback continues on the updated text.
- Private and offline. Speech comes from your operating system's voices through VS Code's built-in speech engine. Nothing leaves your machine.
Getting started
- Open any Markdown file (
.md, .markdown, .mdx, .mdc, …).
- Click 🎧 in the editor title bar. To listen without leaving the editor, press Cmd+Alt+R (Ctrl+Alt+R on Windows/Linux) instead.
- Use the floating player, or the shortcuts below, to pause and skip.
- Click Open Source in the preview's title bar to go back to editing. Reading continues.
Prefer the source and preview side by side? Press Cmd+Alt+V (Ctrl+Alt+V) instead.
The player
For a complete walkthrough, including voices, troubleshooting and what exactly gets read, see the User Guide.
Commands and keyboard shortcuts
| Command |
macOS |
Windows / Linux |
| Read Aloud: open the preview in place and start reading |
🎧 in the editor title bar |
🎧 in the editor title bar |
| Read Aloud: Play / Pause |
Cmd+Alt+R |
Ctrl+Alt+R |
| Read Aloud: Next Sentence |
Cmd+Alt+] |
Ctrl+Alt+] |
| Read Aloud: Previous Sentence |
Cmd+Alt+[ |
Ctrl+Alt+[ |
| Read Aloud: Stop |
Cmd+Alt+. |
Ctrl+Alt+. |
| Read Aloud: Open Preview with Player (beside the editor) |
Cmd+Alt+V |
Ctrl+Alt+V |
| Read Aloud: Read From Cursor |
Editor context menu |
Editor context menu |
| Read Aloud: Open Source |
Preview title bar |
Preview title bar |
The Read Aloud item in the status bar shows progress and also toggles play/pause. A Read Aloud view in the bottom panel mirrors the player.
Settings
| Setting |
Default |
Description |
mdReadAloud.readCodeBlocks |
smart |
smart reads 1–2 line shell commands and announces other code. announce always announces, skip leaves code out, and read reads every line. |
mdReadAloud.rate |
1 |
Speech rate, from 0.5 to 2. Also adjustable from the player. |
mdReadAloud.voice |
"" |
Voice name. Empty uses the system default. Also selectable from the player. |
mdReadAloud.followAlong |
true |
Scroll the editor to keep the sentence being read visible. |
mdReadAloud.autoOpenPreview |
false |
Open the preview beside the editor whenever a Markdown file is opened. |
mdReadAloud.autoReveal |
true |
Show the Read Aloud panel when a Markdown file is opened. |
Requirements
- VS Code 1.90 or later.
- Voices come from your operating system:
- macOS and Windows: work out of the box. Add more voices in your system's speech or accessibility settings.
- Linux: install
speech-dispatcher and a synthesizer such as espeak-ng, then restart VS Code. If no voices are found, the player tells you.
Markdown files claimed by other extensions' languages work too, for example Nuxt MDC (mdc), MDX and Copilot prompt files.
Privacy and security
- No network access, no telemetry. The extension has no runtime dependencies and sends nothing anywhere.
- Sandboxed preview. A strict Content Security Policy is in place, and any HTML in your Markdown is sanitized before display.
- Safe links. Web links open through VS Code's trusted-domain prompt. File links can only open files inside the document's workspace folder.
- Restricted Mode. It's safe to use in untrusted workspaces.
See SECURITY.md for details and how to report a vulnerability.
Known limitations
- The preview uses VS Code's built-in Markdown renderer. Content that needs other extensions' preview scripts, such as Mermaid diagrams, isn't drawn (it is announced when read).
- The preview loads remote
https images, as VS Code's own preview does.
- Pausing restarts the current sentence when you resume. Pausing mid-sentence isn't reliable in VS Code's speech engine.
- After reloading the window, the preview has to be reopened.
Contributing
Bug reports and pull requests are welcome. See CONTRIBUTING.md to get set up.
License
MIT © 2026 Vimukthi Jayasinghe
| |