Title: Enconvert HTML to PDF
Author: enconvert
Published: <strong>мај 20, 2026</strong>
Last modified: јуни 18, 2026

---

Search plugins

![](https://ps.w.org/enconvert-html-to-pdf/assets/banner-772x250.png?rev=3539401)

![](https://ps.w.org/enconvert-html-to-pdf/assets/icon.svg?rev=3539401)

# Enconvert HTML to PDF

 By [enconvert](https://profiles.wordpress.org/enconvert/)

[Download](https://downloads.wordpress.org/plugin/enconvert-html-to-pdf.1.0.0.zip)

 * [Details](https://mk.wordpress.org/plugins/enconvert-html-to-pdf/#description)
 * [Reviews](https://mk.wordpress.org/plugins/enconvert-html-to-pdf/#reviews)
 *  [Installation](https://mk.wordpress.org/plugins/enconvert-html-to-pdf/#installation)
 * [Development](https://mk.wordpress.org/plugins/enconvert-html-to-pdf/#developers)

 [Support](https://wordpress.org/support/plugin/enconvert-html-to-pdf/)

## Description

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](https://enconvert.com/auth?mode=signup).
 2. Generate a public API key (`pk_*`) on your [Enconvert API keys page](https://enconvert.com/dashboard/api-keys).
 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](https://enconvert.com), or try 
this conversion online at [enconvert.com/convert/html-to-pdf](https://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.

 * Service: Enconvert — [https://enconvert.com](https://enconvert.com)
 * Terms of Service: [https://enconvert.com/terms](https://enconvert.com/terms)
 * Privacy Policy: [https://enconvert.com/privacy](https://enconvert.com/privacy)

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

## Screenshots

[⌊Settings page where you paste your public API key.⌉⌊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 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.⌉[

The live converter form on a published page, with the file picker and Convert button.

## Installation

 1. Upload the `enconvert-html-to-pdf` folder to `/wp-content/plugins/`, or install
    via the Plugins menu.
 2. Activate the plugin.
 3. In your Enconvert dashboard, create a public API key (`pk_*`) and add this site’s
    domain to its allowed-domains list (wildcards like `*.example.com` work).
 4. In WordPress, go to **Settings  Enconvert HTML to PDF** and paste the public key.
 5. Insert `[enconvert_html_to_pdf]` in any page, post, or Shortcode block.

## FAQ

### Where do I get a public API key?

Sign in at [enconvert.com](https://enconvert.com) and go to **Dashboard  API Keys**.
Create a key of type “Public” (`pk_*`). Public keys are designed for browser use
and are restricted to the domains you list.

### Why a public key instead of a secret key?

Secret keys (`sk_*`) cannot be used from a browser — the API rejects them with a
403 error. Public keys (`pk_*`) 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.

### Does this plugin send files through my WordPress server?

No. The uploaded file goes directly from the visitor’s browser to `api.enconvert.
com`. Your WordPress server never touches the file or the converted output.

### My conversion fails with “Domain not authorized”. What now?

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 `*.example.com` cover all subdomains.

### Will images and stylesheets in my HTML resolve?

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.

### Does it work in the block editor?

Yes. WordPress includes a built-in **Shortcode** block. Add it and paste `[enconvert_html_to_pdf]`.
The form renders both inside the editor preview and on the published page.

### What are the conversion limits?

The free tier includes 100 conversions per month and a 5 MB max file size. Paid 
tiers raise both limits; see [enconvert.com/pricing](https://enconvert.com/pricing).

### Does it work with multisite?

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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Enconvert HTML to PDF” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ enconvert ](https://profiles.wordpress.org/enconvert/)

[Translate “Enconvert HTML to PDF” into your language.](https://translate.wordpress.org/projects/wp-plugins/enconvert-html-to-pdf)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/enconvert-html-to-pdf/),
check out the [SVN repository](https://plugins.svn.wordpress.org/enconvert-html-to-pdf/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/enconvert-html-to-pdf/)
by [RSS](https://plugins.trac.wordpress.org/log/enconvert-html-to-pdf/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release. Native form, public-key authentication, direct API calls.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 недели ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/enconvert-html-to-pdf/)
 * Tags
 * [converter](https://mk.wordpress.org/plugins/tags/converter/)[document](https://mk.wordpress.org/plugins/tags/document/)
   [html](https://mk.wordpress.org/plugins/tags/html/)[html to pdf](https://mk.wordpress.org/plugins/tags/html-to-pdf/)
   [pdf](https://mk.wordpress.org/plugins/tags/pdf/)
 *  [Advanced View](https://mk.wordpress.org/plugins/enconvert-html-to-pdf/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/enconvert-html-to-pdf/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/enconvert-html-to-pdf/reviews/)

## Contributors

 *   [ enconvert ](https://profiles.wordpress.org/enconvert/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/enconvert-html-to-pdf/)