{"id":10811,"date":"2026-05-20T22:30:40","date_gmt":"2026-05-20T14:30:40","guid":{"rendered":"https:\/\/aeosub.com\/enconvert-html-to-pdf\/"},"modified":"2026-05-20T22:30:40","modified_gmt":"2026-05-20T14:30:40","slug":"enconvert-html-to-pdf","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/enconvert-html-to-pdf\/","title":{"rendered":"Enconvert HTML to PDF"},"content":{"rendered":"<div class=\"post-img\" style=\"margin-bottom: 25px\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/banner-1544x500.png?rev=3539401\" alt=\"Enconvert HTML to PDF\" style=\"width: 100%;height: auto;border-radius: 12px\"><\/div>\n<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 15px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/icon.svg?rev=3539401\" style=\"width: 40px;height: 40px;border-radius: 6px;margin-right: 12px;vertical-align: middle\"> Developer<\/th>\n<td style=\"padding: 15px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/enconvert\/\" target=\"_blank\" rel=\"noopener\">enconvert<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.0.0<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">5.0 \/ 6.9.4<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-05-20 1:31pm GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/enconvert-html-to-pdf\/\" target=\"_blank\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\" rel=\"noopener\">View Details \u2192<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">Add an HTML-to-PDF converter to any WordPress page or post via shortcode. Powered by the Enconvert API.<\/div>\n<p>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 \u2014 just a clean form on your page.<\/p>\n<p><strong>How it works:<\/strong><\/p>\n<ol>\n<li>Generate a public API key (<code>pk_*<\/code>) at <a href=\"https:\/\/enconvert.com\/dashboard\" title=\"Open the Enconvert dashboard\" rel=\"nofollow ugc noopener\" target=\"_blank\">enconvert.com\/dashboard<\/a>.<\/li>\n<li>Add your WordPress site&#8217;s domain to the key&#8217;s allowed-domains list.<\/li>\n<li>Paste the key into the plugin settings.<\/li>\n<li>Drop <code>[enconvert_html_to_pdf]<\/code> into any page, post, or shortcode block.<\/li>\n<\/ol>\n<p><strong>What the API does behind the scenes:<\/strong><\/p>\n<ul>\n<li>Accepts <code>.html<\/code> and <code>.htm<\/code> files<\/li>\n<li>Renders via WeasyPrint, respecting your CSS <code>@page<\/code> rules, named page sizes, margins, headers, and footers<\/li>\n<li>Returns a downloadable PDF in seconds<\/li>\n<li>Supports paginated output with named sizes (A0\u2013A6, B0\u2013B5, Letter, Legal, Tabloid, Ledger) or custom dimensions<\/li>\n<\/ul>\n<p><strong>Free tier available<\/strong> \u2014 100 monthly conversions, no credit card. Paid tiers raise the limit and increase the max file size.<\/p>\n<h3>Third-Party Service<\/h3>\n<p>This plugin sends visitor-uploaded files directly from the visitor&#8217;s browser to the Enconvert API:<\/p>\n<ul>\n<li><code>https:\/\/api.enconvert.com<\/code> \u2014 receives the HTML file and returns a presigned URL for the PDF download.<\/li>\n<\/ul>\n<p>The visitor&#8217;s browser sends an <code>X-API-Key<\/code> header containing the public API key configured in plugin settings. The API validates the key and the requesting domain (the page&#8217;s origin) before accepting the conversion. Your WordPress server is not involved in the conversion request.<\/p>\n<ul>\n<li>Service: Enconvert \u2014 <a href=\"https:\/\/enconvert.com\" title=\"Visit Enconvert\" rel=\"nofollow ugc noopener\" target=\"_blank\">https:\/\/enconvert.com<\/a><\/li>\n<li>Terms of Service: <a href=\"https:\/\/enconvert.com\/terms\" title=\"Read Enconvert Terms of Service\" rel=\"nofollow ugc noopener\" target=\"_blank\">https:\/\/enconvert.com\/terms<\/a><\/li>\n<li>Privacy Policy: <a href=\"https:\/\/enconvert.com\/privacy\" title=\"Read Enconvert Privacy Policy\" rel=\"nofollow ugc noopener\" target=\"_blank\">https:\/\/enconvert.com\/privacy<\/a><\/li>\n<\/ul>\n<p>By using this plugin, you and your visitors agree to Enconvert&#8217;s Terms of Service and Privacy Policy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add an HTML-to-PDF converter to any WordPress page or post via shortcode. Powered by the Enconvert API.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[1317,1516,1517,1518,577,555],"class_list":["post-10811","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-converter","tag-document","tag-html","tag-html-to-pdf","tag-pdf","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=10811"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10811\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=10811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=10811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=10811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}