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

To let visitors download a WordPress page as a PDF with Html2Pdf.app, install and activate the HTML to PDF Converter plugin, connect an Html2Pdf.app API key in the plugin settings, then add the plugin’s shortcode or enable its automatic button for selected post types. The page must be publicly reachable: Html2Pdf.app fetches and renders it through its hosted conversion API.

Install the WordPress plugin and connect Html2Pdf.app

  1. In your WordPress dashboard, go to Plugins → Add New Plugin, search for HTML to PDF Converter, install it, and activate it. The plugin is available through the WordPress plugin listing.
  2. Open Settings → HTML to PDF and enter your Html2Pdf.app API key. Use the settings page’s connection test before publishing a download button. The provider’s documentation explains API usage and key handling.
  3. Keep the key private. The API documentation recommends using it from a backend, server-side script, or trusted job—not browser JavaScript, a public repository, or a client-side template.

The plugin is a front end to Html2Pdf.app’s hosted API, not a local WordPress PDF converter. It sends the page URL and conversion settings to the service, which fetches and renders the page.

Add a PDF link to a page or post

Use a shortcode where the button should appear

Add this shortcode in the content of the page or post:

[html2pdf text="Save as PDF"]

The text attribute sets the link label. To use the site’s print stylesheet for the PDF, set the media mode to print:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
[html2pdf text="Download PDF" media="print"]

The media attribute accepts screen or print and overrides the plugin’s default for that shortcode. Consult the plugin listing for the documented shortcode options.

Enable an automatic button instead

If you do not want to insert a shortcode, use the plugin’s automatic button setting for selected post types. Its settings let you choose where the button appears and what its label says. This is useful when you want the same download option on a class of content, rather than adding a shortcode to each page.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Make sure the page can be fetched publicly

Html2Pdf.app must be able to open the target page as a public visitor. A page behind a WordPress login, password protection, or HTTP authentication, as well as a localhost or private staging URL, is not publicly accessible to the service and may fail or produce an empty PDF. Test the actual published URL without being logged in before relying on the button. The WordPress.org listing explicitly says the page must be publicly accessible because the API fetches it itself.

Choose PDF layout and remove unwanted page elements

The plugin documents page formats including A4, Letter, and Legal, portrait or landscape orientation, margins, custom dimensions, and screen or print media. Pick settings that match the content: for example, a long article may be easier to read in portrait, while a wide table may need landscape. Use print media when the theme has print-specific styles that hide navigation or adjust spacing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

To omit an element from the PDF while keeping it on the live page, add the CSS class html2pdf_hide to that element. This is suited to navigation, a footer, a floating contact panel, or other material that should not appear in the download. Check the rendered PDF after applying print CSS or hide classes; a theme’s print rules may also hide or restyle content you intended to retain. See the provider’s WordPress conversion example for the documented workflow.

Understand pricing, limits, and data handling

The provider’s pricing page, accessed in 2026, listed the following plans and credit rules. These are provider-published figures, not an independent price comparison; check the current pricing page before choosing a plan because terms can change.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Plan Price per month Credits per month Parallel conversions PDF size
Free $0 100 1 Up to 1 MB per file
Startup $9 1,000 3 Unlimited
Standard $25 5,000 10 Unlimited
Scale $39 10,000 20 Unlimited

The same pricing page states that 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; its listed file-size limit is 1 MB.

According to Html2Pdf.app’s API documentation, generated PDFs are processed temporarily rather than permanently stored on its servers. It 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 if your pages contain sensitive information.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot failed or empty PDFs

  • The page is private, protected, or on a local address: publish it at a public URL that can be opened without login, a password, or HTTP authentication. The conversion service cannot fetch a page that is only available to you.
  • The API connection test fails: check that the API key was copied correctly and entered in Settings → HTML to PDF, then run the test again. Do not place the key in public page code.
  • The PDF is blank or missing content: confirm the public page loads normally, then test a representative page again. JavaScript load timing, external resources, and available fonts can affect the result, according to the provider’s API documentation.
  • The PDF layout differs from the webpage: compare screen and print media. Inspect the theme’s print CSS for rules that hide, resize, or reposition content, and check that you have not applied html2pdf_hide to content you need.
  • A long or complex document fails on the Free plan: check the generated file size against the plan’s listed 1 MB cap. The provider lists unlimited PDF size on paid plans; its pricing page also ties credit use to each 5 MB chunk of generated PDF.

Before rolling out the button site-wide, test a few representative pages with their real images, fonts, print styles, and scripts. Rendering can vary with resources and JavaScript timing, so a successful test on a simple page does not establish that every page will render identically.

Or skip the browser setup

If you only need a screenshot or PDF capture through an API rather than a WordPress download button, ScreenshotNeo takes a URL in one GET request. For example, this cURL call saves a WebP screenshot of a page:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo documentation for request options. ScreenshotNeo accepts cookie and consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; bot checks, blank pages, and failed loads are never billed. It also provides an MCP server for AI agents, and its free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 screenshots.

Sign up for ScreenshotNeo’s free plan to start with 1,000 screenshots a month and no card.

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

Frequently Asked Questions

Can I add the PDF button without placing a shortcode?

Yes. Enable the plugin’s automatic button option for the post types you choose, then set its position and label.

Can the plugin convert a page that visitors must log in to see?

Not through the documented public-page workflow: Html2Pdf.app fetches the target itself, so a login-protected page is not publicly accessible to the conversion service.

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.