跳到内容

EnConvert HTML to PDF

v1.0.1

enconvert · 2026年5月20日 上架

Add an HTML-to-PDF converter to any WordPress page or post via shortcode. Powered by the EnConvert API.

正在使用
10 以下
评分
暂无
累计下载
448
最近更新
2026年8月22日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Settings page where you paste your public API key.
Settings page where you paste your public API key.
The Shortcode block in the WordPress block editor.
The Shortcode block in the WordPress block editor.
The live converter form on a published page, with the file picker and Convert button.
The live converter form on a published page, with the file picker and Convert button.

Let visitors upload an HTML file and download a CSS-faithful PDF, right from any WordPress page. The plugin renders a native form on your site and sends the file directly to the EnConvert API for conversion. No iframe, no extra tracking — just a clean form on your page.

How it works:

  1. Create a free EnConvert account.
  2. Generate a public API key (pk_*) on your EnConvert API keys page.
  3. Add your WordPress site’s domain to the key’s allowed-domains list.
  4. Paste the key into the plugin settings.
  5. Drop [enconvert_html_to_pdf] into any page, post, or shortcode block.

New to EnConvert? Visit the EnConvert homepage, or try this conversion online at enconvert.com/convert/html-to-pdf.

What the API does behind the scenes:

  • Accepts .html and .htm files
  • Renders via WeasyPrint, respecting your CSS @page rules, named page sizes, margins, headers, and footers
  • Returns a downloadable PDF in seconds
  • Supports paginated output with named sizes (A0–A6, B0–B5, Letter, Legal, Tabloid, Ledger) or custom dimensions

Free tier available — 100 monthly conversions, no credit card. Paid tiers raise the limit and increase the max file size.

Third-Party Service

This plugin sends visitor-uploaded files directly from the visitor’s browser to the EnConvert API:

  • https://api.enconvert.com — receives the HTML file and returns a presigned URL for the PDF download.

The visitor’s browser sends an X-API-Key header containing the public API key configured in plugin settings. The API validates the key and the requesting domain (the page’s origin) before accepting the conversion. Your WordPress server is not involved in the conversion request.

By using this plugin, you and your visitors agree to EnConvert’s Terms of Service and Privacy Policy.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums