Convert various file formats to Markdown directly within VS Code with one click. No more context switching - transform your documents, presentations, spreadsheets, images, and audio files into clean, readable Markdown without leaving your editor.
- 🚀 One-Click Conversion: Convert files directly from the Command Palette or File Explorer context menu
- 📄 Document Support: PDF, DOCX, PPTX, XLSX files
- 🌐 Web & Data: HTML, CSV, JSON, XML files
- 🖼️ Image OCR: Extract text from PNG, JPG, JPEG, GIF images
- 🎵 Audio Transcription: Convert MP3, WAV audio to text
- 📦 Archive Processing: Recursively convert supported files within ZIP archives
- ⚡ Progress Tracking: Real-time progress notifications for long conversions
- 🔧 Smart Output: Automatic collision detection with numbered suffixes
- ⚙️ Configurable: Customize auto-open and overwrite behaviors
- From VS Code Marketplace: Search for "MarkItDown" in the Extensions view (
Ctrl+Shift+X) - From Command Line:
code --install-extension bioinfo.markitdown-vscode - From VSIX: Download the latest
.vsixfrom releases
- Ensure Python is installed (3.7+ required)
- Right-click any supported file in the File Explorer
- Select "Convert to Markdown"
- Wait for first-time setup (installs dependencies automatically)
- Enjoy your converted Markdown file!
| Category | Formats | Description |
|---|---|---|
| Documents | .pdf, .docx |
PDF documents, Microsoft Word files |
| Presentations | .pptx |
Microsoft PowerPoint presentations |
| Spreadsheets | .xlsx |
Microsoft Excel spreadsheets |
| Web & Structured | .html, .csv, .json, .xml |
Web pages, data files |
| Images | .png, .jpg, .jpeg, .gif |
Images with OCR text extraction |
| Audio | .mp3, .wav |
Audio files with speech transcription |
| Archives | .zip |
ZIP files (recursively processes contents) |
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Type "MarkItDown: Convert File to Markdown"
- Select file(s) to convert
- Right-click any supported file
- Select "Convert to Markdown"
- Conversion starts automatically
- Select multiple files in the file picker
- Each file is converted individually
- Progress shown for each conversion
Access settings via File > Preferences > Settings and search for "MarkItDown":
| Setting | Default | Description |
|---|---|---|
markitdown.openFileOnSuccess |
true |
Automatically open converted Markdown files |
markitdown.overwriteExisting |
false |
Overwrite existing files vs. create numbered variants |
- VS Code: Version 1.74.0 or higher
- Python: Version 3.7 or higher (must be in PATH)
- Internet Connection: Required for first-time dependency installation
The extension automatically:
- ✅ Detects Python installation
- ✅ Creates isolated virtual environment
- ✅ Installs
markitdownwith all dependencies - ✅ Manages environment updates
MarkItDown uses a secure two-process architecture:
- VS Code Extension (TypeScript): Handles UI, commands, and file management
- Python Subprocess: Runs the powerful
markitdownlibrary in isolation - Virtual Environment: Keeps dependencies separate from your system Python
This design ensures:
- 🔒 Security: Isolated execution environment
- 🚀 Performance: Non-blocking operations with progress feedback
- 🛡️ Stability: Extension crashes don't affect VS Code
- 🔄 Reliability: Proven
markitdownlibrary for conversions
Input (data.json):
{
"name": "Project Alpha",
"version": "1.0.0",
"features": ["fast", "reliable", "secure"]
}Output (data.md):
# JSON Document
**name**: Project Alpha
**version**: 1.0.0
**features**:
- fast
- reliable
- secureConverts PDF documents while preserving:
- Text formatting and structure
- Headers and sections
- Lists and tables
- Basic styling information
"Python not found"
- Ensure Python 3.7+ is installed and in your PATH
- Try running
python --versionin terminal - Install from python.org
"Conversion failed"
- Check the Output panel (
View > Output > MarkItDown) - Verify file isn't corrupted by opening in native application
- Ensure file isn't password-protected or encrypted
"Permission denied"
- Close the file in other applications
- Check file permissions
- Try copying file to a different location
- Check the FAQ
- Search existing issues
- Create a new issue with:
- VS Code version
- Python version
- File type and size
- Error message from Output panel
We welcome contributions! See our Contributing Guide for details.
git clone https://github.com/BioInfo/vscode-markitdown.git
cd vscode-markitdown
npm install
npm run compilePress F5 to launch the Extension Development Host for testing.
See CHANGELOG.md for release history.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built on the excellent markitdown library by Microsoft
- Inspired by the need for seamless document conversion workflows
- Thanks to the VS Code extension development community
Enjoy seamless document conversion with MarkItDown! 🚀