{"id":309635,"date":"2026-05-20T13:34:58","date_gmt":"2026-05-20T13:34:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/enconvert-html-to-pdf\/"},"modified":"2026-05-20T13:31:28","modified_gmt":"2026-05-20T13:31:28","slug":"enconvert-html-to-pdf","status":"publish","type":"plugin","link":"https:\/\/ru.wordpress.org\/plugins\/enconvert-html-to-pdf\/","author":23494915,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Enconvert HTML to PDF","header_author":"Enconvert","header_description":"Add an HTML-to-PDF converter to any WordPress page or post via shortcode. Powered by the Enconvert API.","assets_banners_color":"daebfd","last_updated":"2026-05-20 13:31:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/enconvert.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":42,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"enconvert","date":"2026-05-20 13:31:28"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3539401,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3539401,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3539401,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3539401,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3539401,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner.svg":{"filename":"banner.svg","revision":3539401,"resolution":false,"location":"assets","locale":false}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3539497,"resolution":"1","location":"assets","locale":"","width":1585,"height":697},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3539497,"resolution":"2","location":"assets","locale":"","width":732,"height":281},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3539497,"resolution":"3","location":"assets","locale":"","width":757,"height":407}},"screenshots":{"1":"Settings page where you paste your public API key.","2":"The Shortcode block in the WordPress block editor.","3":"The live converter form on a published page, with the file picker and Convert button."}},"plugin_section":[],"plugin_tags":[5520,8470,246,38117,1764],"plugin_category":[50,59],"plugin_contributors":[263694],"plugin_business_model":[],"class_list":["post-309635","plugin","type-plugin","status-publish","hentry","plugin_tags-converter","plugin_tags-document","plugin_tags-html","plugin_tags-html-to-pdf","plugin_tags-pdf","plugin_category-media","plugin_category-utilities-and-tools","plugin_contributors-enconvert","plugin_committers-enconvert"],"banners":{"banner":"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/banner-772x250.png?rev=3539401","banner_2x":"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/banner-1544x500.png?rev=3539401","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/icon.svg?rev=3539401","icon":"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/icon.svg?rev=3539401","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/screenshot-1.png?rev=3539497","caption":"Settings page where you paste your public API key."},{"src":"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/screenshot-2.png?rev=3539497","caption":"The Shortcode block in the WordPress block editor."},{"src":"https:\/\/ps.w.org\/enconvert-html-to-pdf\/assets\/screenshot-3.png?rev=3539497","caption":"The live converter form on a published page, with the file picker and Convert button."}],"raw_content":"<!--section=description-->\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\n<p><strong>How it works:<\/strong><\/p>\n\n<ol>\n<li>Generate a public API key (<code>pk_*<\/code>) at <a href=\"https:\/\/enconvert.com\/dashboard\" title=\"Open the Enconvert dashboard\">enconvert.com\/dashboard<\/a>.<\/li>\n<li>Add your WordPress site's domain to the key'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\n<p><strong>What the API does behind the scenes:<\/strong><\/p>\n\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\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\n<h3>Third-Party Service<\/h3>\n\n<p>This plugin sends visitor-uploaded files directly from the visitor's browser to the Enconvert API:<\/p>\n\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\n<p>The visitor'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's origin) before accepting the conversion. Your WordPress server is not involved in the conversion request.<\/p>\n\n<ul>\n<li>Service: Enconvert \u2014 <a href=\"https:\/\/enconvert.com\" title=\"Visit Enconvert\">https:\/\/enconvert.com<\/a><\/li>\n<li>Terms of Service: <a href=\"https:\/\/enconvert.com\/terms\" title=\"Read Enconvert Terms of Service\">https:\/\/enconvert.com\/terms<\/a><\/li>\n<li>Privacy Policy: <a href=\"https:\/\/enconvert.com\/privacy\" title=\"Read Enconvert Privacy Policy\">https:\/\/enconvert.com\/privacy<\/a><\/li>\n<\/ul>\n\n<p>By using this plugin, you and your visitors agree to Enconvert's Terms of Service and Privacy Policy.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>enconvert-html-to-pdf<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install via the Plugins menu.<\/li>\n<li>Activate the plugin.<\/li>\n<li>In your Enconvert dashboard, create a public API key (<code>pk_*<\/code>) and add this site's domain to its allowed-domains list (wildcards like <code>*.example.com<\/code> work).<\/li>\n<li>In WordPress, go to <strong>Settings \u2192 Enconvert HTML to PDF<\/strong> and paste the public key.<\/li>\n<li>Insert <code>[enconvert_html_to_pdf]<\/code> in any page, post, or Shortcode block.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20get%20a%20public%20api%20key%3F\"><h3>Where do I get a public API key?<\/h3><\/dt>\n<dd><p>Sign in at <a href=\"https:\/\/enconvert.com\" title=\"Visit Enconvert\">enconvert.com<\/a> and go to <strong>Dashboard \u2192 API Keys<\/strong>. Create a key of type \"Public\" (<code>pk_*<\/code>). Public keys are designed for browser use and are restricted to the domains you list.<\/p><\/dd>\n<dt id=\"why%20a%20public%20key%20instead%20of%20a%20secret%20key%3F\"><h3>Why a public key instead of a secret key?<\/h3><\/dt>\n<dd><p>Secret keys (<code>sk_*<\/code>) cannot be used from a browser \u2014 the API rejects them with a 403 error. Public keys (<code>pk_*<\/code>) are safe to use in front-end code because they are restricted to a list of domains you control. If someone copies your key, it will not work on their site.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20send%20files%20through%20my%20wordpress%20server%3F\"><h3>Does this plugin send files through my WordPress server?<\/h3><\/dt>\n<dd><p>No. The uploaded file goes directly from the visitor's browser to <code>api.enconvert.com<\/code>. Your WordPress server never touches the file or the converted output.<\/p><\/dd>\n<dt id=\"my%20conversion%20fails%20with%20%22domain%20not%20authorized%22.%20what%20now%3F\"><h3>My conversion fails with \"Domain not authorized\". What now?<\/h3><\/dt>\n<dd><p>The domain serving the WordPress page is not in the API key's allowed-domains list. Open your Enconvert dashboard, edit the key, and add your site's domain. Wildcards like <code>*.example.com<\/code> cover all subdomains.<\/p><\/dd>\n<dt id=\"will%20images%20and%20stylesheets%20in%20my%20html%20resolve%3F\"><h3>Will images and stylesheets in my HTML resolve?<\/h3><\/dt>\n<dd><p>External resources referenced by URL inside the uploaded HTML may not load, because conversion runs in a sandboxed environment. For consistent results, inline your CSS and base64-encode your images, or ensure all referenced URLs are publicly accessible.<\/p><\/dd>\n<dt id=\"does%20it%20work%20in%20the%20block%20editor%3F\"><h3>Does it work in the block editor?<\/h3><\/dt>\n<dd><p>Yes. WordPress includes a built-in <strong>Shortcode<\/strong> block. Add it and paste <code>[enconvert_html_to_pdf]<\/code>. The form renders both inside the editor preview and on the published page.<\/p><\/dd>\n<dt id=\"what%20are%20the%20conversion%20limits%3F\"><h3>What are the conversion limits?<\/h3><\/dt>\n<dd><p>The free tier includes 100 conversions per month and a 5 MB max file size. Paid tiers raise both limits; see <a href=\"https:\/\/enconvert.com\/pricing\" title=\"View Enconvert pricing\">enconvert.com\/pricing<\/a>.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20multisite%3F\"><h3>Does it work with multisite?<\/h3><\/dt>\n<dd><p>Yes, but each site needs to activate the plugin and configure its own API key. The plugin has not been tested as a network-activated plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release. Native form, public-key authentication, direct API calls.<\/li>\n<\/ul>","raw_excerpt":"Add an HTML-to-PDF converter to any WordPress page or post via shortcode. Powered by the Enconvert API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/309635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=309635"}],"author":[{"embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/enconvert"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=309635"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=309635"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=309635"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=309635"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=309635"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=309635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}