ウェブサーバー上でHTMLをPDF、DOC、TXT、TIFF、JPEGに変換します。 GUIはありません。
Windows
2000/2003/Vista
7/8/10/11
and
2012/2016/2019/2022 Server
and
Docker/Citrix/Wine
Total HTML Converter X は、HTML ファイルやライブ URL を PDF、DOC、RTF、XLS、TIFF、JPG、PNG、TXT に変換するサーバーサイド SDK です — 完全な CSS レンダリングを備え、サーバー上にヘッドレス Chrome は不要、Print Service への依存もありません。サイレントに動作します。GUI もダイアログもポップアップもありません。Total HTML Converter X には コマンドラインバイナリと ActiveX/COM インターフェースの両方が同梱されており、ASP、PHP、.NET、Python、Ruby、Java など COM 対応のあらゆるバックエンドに組み込めます。
ソースは 2 通り。ローカルの HTML/MHT ファイルパス、またはコンバーターが直接取得するリモート URL です(「このライブページを PDF にレンダリングする」ワークフローに便利)。出力対応:
Total HTML Converter X は CSS 1/2 スタイルによる改ページ制御を含むすべての HTML タグを認識し、IE 形式のヘッダー/フッター(日付、時刻、ページ数、カスタム透かし)に対応し、選択した PDF ページサイズに HTML 幅を自動的にフィットさせ(横長の HTML テーブルを印刷する際に必須)、データベースインデックス用にメタデータを抽出し、フォルダーマスクやキューファイルから静的ファイルとライブ URL の両方をバッチ処理します。
マルチユーザー対応: 同じ Windows サーバーで LAN 上のクライアントサーバー構成を実行したり、変換を Web サービスとして公開したりできます。マルチスレッドエンジンが最大速度でバッチを処理します。IIS、Docker、Citrix、Wine と互換性があります。
無料でお試しください(30 日間の試用期間、制限なし)。価格に見合う価値があることをご確認いただけます。
現在対応しているファイル形式変換の一部:
|
|
|
(30日間の無料試用を含む)
(のみ $750.00)
string src = @"C:\test\Source.html";
string dest = @"C:\test\Dest.pdf";
var cnv = new HTMLConverterX();
cnv.Convert(src, dest, "-cPDF -log c:\\test\\HTML.log");
if (!string.IsNullOrEmpty(cnv.ErrorMessage))
throw new Exception(cnv.ErrorMessage);
public static class Function1
{
[FunctionName("Function1")]
public static async Task Run(
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequest req,
ILogger log)
{
StringBuilder sbLogs = new StringBuilder();
sbLogs.AppendLine("started...");
try
{
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.CreateNoWindow = true;
startInfo.UseShellExecute = false;
var assemblyDirectoryPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
assemblyDirectoryPath = assemblyDirectoryPath.Substring(0, assemblyDirectoryPath.Length - 4);
var executablePath = $@"{assemblyDirectoryPath}\Converter\HTMLConverterX.exe";
sbLogs.AppendLine(executablePath + "...");
var srcPath = $@"{assemblyDirectoryPath}\src\sample.html";
var outPath = Path.GetTempFileName() + ".pdf";
startInfo.FileName = executablePath;
if (File.Exists(outPath))
{
File.Delete(outPath);
}
if (File.Exists(executablePath) && File.Exists(srcPath))
{
sbLogs.AppendLine("files exists...");
}
else
sbLogs.AppendLine("EXE & source files NOT exists...");
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.Arguments = $"\"{srcPath}\" \"{outPath}\" -cPDF";
using (Process exeProcess = Process.Start(startInfo))
{
sbLogs.AppendLine($"wait...{DateTime.Now.ToString()}");
exeProcess.WaitForExit();
sbLogs.AppendLine($"complete...{DateTime.Now.ToString()}");
}
sbLogs.AppendLine("Conversion complete.");
}
catch (Exception ex)
{
sbLogs.AppendLine(ex.ToString());
}
return new OkObjectResult(sbLogs);
}
}
dim C
Set C=CreateObject("HTMLConverter.HTMLConverterX")
C.Convert "c:\source.html", "c:\dest.jpg", "-cJPG -log c:\html.log"
C.Convert "https://www.coolutils.com/", "c:\URL Page.pdf", "-cPDF -log c:\html.log"
Response.Write C.ErrorMessage
set C = nothing
dim C
Set C=CreateObject("HTMLConverter.HTMLConverterX")
Response.Clear
Response.AddHeader "Content-Type", "binary/octet-stream"
Response.AddHeader "Content-Disposition", "attachment; filename=test.pdf"
Response.BinaryWrite C.ConvertToStream("C:\www\ASP\Source.html", "C:\www\ASP", "-cpdf -log c:\html.log")
set C = nothing
$src="C:\\test\\test.html";
$dest="C:\\test\\test.pdf";
if (file_exists($dest)) unlink($dest);
$c= new COM("HTMLConverter.HTMLConverterX");
$c->convert($src,$dest, "-cPDF -log c:\\HTML.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;
require 'win32ole'
c = WIN32OLE.new('HTMLConverter.HTMLConverterX')
src = "C:\\test\\test.html"
dest = "C:\\test\\test.pdf"
c.convert(src, dest, "-cPDF -log c:\\test\\HTML.log")
if not File.exist?(dest)
puts c.ErrorMessage
end
import win32com.client
import os.path
c = win32com.client.Dispatch("HTMLConverter.HTMLConverterX")
src = "C:\\test\\test.html"
dest = "C:\\test\\test.pdf"
c.convert(src, dest, "-cPDF -log c:\\test\\HTML.log")
if not os.path.exists(dest):
print(c.ErrorMessage)
uses Dialogs, Vcl.OleAuto;
var
c: OleVariant;
begin
c := CreateOleObject('HTMLConverter.HTMLConverterX');
c.Convert('c:\test\source.html', 'c:\test\dest.pdf', '-cPDF -log c:\test\HTML.log');
if c.ErrorMessage <> '' then
ShowMessage(c.ErrorMessage);
end;
var c = new ActiveXObject("HTMLConverter.HTMLConverterX");
c.Convert("C:\\test\\source.html", "C:\\test\\dest.pdf", "-cPDF");
if (c.ErrorMessage != "")
alert(c.ErrorMessage)
use Win32::OLE; my $src = "C:\\test\\test.html"; my $dest = "C:\\test\\test.pdf"; my $c = CreateObject Win32::OLE 'HTMLConverter.HTMLConverterX'; $c->convert($src, $dest, "-cPDF -log c:\\test\\HTML.log"); print $c->ErrorMessage if -e $dest;
「Total HTML Converter X を選んだ理由はいくつかあります。まず、他のコンバーターが対応できないと言っていた機能(各ページに同じヘッダーを付け、行をページ間で分断しない機能を含む)を提供してくれたこと。次に、購入前から我々の要望に対して非常に協力的で迅速に対応してくれたこと。3 つ目に、状況を説明したところ 2 つ目のロイヤリティフリーライセンスの価格調整に応じてくれたこと。4 つ目に、非常に顧客志向で、購入後も無視されることはないだろうと感じたこと — 実際その通りでした!」
Andy Poulsen
www.asp-inno.com
「毎日のポートフォリオレポートを自社のテンプレートエンジンで HTML としてレンダリングし、その HTML を Total HTML Converter X に通して、デジタル署名付きの顧客向け PDF を生成しています。-PFXFile/-PFXPass による署名シナリオは 1 回のバイナリ呼び出しで完結し、別途の後処理は不要です。1 晩あたり約 4,000 件のレポート、実行間で決定的に同じ結果が得られます。非同期で読み込まれるフォントでクラッシュしていた wkhtmltopdf パイプラインを置き換えましたが、組み込みのレンダラーは普通に動作します。」
Stefan H.
Senior Backend Developer at a financial-reporting platform
「顧客は CMS から記事をエクスポートし、アーカイブ用に PDF コピーを欲しがります。Total HTML Converter X の -HeadText/-FootText は出版メタデータを全ページに適用し、HTML 幅の自動フィットは編集テーブルを処理してくれるので、テンプレートごとにカスタム CSS を書く必要がありません。Windows Server Core 上でヘッドレス、Chromium なし、想定外もなし。本番運用 5 年、典型的な記事 HTML で当社のハードウェア上のスループットは秒間約 80 ページです。」
Margit V.
DevOps Engineer at a CMS platform
「Total HTML Converter X をロイヤリティフリーライセンスで自社のイントラネット出版製品にバンドルしました。プロジェクトごとの一回払いの料金は、wkhtmltopdf ベースの商用ラッパーが再配布権に対して要求する金額のごく一部でした。インストーラーが ActiveX を出荷して登録し、アプリが直接呼び出し、エンドユーザーには自社の UI しか見えません。32 ビット ActiveX の制限のためにパイプラインの作り直しに数日かかりましたが、回避策について尋ねた際のサポートは迅速でした。」
Carlos P.
Independent Software Vendor
「顧客向けダッシュボードは HTML で、一部のユーザーは記録用に PDF スナップショットを欲しがります。レンダリングされたダッシュボードのライブ URL を指定して Total HTML Converter X を呼び出す『PDF としてダウンロード』リンクを公開しています。コンバーターは Cookie ベースのセッションでログインし、同一の PDF レンダリングを生成します。CSS 改ページ制御は厳密に尊重されるので、複数セクションのダッシュボードはきれいに分割されます。CLI は安定しており、ドキュメントも充実していて、-log -verbosity detail でデバッグが容易になります。」
Akari N.
Lead .NET Developer at a partner-portal SaaS
Developers and IT teams that convert HTML to PDF, DOC, and images on web servers via ActiveX
Add HTML conversion to your web application via ActiveX
Web developers integrate Total HTML ConverterX into ASP, PHP, or .NET applications to convert user-submitted HTML files to PDF, DOC, or images on the server. Multiple users perform simultaneous conversions with no GUI interruptions — the converter runs silently and returns results automatically.
Convert HTML reports to PDF with digital signatures
Enterprise applications generate HTML reports on the server and use Total HTML ConverterX to convert them to PDF for delivery. Add digital signatures for document authenticity, apply custom watermarks, and auto-fit wide HTML tables to the chosen page size — all as part of the automated report pipeline.
Convert HTML content to standard formats for archival
Document management systems use Total HTML ConverterX to convert incoming HTML files, saved web pages, and email templates to PDF or TIFF for standardized storage. The converter recognizes all HTML tags and CSS styles, producing faithful output with headers, footers, and metadata extraction for database indexing.
Serve HTML conversion to all users on your local network
Organizations deploy Total HTML ConverterX as a client-server application on the local network. Employees across departments submit HTML files for conversion to PDF, XLS, or TIFF through a shared service — eliminating the need to install desktop converters on every workstation.
Batch-convert HTML files via command line on servers
IT teams run Total HTML ConverterX via command line in scheduled batch jobs and automated workflows. HTML output from web scrapers, CMS exports, or application logs is converted to PDF or images on arrival. Errors are saved to a log file for monitoring — no pop-ups or user interaction required.
Total HTML ConverterX には HTMLConverterX.exe が同梱されており、.bat スクリプト、スケジュールタスク、PHP/.NET のバックエンド、あるいは任意のサーバーサイドワーカーから呼び出せるコンソールバイナリです。フラグの体系は GUI 版の HtmlConverter.exe と一致しています。すべてのオプションはコマンドライン ドキュメントを参照してください。以下のレシピは、SDK のお客様から最も多く寄せられるリクエストを取り上げています。
最小の呼び出し方 — ソースファイル 1 つ、出力 1 つ、ターゲット形式 1 つ。
HTMLConverterX.exe "C:\pages\index.html" "C:\out\index.pdf" -cPDF
フォルダ内のすべての HTML ファイルを処理し、隣接する出力ディレクトリに PDF を出力します。
HTMLConverterX.exe "C:\pages\*.html" "C:\out\" -cPDF
マスクを *.mht、*.mhtml、または *.htm に切り替えると、別のソース形式を選択できます。
ソース引数はファイルパスだけでなく URL も指定できます。Chrome のレンダリングエンジンが最新の CSS、Web フォント、JavaScript を多用するページを処理します。
HTMLConverterX.exe "https://www.coolutils.com" "C:\out\coolutils.pdf" -cPDF -engine chrome
ドキュメントサイトやエクスポートされた wiki がフラットな 1 フォルダに収まることはまずありません。-Recurse はサブディレクトリを走査し、-kfs はすべてを 1 つのバケットにフラット化する代わりに、出力側に同じツリーを再現します。
HTMLConverterX.exe "C:\docs\manual\*.html" "C:\out\manual\" -cPDF -Recurse -kfs
典型的なサイト全体エクスポートの仕事:一緒に扱うべき何十枚ものページ。-combine はソースファイル順にマージし、-toc は目次を生成します。
HTMLConverterX.exe "C:\docs\manual\*.html" "C:\out\manual.pdf" -cPDF -combine -toc -sort name
マルチページ TIFF をターゲットとする場合は、-combine の代わりに -Multipage を使用します。
レポートでは通常、すべてのページの上部にタイトル、下部に「Page 1 of 10」が必要です。[page] と [date] プレースホルダーはレンダリング時に展開されます。
HTMLConverterX.exe "C:\pages\*.html" "C:\out\" -cPDF -HeadText "Acme Quarterly Report — [date]" -HeadAlign center -FootText "Page [page]" -FootAlign right
ドラフトをクライアントに送る際の定石:オーナーパスワードで編集/印刷権限をロックし、ユーザーパスワードでファイルを開く操作を制限し、透かしで各ページにラベルを付けます。
HTMLConverterX.exe "C:\pages\*.html" "C:\out\" -cPDF -mp "owner-pwd" -up "user-pwd" -perm Print -wmt "CONFIDENTIAL" -wmr 45 -wtr 30
Print を Copy、Modify、Annotation、FormFill、HighResPrint の任意の組み合わせに置き換えて、付与する権限を正確に指定できます。
検証可能な署名者が必要な契約書、請求書、その他の文書向け。PFX ファイルが証明書を保持し、-PFXPass がそれを解除します。
HTMLConverterX.exe "C:\pages\contract.html" "C:\out\contract.pdf" -cPDF -PFXFile "C:\certs\acme.pfx" -PFXPass "cert-pwd" -SignName "Acme Legal" -SignLoc "New York, NY" -SignRes "Approved by counsel"
ISO 19005 準拠の PDF/A ファイルと適切な作成メタデータを必要とする記録管理ワークフロー向け。
HTMLConverterX.exe "C:\pages\*.html" "C:\archive\" -cPDF -pdfa -PDFAuthor "Acme Inc." -PDFTitle "Knowledge Base 2026" -PDFSubject "Support articles snapshot"
ワーカーがキューファイルを書き出し、コンバーターがそれを消費する場合、すべてのパスをコマンドラインに書きたくないでしょう。-list はテキストファイルから 1 行 1 ファイルマスクを読み、-verbosity detail はファイルごとに 1 行のログを書き込み、-logmode append は実行をまたいで履歴を維持します。
HTMLConverterX.exe -list "C:\queues\batch.txt" "C:\out\" -cPDF -log "C:\logs\htmlconv.log" -verbosity detail -logmode append
更新 Fri, 01 May 2026
(のみ $750.00)
|
|
|
C.Convert("https://www.example.com/report", "c:\out\report.pdf", "-cPDF")。ライブのステータスダッシュボード、生成されたレポート、パートナーポータルのページをスケジュールに従って PDF にレンダリングする用途で広く使われています。new COM("HTMLConverter.HTMLConverterX")、.NET では new HTMLConverterX()、Python では win32com.client.Dispatch("HTMLConverter.HTMLConverterX")、Ruby では WIN32OLE.new('HTMLConverter.HTMLConverterX')。あるいは、HTMLConverterX.exe コマンドラインバイナリを任意のプロセス、スケジューラー、シェルスクリプトから呼び出すこともできます。ASP/PHP の Web レスポンス用に ConvertToStream による PDF 直接ストリーミングも利用できます。-PFXFile "C:\certs\cert.pfx" -PFXPass "cert-pwd" を使うと、出力 PDF に X.509 証明書でデジタル署名できます。-HeadText と -FootText はカスタムヘッダー/フッターを追加し、[page]、[date]、[time] といったテンプレートトークンを使えます — IE の印刷ヘッダーに相当します。透かし(テキストまたは画像)、AES-256 暗号化、権限ごとのフラグ (-perm Print|Copy|Modify) もすべてサポートされています。page-break-before、page-break-after、page-break-inside: avoid) も尊重されるので、行やセクションといった論理的なまとまりはページ間で分断されません。-PageSize でジョブごとにターゲットの用紙サイズ (A4、Letter、Legal など) を指定します。無料トライアルをダウンロードして、ファイルを数分で変換。
クレジットカードもメールアドレスも不要。