Title: Enconvert HTML to PDF
Author: enconvert
Published: <strong>20.05.2026</strong>
Last modified: 18.06.2026

---

Шукати плагіни

![](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

 Від автора [enconvert](https://profiles.wordpress.org/enconvert/)

[Завантажити](https://downloads.wordpress.org/plugin/enconvert-html-to-pdf.1.0.0.zip)

 * [Деталі](https://uk.wordpress.org/plugins/enconvert-html-to-pdf/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/enconvert-html-to-pdf/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/enconvert-html-to-pdf/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/enconvert-html-to-pdf/#developers)

 [Підтримка](https://wordpress.org/support/plugin/enconvert-html-to-pdf/)

## Опис

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.

## Скріншоти

[⌊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.

## Встановлення

 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.

## Часті питання

### 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.

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“Enconvert HTML to PDF” — проект з відкритим вихідним кодом. В розвиток плагіну 
внесли свій вклад наступні учасники:

Учасники

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

[Перекладіть “Enconvert HTML to PDF” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/enconvert-html-to-pdf)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/enconvert-html-to-pdf/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/enconvert-html-to-pdf/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/enconvert-html-to-pdf/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/enconvert-html-to-pdf/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.0.0

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

## Мета

 *  Версія **1.0.0**
 *  Останнє оновлення **2 тижні тому**
 *  Активних встановлень **Менше 10**
 *  Версія WordPress ** 5.0 або вище **
 *  Tested up to **7.0**
 *  Версія PHP ** 7.4 або вище **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/enconvert-html-to-pdf/)
 * Позначки
 * [converter](https://uk.wordpress.org/plugins/tags/converter/)[document](https://uk.wordpress.org/plugins/tags/document/)
   [html](https://uk.wordpress.org/plugins/tags/html/)[html to pdf](https://uk.wordpress.org/plugins/tags/html-to-pdf/)
   [pdf](https://uk.wordpress.org/plugins/tags/pdf/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/enconvert-html-to-pdf/advanced/)

## Оцінки

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/)

## Учасники

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

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/enconvert-html-to-pdf/)