MdToPdf
Convert Markdown files into clean, shareable PDF documents inside VS Code — turn READMEs, notes, and docs into portable PDFs in one step, free and offline.
VS Code Marketplace ↗ Open VSX ↗ Source on GitHub ↗
Key takeaways
- MdToPdf is a free Visual Studio Code extension that convert Markdown files into clean, shareable PDF documents inside VS Code — turn READMEs, notes, and docs into portable PDFs in one step, free and offline.
- It runs entirely offline inside the editor and keeps your files on your own machine.
- Install it free from the Visual Studio Marketplace or Open VSX in seconds.
- Core capabilities include command: Markdown to PDF: Convert File; right-click .md in Explorer and convert directly from the context menu; select a .md file and generate a .pdf file.
Convert Markdown files to PDF inside VS Code.
Features
- Command:
Markdown to PDF: Convert File - Right-click
.mdin Explorer and convert directly from the context menu - Select a
.mdfile and generate a.pdffile - Optional auto-open of the generated PDF file
- Configurable output folder and overwrite behavior
Extension Settings
mdtopdfext.outputFolder: Target folder for generated PDF files.- Empty: save next to source
.md - Relative: resolved from the first workspace folder
- Absolute: used directly
- Empty: save next to source
mdtopdfext.overwriteExisting: Overwrite existing.pdffile if present.mdtopdfext.openAfterConvert: Open generated PDF file after conversion.mdtopdfext.chromeExecutablePath: Optional path to Chrome/Chromium executable used by the converter.
Publish
- Install VSCE globally:
npm i -g @vscode/vsce - Login once:
vsce login michaelsam94 - Publish:
vsce publish
Frequently asked questions
What is the MdToPdf VS Code extension?
MdToPdf is a free Visual Studio Code extension by Michael Samuel Naeem that convert Markdown files into clean, shareable PDF documents inside VS Code — turn READMEs, notes, and docs into portable PDFs in one step, free and offline. It runs inside the editor so document work stays next to your code and notes.
How do I install MdToPdf?
Open the Extensions view in VS Code and search for "MdToPdf", or install it from the Visual Studio Marketplace or the Open VSX registry. No account or sign-in is required.
Is MdToPdf free to use?
Yes. MdToPdf is free on both the Visual Studio Marketplace and Open VSX, and its source code is published on GitHub for review.
Does MdToPdf work offline?
Yes. MdToPdf processes files locally inside VS Code, so it works without an internet connection and your documents never leave your machine.
What can MdToPdf do?
Key capabilities include command: Markdown to PDF: Convert File; right-click .md in Explorer and convert directly from the context menu; select a .md file and generate a .pdf file.
Hiring a senior Android / Flutter engineer?
I architect and ship production mobile software — Kotlin, Jetpack Compose, Flutter — for robotics, EV infrastructure, fintech, and real-time systems. Open to remote roles in Europe and the US.
Get in touch →All VS Code extension names
Complete index of Michael Samuel Naeem Visual Studio Code extensions for PDF, DOCX, Markdown, CSV, and workspace document workflows. Search engines can discover each exact product name, package, marketplace listing, and source page from this index.
- Context Porter DeveloperApplication
- CSV Studio DeveloperApplication
- DocxToMd DeveloperApplication
- DocxToPdf DeveloperApplication
- DocxViewer DeveloperApplication
- MdToPdf DeveloperApplication
- MdViewer DeveloperApplication
- PdfToMd DeveloperApplication
- PdfViewer DeveloperApplication