TextToPdfNet – Text & Web To PDF Converter Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
TextToPdfNet is a lightweight, secure plugin that lets your visitors generate clean PDF documents from raw text or directly from your website posts and pages.
Features:
- Frontend Text-to-PDF Converter: Add a simple form anywhere on your site using the
[text_to_pdf_form]shortcode. Users can paste text and instantly download it as a PDF. - Post/Page-to-PDF Converter: Automatically append a “Download PDF” button to your posts or pages, or place it using the
[text_to_pdf_button]shortcode. The generated PDF ensures a clean reading experience, excluding theme sidebars, comment sections, and popups. - Download Counts: View how many times a post was downloaded directly from the WordPress admin list.
- Fully Customizable: Configure page sizes (A4, Letter), custom headers/footers, margin sizes, and toggle whether to include the featured image, metadata, or post title in the PDF.
Security First
This plugin prioritizes security. It relies entirely on a localized copy of Dompdf without calling any external SaaS APIs or transferring data off-site. It adheres to WordPress.org’s rigorous security guidelines, features strict escaping, sanitization, and verification mechanisms.
Usage Guide
This plugin provides two shortcodes and an automatic button feature. Here is how to use each one:
Shortcode: Text-to-PDF Form
Use the shortcode below to add a text input form on any page or post. Visitors can type or paste any text, give it a title, and download it instantly as a PDF.
[text_to_pdf_form]
How to add it:
- Edit any page or post in WordPress.
- Add a Shortcode block (or paste directly into the Classic Editor).
- Type
[text_to_pdf_form]and publish/update the page. - Visitors will see a form with a title field, a text area, and a “Generate PDF” button.
Shortcode: Download Button for Current Post
Use this shortcode to manually place a “Download as PDF” button anywhere inside a post or page. When clicked, the current post/page content is converted to a clean PDF.
[text_to_pdf_button]
How to add it:
- Edit the post or page where you want the button.
- Add a Shortcode block.
- Type
[text_to_pdf_button]and publish/update.
Automatic Download Button
You can also have the plugin automatically add a “Download as PDF” button to all posts and/or pages without using a shortcode. Configure this in Settings > Text to PDF:
- Go to Settings > Text to PDF.
- Check Enable on Posts and/or Enable on Pages.
- Choose the Button Position: Top of Content, Bottom of Content, Both, or Shortcode Only.
- Customize the Button Label text (default: “Download as PDF”).
Settings Guide
Navigate to Settings > Text to PDF in your WordPress admin to configure the following:
Display Options
- Enable on Posts – Automatically show the download button on all posts.
- Enable on Pages – Automatically show the download button on all pages.
- Button Label – Customize the text shown on the button (e.g., “Download as PDF”, “Save PDF”, “Export”).
- Button Position – Choose where the button appears: Top, Bottom, Both Top and Bottom, or Shortcode Only.
PDF Content Options
- Content to Include – Toggle which elements appear in the generated PDF: Post Title, Featured Image, Author Name, Publish Date.
- File Name Pattern – Customize the downloaded file name using
{title}and{date}placeholders. Example:{title}-{date}producesmy-blog-post-2026-04-10.pdf. - Global Header Text – Add custom text to the top of every generated PDF.
- Global Footer Text – Add custom text to the bottom of every generated PDF.
PDF Layout Options
- Document Page Size – Choose between A4 or Letter size.
- Font Size – Select Small, Medium, or Large.
- Margin Preset – Choose Narrow, Normal, or Wide margins.
Watermark / Branding Options
- Watermark Site Name – Enter your site name to display as a text watermark on every PDF page.
- Watermark Logo URL – Upload or select a logo image from the WordPress Media Library by clicking “Upload / Select Image”.
- Watermark Logo Size (px) – Set the width of the logo in pixels (default: 500).
- Watermark Opacity (%) – Control the transparency of the watermark from 1% (barely visible) to 100% (fully opaque). Default is 30%.
- Watermark Position – Choose where the watermark appears: Top Left Corner, Top Right Corner, Center, Bottom Left Corner, or Bottom Right Corner.
Screenshots
No screenshots provided

