HTML to PDF Converter
Convert any WordPress page or post to PDF with the html2pdf.app API — via a shortcode or an automatic "Save as PDF" button.
Mit Vorsicht verwenden
HTML to PDF Converter works, but test it on a staging site before relying on it in 2026. It runs on 60+ sites, is rated 3/5 and was last updated 6 months ago, and scores 54/100 on our health check.
- Small user base (60+ active installs)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where HTML to PDF Converter stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| convert to pdf | #19 |
| html2pdf | #2 |
| page to pdf | #58 |
| >100 | |
| save to pdf | #30 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 3 from 2 reviews
About HTML to PDF Converter
Aus der offiziellen Readme · V1.1.0Beschreibung
The “HTML to PDF Converter” plugin, created by html2pdf.app, lets your visitors save any WordPress page or post as a PDF. Install the plugin, add your API key, and either drop a shortcode where you want the download link — or switch on the automatic button to add a “Save as PDF” link to every post and page with no shortcode at all.
Conversions are handled by the html2pdf.app cloud API, the same engine used by the standalone service, so PDFs render with full CSS, web fonts, and images.
Merkmale
- One shortcode — add a download button anywhere with
[html2pdf text="Save as PDF"]. - Automatic button — show a “Save as PDF” button on chosen post types automatically, with no shortcode. Choose the position (before, after, or both) and the button text.
- Print-ready output — set the CSS media type to
screenorprint(globally or per shortcode) to use your theme’s@media printstyles and hide unwanted sections. - Full conversion control — page format (A4, Letter, Legal, and more), portrait/landscape orientation, custom margins, and custom width/height.
- Test your connection — validate your API key from the settings page in one click before you go live.
- Styled, theme-friendly button — ships with a clean default style that your theme can override, and is hidden automatically in the PDF when converting with print media.
Why a PDF plugin?
PDF downloads are useful for invoices, receipts, documentation, recipes, event tickets, knowledge-base articles, and any content your visitors want to save or print. This plugin gives them a one-click way to do it.
Externe Dienste
This plugin relies on the third-party html2pdf.app API to generate PDFs. When a visitor clicks a conversion link, the URL of the page being converted (together with your conversion settings) is sent to https://api.html2pdf.app/v1/generate, which fetches that public URL, renders it, and returns the PDF. Your API key is sent with the request for authentication.
Because the API fetches the page itself, the page being converted must be publicly accessible on the internet.
- Service: html2pdf.app — https://html2pdf.app
- Terms of Service: https://html2pdf.app/terms-of-service/
- Privacy Policy: https://html2pdf.app/privacy-policy/
Plugin Settings
Go to Settings → HTML to PDF to configure:
- API Key — your html2pdf.app key (with a “Test connection” button to verify it).
- Page Format — Letter, Legal, Tabloid, Ledger, or A0–A6.
- Landscape — switch orientation to landscape.
- Media —
screenorprint. Choose “print” to apply your theme’s@media printstyles. This is the default for every button and can be overridden per shortcode. - Margins — top, right, bottom, and left margins in pixels.
- Width / Height — optional custom page size in pixels.
- Automatic button — enable it, choose which post types it appears on, its position, and the button text.
Verwendung
Shortcode
Add the shortcode to any page or post:
[html2pdf text="Save as PDF"]
Supported attributes:
text— the button label (default: “Generate PDF”).media—screenorprint(defaults to the Media setting).
Beispiel: [html2pdf text="Download PDF" media="print"]
Automatic button (no shortcode)
Under Settings → HTML to PDF → Automatic Save as PDF button, enable the button and pick the post types, position, and label. The button is then added to that content automatically.
Beispiele
Hide parts of the page from the PDF. Add the html2pdf_hide class to any element (header, footer, sidebar, etc.) and it will be excluded from the generated PDF, while still showing normally to your visitors:
<div class="html2pdf_hide"> ... not included in the PDF ... </div>
No extra CSS or print media is required — the conversion button is hidden automatically too.
For full control, the page <body> receives a html2pdf-rendering class while it is being converted, so you can target anything from your theme’s stylesheet:
.html2pdf-rendering .site-header,
.html2pdf-rendering .site-footer {
display: none !important;
}
You can also use the “media” parameter (or the Media setting) to activate your theme’s print styles: [html2pdf text="Save as PDF" media="print"].
Installation
- Upload the plugin files to
/wp-content/plugins/html-to-pdf-converter, or install the plugin through the WordPress “Plugins” screen directly. - Activate the plugin through the “Plugins” screen in WordPress.
- Go to Settings → HTML to PDF and enter your html2pdf.app API key. You can register for a free API key at https://dash.html2pdf.app/registration.
- Click Test connection to confirm your key works.
- Add the
[html2pdf text="Save as PDF"]shortcode to a page or post — or enable the automatic button under “Automatic Save as PDF button”.
Änderungsprotokoll
Adds an automatic "Save as PDF" button, a default Media setting, an API key "Test connection" check, and button styling. Confirmed compatible with WordPress 7.0.
1.1.0
- Confirm compatibility with WordPress 7.0
- Add automatic “Save as PDF” button insertion on selected post types (no shortcode required), with position and button text options
- Add a default Media (screen/print) setting, overridable per shortcode
- Add a “Test connection” button on the settings page to validate the API key
- Mask the API key field with a Show/Hide toggle
- Add usage examples directly in the plugin settings page
- Ship default button styling, and hide the conversion button in the generated PDF automatically (any media type)
- Add an html2pdf_hide class and an html2pdf-rendering body class to exclude any element from the generated PDF
- Redesign the settings page with grouped, card-style sections for clearer separation
- Restrict conversions to pages on the same site to prevent misuse of the API key
- Send API key via the X-API-Key header instead of a request body parameter
- Identify plugin requests for monitoring with an X-Source header
- Sanitize server-provided URL values
1.0.8
- Use page URL instead of persisted one, add settings link in a plugins page
1.0.7
- Update icon, increase compatibility with the latest wordpress version
1.0.6
- Update readme file with examples
1.0.5
- Add possibility to pass media parameter through the shortcode
1.0.4
- Improve error reporting
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best HTML to PDF Converter alternatives
All convert to pdf plugins →| Rang | Plugin | Aktive Installationen |
|---|---|---|
| 2 |
|
60+ |
Fragen und Antworten
HTML to PDF Converter: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is HTML to PDF Converter free?
Yes. HTML to PDF Converter is free to download and use from the official WordPress.org plugin directory.
Is HTML to PDF Converter safe to use in 2026?
HTML to PDF Converter works, but test it on a staging site before relying on it in 2026. It runs on 60+ sites, is rated 3/5 and was last updated 6 months ago, and scores 54/100 on our health check.
How many websites use HTML to PDF Converter?
HTML to PDF Converter is active on 60+ WordPress websites and has been downloaded 4,019 times since it launched in September 2023. It was downloaded 226 times in the last 30 days.
Does HTML to PDF Converter work with WordPress 7.1?
HTML to PDF Converter is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does HTML to PDF Converter need?
HTML to PDF Converter requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was HTML to PDF Converter last updated?
The latest version, 1.1.0, was released on June 16, 2026 (6 months ago).
Who makes HTML to PDF Converter?
HTML to PDF Converter is developed and maintained by html2pdf.app.
What are the best alternatives to HTML to PDF Converter?
The most popular alternatives to HTML to PDF Converter are Post to PDF Exporter (60+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte



