October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

How to Convert a WordPress Page to PDF with Html2Pdf.app

Use the HTML to PDF Converter plugin to connect WordPress to Html2Pdf.app, add a shortcode or automatic button, and tune the output for print.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can add a PDF download link to a WordPress page or post with the HTML to PDF Converter plugin and Html2Pdf.app. Install and activate the plugin, connect it to an Html2Pdf.app API key in WordPress, then add a shortcode or enable the plugin’s automatic button. Because Html2Pdf.app fetches the page itself, the page must be publicly accessible without a login or HTTP authentication.

How the WordPress-to-PDF workflow works

The plugin is a WordPress front end to Html2Pdf.app’s hosted conversion API, not a local PDF converter. When a visitor requests a PDF, the service fetches and renders the page using the selected settings. The page URL and conversion settings are sent to the service. See the WordPress plugin listing and Html2Pdf.app documentation for the provider’s current details.

As an Amazon Associate I earn from qualifying purchases.

Set up the plugin and add a PDF button

  1. In your WordPress dashboard, go to Plugins → Add New Plugin, search for HTML to PDF Converter, install it, and select Activate. Confirm the plugin’s name and publisher in the directory listing before installing.
  2. Go to Settings → HTML to PDF. Enter your Html2Pdf.app API key and use the settings page’s connection test. Get an API key through Html2Pdf.app’s WordPress plugin instructions.
  3. To place a button manually, add this shortcode in the page or post content where it should appear:
    [html2pdf text="Save as PDF"]
  4. To enable a button automatically, use the plugin’s setting for selected post types, then choose its position and label. The plugin listing describes this option alongside the shortcode.
  5. Open the published page as a visitor and test the button. Check that the PDF opens or downloads and that its content and layout are correct.

The shortcode’s text attribute sets the button label. To use the theme’s print layout rather than screen styling, set media to print: [html2pdf text="Download PDF" media="print"]. The plugin documentation also describes page format, orientation, margins, and custom dimensions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Make sure the page can be fetched

Html2Pdf.app must be able to reach the target page from the public internet. A localhost URL, HTTP-authenticated staging site, password-protected page, or private post will not be available to the service as a public visitor. These access restrictions can result in a failed or empty PDF.

#1 Best Overall
Sale
Epson EcoTank ET-2800 Wireless Color All-in-One Supertank Printer - Black
  • INNOVATIVE CARTRIDGE-FREE PRINTING — No more dealing with lots of tiny ink cartridges; With this wireless document and photo printer each ink bottle set is equivalent to about 90 individual cartridges²
  • LESS FREQUENT INK REPLACEMENT — Replacement ink bottles don't have to be changed nearly as often as ink cartridges¹; When you choose this combination printer, scanner and copier you can print up to 4,500 pages black/7,500 color³
  • COLOR PRINTING — Up to 2 years of ink in the box4 (and with every replacement ink set) for fewer out-of-ink frustrations
  • ZERO CARTRIDGE WASTE — By using an Epson EcoTank printer you can help reduce the amount of cartridge waste ending up in landfills
  • HOME PRINTER DESIGNED FOR RELIABILITY — The Epson EcoTank ET-2800 All-in-One Supertank Color Printer creates vivid, detailed prints and documents thanks to Micro Piezo Heat-Free Technology; Fire off 10 ISO pages per minute1 to easily finish large jobs

Do not publish a page merely to test it if its contents should remain private. Instead, test with a representative public page. The plugin listing explains that its external API fetches the page itself: HTML to PDF Converter on WordPress.org.

Control the PDF layout

Choose screen or print styling

Use media="print" when the site’s print stylesheet is designed to remove navigation, simplify typography, or reorganize content for paper. Use screen when you want the regular on-screen styling. The shortcode’s media attribute can override the plugin’s default. A media-mode change can alter the page substantially, so inspect an actual generated PDF.

Hide elements that should stay on the page

Add the CSS class html2pdf_hide to elements that should appear on the web page but not in the PDF—for example, a navigation block or a related-content module. The class is documented by the plugin; confirm that the selected element is omitted in the output.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Epson EcoTank Photo ET-8550 Wireless Wide-Format All-in-One Tank Printer
  • CARTRIDGE-FREE PRINTING — Print lab-quality photos, graphics and creative projects; Get vibrant colors and sharp text with Epson's high-accuracy printhead and Claria ET Premium 6-color inks
  • INK BOTTLES — Save on photos1 and creative projects with affordable in-house printing; All-in-one printer allows you to print 4" x 6" photos for about 4 cents each vs. 40 cents with traditional ink cartridges1
  • LESS FREQUENT INK REPLACEMENT — Replacement ink bottles don't have to be changed nearly as often as ink cartridges¹; Printer, scanner and copier lets you print up to 6,200 color pages³
  • PRINT FOR LONGER — Up to 2 years of ink in the box² (and with every replacement ink set) for fewer out-of-ink frustrations with this wireless printer
  • ZERO CARTRIDGE WASTE — Epson EcoTank printer helps reduce the amount of cartridge waste ending up in landfills; Cartridge-free printer uses high-yield ink bottles; Each replacement ink bottle set is equivalent to about 100 individual ink cartridges⁴

Set paper size and orientation

The plugin documents formats including A4, Letter, and Legal, portrait and landscape orientation, margins, and custom dimensions. Choose a format for the intended audience and content: a wide table may need landscape, while a standard article generally suits portrait. Exact setting labels can vary with plugin versions; use the controls shown on the installed settings page.

Protect the API key and understand data handling

Keep the Html2Pdf.app API key on the server side. Its documentation says to use the key from a backend, server-side script, or trusted job—not browser JavaScript, a public repository, or a client-side template. The WordPress plugin settings are the intended place for the plugin’s connection.

Html2Pdf.app says generated PDFs are processed temporarily and are not permanently stored on its servers. Its documentation also says raw HTML or text submitted through the html parameter is not stored in conversion logs, while selected request metadata and a source URL may be retained. Review the provider’s current documentation and privacy terms for your own data-handling requirements: Html2Pdf.app documentation.

Rank #3
HP Smart Tank 5000 Ink Tank Printer | 2 Years of Ink Included | All-in-One
  • SET IT UP ONCE AND PRINT WITH CONFIDENCE. No complicated maintenance. Just easy, reliable printing you can count on.
  • INK FOR YEARS. NOT MONTHS. Up to 2 years of ink included. Get thousands of pages of cartridge-free printing. More pages, less hassle
  • KEEPS PRINTING WELL AFTER COMPETITORS HAVE QUIT. No complex maintenance. Sharper text, richer colors.[2] Only with HP Smart Tank
  • PREMIUM SUPPORT - Strong technical expertise to solve issues faster
  • THE LAST PRINTER YOU'LL EVER NEED. Enjoy years of refillable, cartridge-free printing.

Cost, credits, and plan limits

The following are Html2Pdf.app’s provider-published prices and limits shown on its pricing page accessed in 2026; they are not an independent price comparison and may change. Check the current pricing page before choosing a plan.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Plan Price Credits Parallel conversions PDF size
Free $0/month 100/month 1 Up to 1 MB per file
Startup $9/month 1,000 3 Unlimited
Standard $25/month 5,000 10 Unlimited
Scale $39/month 10,000 20 Unlimited

The provider says one credit covers each 5 MB chunk of generated PDF and that credits reset on the first day of each month. The Free plan includes customization options and the plugin; paid plans list unlimited PDF size. These figures are provider-published plan terms, not a promise that every conversion will consume the same number of credits: check the pricing page for applicable terms.

