🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
TextToPdfNet – Text & Web to PDF Converter

TextToPdfNet – Text & Web to PDF Converter

0/5 (0 ratings) — active installs Updated May 5, 2026
Plugin settings menu — "Text to PDF" appears under Settings in the WordPress admin sidebar.

Plugin settings menu — "Text to PDF" appears under Settings in the WordPress admin sidebar.

TextToPdfNet is a lightweight, secure WordPress plugin that lets your visitors convert text and web content into clean PDF documents. Whether you need a simple text to PDF converter form or a one-click download button for your posts and pages, this plugin handles it all — right on your own server, with zero external API calls.

Key Features:

  1. Frontend Text-to-PDF Converter: Add a simple form anywhere on your site using the [text_to_pdf_form] shortcode. Visitors can paste any text and instantly download it as a formatted PDF.
  2. Post/Page-to-PDF Converter: Automatically append a “Download PDF” button to your posts or pages, or place it manually using the [text_to_pdf_button] shortcode. The generated PDF delivers a clean reading experience — no sidebars, popups, or comment sections.
  3. Watermark & Branding: Add your site name and logo as a watermark on every PDF page. Control the size, position, and opacity from the admin settings.
  4. Download Tracking: View how many times each post has been downloaded as a PDF directly from the WordPress admin post list.
  5. Fully Customizable Output: Configure page sizes (A4, Letter), font sizes, margin presets, custom headers/footers, and choose whether to include the featured image, author name, publish date, or post title.

Privacy & Security

This plugin prioritizes your data safety. It uses a locally bundled copy of Dompdf to generate PDFs entirely on your server. No content is ever sent to external APIs or third-party services. For more details, see our privacy policy.

Support & Feedback

Need help or have a feature request? Visit our contact page or use the WordPress.org support forum.

For documentation and online tools, visit TextToPDF.net.

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 to PDF converter 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:

  1. Edit any page or post in WordPress.
  2. Add a Shortcode block (or paste directly into the Classic Editor).
  3. Type [text_to_pdf_form] and publish/update the page.
  4. 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 — acting as a web to PDF converter built right into your site.

[text_to_pdf_button]

How to add it:

  1. Edit the post or page where you want the button.
  2. Add a Shortcode block.
  3. 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:

  1. Go to Settings > Text to PDF.
  2. Check Enable on Posts and/or Enable on Pages.
  3. Choose the Button Position: Top of Content, Bottom of Content, Both, or Shortcode Only.
  4. 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} produces my-blog-post-2026-05-05.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.