wp-mpdf
View on WordPress.orgScores higher than 12% of indexed plugins
About
Print Wordpress posts as PDF. Optional with Geshi highlighting.
Security History
What It Does
wp-mpdf adds a print or download as PDF button to WordPress posts, converting post content into PDF files using the mPDF library. It supports optional GeSHi syntax highlighting, which makes it useful for rendering code blocks cleanly in the exported document. The plugin works on a per-post basis rather than generating bulk archives.
Who It's For
This plugin suits technical blogs, tutorial sites, and educational platforms that publish content with code samples and want readers to save articles as clean, printable PDFs. It also works for small publishers who need a lightweight export feature without a full document management system. Developers documenting APIs or libraries will appreciate the GeSHi integration for readable code in the output.
Who Should Skip It
If you need PDF embedding, PDF invoices, WooCommerce packing slips, or a viewer for existing PDF files, this plugin is the wrong tool entirely. E-commerce stores and anyone producing branded marketing PDFs should look at the alternatives below.
The Bottom Line
wp-mpdf is a focused, well-rated tool for one specific job: turning posts into PDFs with clean code rendering. Its tiny install base, zero public support history, and lack of a declared PHP requirement make it a cautious recommendation for non-critical use. If you only need simple post-to-PDF export with syntax highlighting, it does the job; if you need anything more, look elsewhere.
Related Plugins
Choose this if you run a WooCommerce store and need to attach PDF invoices and packing slips to order emails.
Pick this when your goal is to display existing PDF documents inline within WordPress pages, not generate them from posts.
Use this if you simply need a lightweight way to embed PDF files in posts and pages for visitors to read on site.
Go with PDF Poster when you want a customizable viewer experience for hosted PDF assets rather than post-to-PDF conversion.
This is a different category entirely and only worth considering if your real need is photo album management, not PDF export.