Your web application needs to turn an HTML page into a PDF, DOC, or TIFF on the server. The obvious options are painful: a headless browser eats RAM and crashes under load, a command-line process is slow to start and hard to monitor, a cloud API leaks your data and charges per call.
Total HTML Converter X exposes a full ActiveX / COM interface. Instantiate the object once from .NET, PHP, Python, ASP, VBScript, or any COM-capable runtime, call Convert(), get the output file. No subprocess spawning, no browser rendering, no external API. Files never leave your server.
Process.Start(), no stdout parsing, no zombie processes.(30-day trial — no email required)
Server license starts at $249.90
ActiveX is a Microsoft component model. In practical terms, it means Total HTML Converter X registers a COM class in Windows (HTMLConverter.HTMLConverterX) that any COM-aware runtime can instantiate and call. You are not calling a REST API or a command-line process — you are loading a DLL into your application and invoking methods on an in-process object.
This matters for three reasons:
Any language that speaks COM works: C# and VB.NET via .NET interop, C++ via CoCreateInstance, PHP via the COM class, Python via pywin32, Classic ASP via Server.CreateObject, VBScript, JScript/WSH, Delphi, PowerShell, Ruby via win32ole, and Node.js via winax.
reg query HKCR\HTMLConverter.HTMLConverterX. If the key exists, the COM object is ready.Type.GetTypeFromProgID(). In PHP, use new COM("HTMLConverter.HTMLConverterX"). In Python, use win32com.client.Dispatch("HTMLConverter.HTMLConverterX").Convert(source, destination, options). Pass the input HTML path, output file path, and an options string with flags like -c PDF, -OwnerPassword secret, -Watermark CONFIDENTIAL.C# / .NET
var conv = Activator.CreateInstance(
Type.GetTypeFromProgID("HTMLConverter.HTMLConverterX"));
conv.GetType().InvokeMember("Convert",
System.Reflection.BindingFlags.InvokeMethod, null, conv,
new object[] { @"C:\In\report.html", @"C:\Out\report.pdf",
"-c PDF -OwnerPassword s3cret -NoPrint" });
PHP
$c = new COM("HTMLConverter.HTMLConverterX");
$c->Convert(
"C:\\In\\report.html",
"C:\\Out\\report.pdf",
"-c PDF -Watermark DRAFT -log C:\\Logs\\html.log"
);
Python (pywin32)
import win32com.client
conv = win32com.client.Dispatch("HTMLConverter.HTMLConverterX")
conv.Convert(
r"C:\In\report.html",
r"C:\Out\report.pdf",
"-c PDF -OwnerPassword secret -NoPrint"
)
Classic ASP / VBScript
Set Conv = Server.CreateObject("HTMLConverter.HTMLConverterX")
Conv.Convert _
"C:\In\report.html", _
"C:\Out\report.pdf", _
"-c PDF -Watermark ""COMPANY CONFIDENTIAL"""
Set Conv = Nothing
The third argument to Convert() is a space-separated flag string. The key flag is -c FORMAT. Change it and you change the output:
| Flag | Output | Typical Use |
|---|---|---|
-c PDF | Archiving, printing, distribution | |
-c DOC / -c DOCX | Microsoft Word | Further editing, collaboration |
-c XLS | Excel | Extracting tables from HTML for analysis |
-c TIFF | Multi-page TIFF | Fax systems, document imaging pipelines |
-c JPEG | JPEG image | Thumbnails, embedded previews |
-c RTF | Rich Text | Word-compatible editable output without DOCX |
-c TXT | Plain text | Text indexing, search systems |
-c XHTML | XHTML | Cleaned-up HTML output |
You can combine with security and layout flags:
-OwnerPassword secret — PDF owner password (controls permissions)-UserPassword open123 — PDF open password-NoPrint / -NoCopy / -NoModify — PDF permission restrictions-Watermark "CONFIDENTIAL" — stamp watermark text on every page-PageSize A4 / Letter / Legal — paper size-log C:\Logs\html.log — write conversion log for monitoringIf you need to convert HTML files for many users, you have two paths. Either install desktop Total HTML Converter on each computer — one license per workstation, conversion runs locally for each user — or install Total HTML Converter X on a single server and let every user (or every application) call it via ActiveX or the command line. The X version is the right pick when conversion is part of an automated pipeline rather than something individual users trigger by hand.
| Aspect | Total HTML Converter X (ActiveX) | Command Line | Headless Browser |
|---|---|---|---|
| Startup cost | None (in-process DLL) | Process spawn per call | Heavy — new browser instance |
| Memory footprint | Small | Small | Large (Chromium = 200+ MB) |
| Concurrency | Thread-safe per process | Multi-process | One browser per worker |
| Error handling | Native language exception | Parse stdout / exit code | Parse JSON protocol |
| Output formats | PDF, DOC, XLS, TIFF, JPEG, RTF, TXT, XHTML | Same (same engine) | Usually PDF + PNG only |
| Deployment | Single MSI install | Single MSI install | Browser + driver + sandbox |
| Network required | No | No | No (once installed) |
No GUI, no confirmation dialogs, no "Save As" prompts. Runs under IIS, inside Windows services, or from scheduled tasks with no user logged in.
No browser required. The converter parses HTML and CSS with its own code. This means no Chrome updates breaking your pipeline, no browser profiles, no driver version mismatches.
Unlike per-user or per-conversion pricing, Total HTML Converter X is licensed per server. Serve thousands of users from one license.
The installer ships with working ASP, PHP, and C++ sample projects. Open them in Visual Studio, an IDE of your choice, or a text editor and adapt them to your needs.
No watermark, no conversion limit, no email required to download. Integrate it into your prototype, prove it works, then license it.
(30-day trial — no email required)
Server license starts at $249.90
Windows 7/8/10/11 • Server 2012/2016/2019/2022
"Replaced a Puppeteer pipeline that was consuming 2 GB of RAM per worker and crashing nightly. The ActiveX call fits into our existing .NET worker service — one method call, no subprocess, no headless browser to restart. Memory stays flat. PDF output quality is better than what Chromium gave us, especially on CSS with tables."
Daniel Park Senior Backend Engineer
"We run a PHP billing portal under IIS. Invoices are generated as HTML templates, converted to PDF on the fly, and emailed to customers. The COM integration is three lines of PHP. No cloud API, no files leaving our server. The $249.90 one-time license paid for itself in the first week of use versus the per-document API we were evaluating."
Amira Hassan Web Applications Developer
"Integrated with a Classic ASP application that has been running for 15+ years. <code>Server.CreateObject("HTMLConverter.HTMLConverterX")</code> worked on the first try under IIS. Good that the 32-bit and 64-bit registrations are separate — I needed the 32-bit build. Documentation could use more samples for VB6 specifically, but the ASP sample was close enough to adapt."
Victor Rossi IT Integration Lead
CoCreateInstance), PHP (via the COM class), Python (via pywin32), Classic ASP and VBScript (via Server.CreateObject), JScript / WSH, Delphi, PowerShell, Ruby (via win32ole), and Node.js (via winax or similar bindings).Server.CreateObject. ASP.NET applications reference the COM class directly. The IIS application pool identity needs read access to source HTML files, write access to the output directory, and read access to the COM registry hive. For Classic ASP, enable 32-bit applications in the app pool if you installed the 32-bit build.Convert() method raises a COM exception that surfaces in your language as a native exception — COMException in .NET, com_exception in PHP, pywintypes.com_error in Python, a runtime error in VBScript. The exception carries the HRESULT and a descriptive message so you can log or recover.Convert(). Example: Convert(src, dst, "-c PDF -Watermark DRAFT -OwnerPassword secret -NoPrint").windowsservercore base image but not on the smaller nanoserver image (which lacks full COM support). The 30-day trial is an easy way to verify your exact deployment target.Convert() method expects a local file path for the source. If you need to process a live URL, download it first in your application (any HTTP client works), save to a temp file, then pass the temp path to the converter.
Download free trial and convert your files in minutes.
No credit card or email required.

Related Topics
Convert HTML to PDF via Command Line — Server Batch Converter