HTML to PDF
HTML to PDF .NET Converter Plugin
Convert HTML files to PDF while preserving layout, fonts, and images. No browser required.
Quick start
Convert HTML to PDF in minutes
- Install the package Add GroupDocs.Conversion.LowCode to your project using the .NET CLI.
- Copy and paste the code Set up the license, create the converter, and run the conversion.
- Run your application Your HTML file is converted to PDF.
dotnet add package GroupDocs.Conversion.LowCode
using GroupDocs.Conversion.LowCode;// Set your licenseLicense.Set("GroupDocs.Conversion.LowCode.lic");// Create a converter for an HTML filevar converter = new HtmlToPdfConverter("source.html");// Convert to PDFconverter.Convert("output.pdf");open GroupDocs.Conversion.LowCode// Set your licenseLicense.Set("GroupDocs.Conversion.LowCode.lic")// Create a converter for an HTML filelet converter = new HtmlToPdfConverter("source.html")// Convert to PDFconverter.Convert("output.pdf")Imports GroupDocs.Conversion.LowCode' Set your licenseLicense.Set("GroupDocs.Conversion.LowCode.lic")' Create a converter for an HTML fileDim converter As New HtmlToPdfConverter("source.html")' Convert to PDFconverter.Convert("output.pdf")About the package
Built on the GroupDocs.Conversion SDK
These document conversion plugins support converting PDF, Word, Excel, PowerPoint, and HTML files. The cross-platform package runs on Windows, macOS, and Linux under .NET 6+, with a lightweight footprint for server or desktop apps.
All conversion plugins →FAQ
About this converter
Questions about trials, licenses and payment are answered once, on Pricing & licensing.
Can I try HTML to PDF before buying?
Yes. Install the package and run the converter in evaluation mode; output carries a watermark until a license is set. For a full test, request a free temporary license.
Is there an online demo?
Try the HTML to PDF Converter App, powered by the same conversion engine.
Does it need a web browser?
No. The converter renders the HTML itself and runs on .NET 6+ on Windows, macOS and Linux without a browser installed.
Other converters in this package
$99 eachDOCX → PDF
Convert Word documents (DOCX) to PDF with preserved formatting and layout.
PDF → PDF/A
Transform PDFs into archival‑compliant PDF/A‑2A or PDF/A‑1b formats for long‑term preservation.
XLSX → PDF
Convert Excel (XLSX) spreadsheets to PDF with accurate formatting and layout retention.
PPTX → PDF
Convert PowerPoint (PPTX) presentations into PDF slides while keeping transitions and layout.
XLS → PDF
Transform legacy Excel (XLS) workbooks into PDFs without requiring MS Office interop.
DOC → PDF
Convert older Word (DOC) files to PDF, preserving text, images, and styles.
PPT → PDF
Convert classic PowerPoint (PPT) decks into PDF, maintaining slide fidelity.
PDF → DOCX
Convert PDF files into editable DOCX documents while preserving layout and formatting.
PDF → MD
Extract text and structure from PDFs into Markdown for easy editing and version control.