Troubleshoot failed or empty PDFs

  • The PDF is empty or conversion fails: Check that the page is public and opens without a login, password protection, or HTTP authentication. The service cannot fetch a private or local page as a public visitor.
  • The connection test fails: Recheck the API key in Settings → HTML to PDF, then run the test again. If it still fails, consult the provider’s API documentation and confirm the account or key is active.
  • The PDF has the wrong layout or missing sections: Try the other media mode, then inspect the site’s print CSS for rules that hide or change the content. Check whether an element has the html2pdf_hide class.
  • Fonts, images, or other resources differ: The API documentation notes that media mode, available fonts and resources, and JavaScript load timing can affect rendering. Make sure assets are reachable to the service and test pages with the same kinds of content you expect visitors to convert.
  • A page works in the browser but not in conversion: Browser access does not prove that the service can fetch the page without authentication or that scripts and resources finish loading in time. Test a public page and compare the rendered output before publishing the button broadly.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If you need a screenshot rather than a PDF, ScreenshotNeo can return a PNG, JPEG, WebP, or PDF from one GET request. For a PDF capture, use format=pdf:

Rank #4
Sale
NDYIN Portable Printers Wireless for Travel, N80 Bluetooth Thermal Printer
  • Wireless Bluetooth Printer: Portable thermal printer compatible with iPhone, Android phones, iPad and tablet computers via Bluetooth. For smartphones, please download the "Nada Print" App. You can also connect to laptops and computers for printing using a USB-C cable. (Note: Laptops and computers can only be connected via USB and require the installation of a driver first. Bluetooth connection is not supported.)
  • No-ink printing: Only supports US Letter and A4 size thermal paper.(Doesn't support regular paper) The no-ink portable thermal printer uses direct thermal technology, requiring no ink, toner or ribbons, making it environmentally friendly, cost-effective and time-saving. The thermal printer package comes with a roll of US Letter thermal printing paper. Note: When installing the paper, remember to switch the paper size switch on APP
  • Clear Print: NDYIN N80 portable thermal printer adopts high-definition printing technology, with a 203DPI resolution to provide you with clear printing results. This mobile printer is compatible with roll paper, folded paper and tattoo transfer paper, supporting printing from your mobile phone PDF, Word, pictures and web pages anytime and anywhere. It is recommended to use our NDYIN thermal paper to achieve good printing quality
  • Portable wireless printer for travel: The thermal printer is equipped with a built-in 1500mAh rechargeable battery, which can print 160 sheets of 8.5" x 11" thermal paper after being fully charged. It weighs only 1.5 pounds and is compact in size. This ink-free portable printer can be easily carried in a backpack or briefcase! It is perfect for business travel, cars, small offices, construction sites, schools and homes. You can print documents, contracts, invoices and boarding passes anytime and anywhere
  • The N80 thermal printer has a wide range of uses. The package includes the N80 printer, a roll of US Letter paper(7m/roll), a user manual, a guide card, a type-C soft cable and a type C adapter. Note: The charging adapter is not included. Special thermal paper is required for use; ordinary paper cannot be used. This ink-free portable thermal printer is suitable for various scenarios such as home, school, travel, office, and outdoor, meeting the printing needs of different groups of people. This tattoo template printer is also compatible with tattoo transfer paper, making it an ideal choice for tattoo art
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com --data-urlencode format=pdf -o page.pdf

See the ScreenshotNeo API documentation for request options. It accepts and removes known cookie/consent banners, newsletter popups, and chat widgets before capture; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server provides screenshot tools for AI agents, including Claude, Cursor, and other MCP clients. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan.

Frequently Asked Questions

Can Html2Pdf.app convert a WordPress page that visitors must log in to see?

No. The service fetches the page itself, so a login-protected or otherwise private page is not publicly reachable for conversion.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can I place the PDF button automatically instead of adding a shortcode?

Yes. The plugin listing describes automatic buttons for selected post types, with configurable position and label.

Does the WordPress plugin convert pages locally?

No. It sends the page URL and conversion settings to Html2Pdf.app’s hosted API, which fetches and renders the page.

Quick Recap

Bestseller No. 3
HP Smart Tank 5000 Ink Tank Printer | 2 Years of Ink Included | All-in-One
HP Smart Tank 5000 Ink Tank Printer | 2 Years of Ink Included | All-in-One
PREMIUM SUPPORT - Strong technical expertise to solve issues faster; THE LAST PRINTER YOU'LL EVER NEED. Enjoy years of refillable, cartridge-free printing.
$189.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.