Title: Document Engine – Document Library, PDF Viewer &amp; Post to PDF
Author: MatrixAddons
Published: <strong>April 12, 2022</strong>
Last modified: October 2, 2026

---

Search plugins

![](https://ps.w.org/document-engine/assets/banner-772x250.png?rev=3720157)

![](https://ps.w.org/document-engine/assets/icon.svg?rev=3720157)

# Document Engine – Document Library, PDF Viewer & Post to PDF

 By [MatrixAddons](https://profiles.wordpress.org/matrixaddons/)

[Download](https://downloads.wordpress.org/plugin/document-engine.2.1.0.zip)

 * [Details](https://vec.wordpress.org/plugins/document-engine/#description)
 * [Reviews](https://vec.wordpress.org/plugins/document-engine/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/document-engine/#installation)
 * [Development](https://vec.wordpress.org/plugins/document-engine/#developers)

 [Support](https://wordpress.org/support/plugin/document-engine/)

## Description

**Document Engine** turns WordPress into a document library your visitors can actually
use. Publish policies, meeting minutes, reports, forms and guides; let people search
and filter them instantly; show PDFs in a fast viewer that runs on your own site;
and let visitors save any post or page as a PDF.

It is built for the block editor, works with any theme, and the free plugin has **
no document limits, no ads and no time limits**.

**Made for** councils and public bodies, schools and universities, housing and community
associations, intranets and HR teams, nonprofits, law and accounting firms, and 
member sites.

[Try it live](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/matrixaddons/document-engine/master/.wordpress-org/blueprints/blueprint.json)·
[Documentation](https://matrixaddons.com/plugins/document-engine/docs/) · [Free vs Pro](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=links#compare)·
[Pro features](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=links#pro)·
[Pricing](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=links#pricing)

#### Free vs Pro at a glance

The free plugin is complete on its own. **Document Engine Pro** adds control, proof
and scale for organisations, in the same screens.

 * **Document library.** Free: table, grid and folder layouts, instant search, multi-
   select filters with counts, preview popup. _Pro adds_ custom-field columns and
   filters, search inside files and ZIP downloads.
 * **PDF viewer.** Free: self-hosted viewer with search, thumbnails, outline and
   links. _Pro adds_ a secure view-only mode with the reader’s name on every page,
   and reading analytics.
 * **Who can open what.** Free: drafts, private and password-protected documents(
   their files stay in the public uploads folder). _Pro adds_ members-only documents
   by role, person or category, private file storage and tracked share links.
 * **Records and compliance.** Free: download counts and accessible-format requests.
   _Pro adds_ an audit log, read-and-confirm with evidence export, versions, and
   review and expiry dates.
 * **Post to PDF.** Free: a Download PDF button with header, footer, custom CSS 
   and PDF permissions. _Pro adds_ text and image watermarks and Handbook PDFs.
 * **Moving in and automation.** Free: migration from three plugins, blocks, shortcodes
   and Elementor widgets. _Pro adds_ bulk and CSV import, submissions, webhooks,
   Slack and Teams, and WP-CLI.
 * **Support.** Free: the community forum. Pro: email support, priority on the Agency
   plan.

[Compare every feature](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=glance#compare)·
[See what Pro adds](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=glance#pro)·
[Pro plans from $79 a year](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=glance#pricing)

#### Why Document Engine

 * **A real document library, free.** Table, grid and folder layouts with instant
   search, filters with counts, multi-select filters, click-to-sort columns and 
   shareable links, all in the free plugin.
 * **A private PDF viewer.** Built on PDF.js and served from your own site: no Google
   Docs viewer, no third-party requests, so it works on intranets and staging sites
   and helps with GDPR.
 * **A complete PDF viewer, free.** Search inside PDFs, page thumbnails and outline,
   clickable links, links to a page (`#page=4`), print, download and full screen.
 * **One link per document, for good.** Downloads are counted (bots ignored), and
   replacing the file keeps the same link, so emails and printed QR codes never 
   break.
 * **Accessibility first.** Keyboard and screen-reader friendly libraries, viewer
   and admin screens, checked with automated WCAG 2.1 AA tests, plus an optional“
   Request an accessible version” form.

#### Document library

 * **[Documents](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-documents-with-their-own-pages#feature-documents-with-their-own-pages)**
   with nested categories, tags, a description and their own page. Titles are filled
   in from the file name.
 * **[Document Library block](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-table-grid-or-folders#feature-table-grid-or-folders)**(
   and `[document_engine_library]` shortcode, and Elementor widget) with **table,
   grid and folder** layouts and a live preview in the editor.
 * **[Instant search](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-instant-search-and-filters#feature-instant-search-and-filters)**
   as visitors type, and it still works without JavaScript.
 * **Filters** by category and file type (with document counts), tag, year and author.
   Visitors **sort by clicking a column heading**; choose page numbers or a **“Load
   more” button**. Turn on **“Let visitors pick several”** to let people combine
   categories, tags or file types.
 * **Shareable filtered views**: every search and filter has its own address, so
   you can link straight to “all 2026 minutes”.
 * **[Preview popup](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-preview-without-leaving-the-library#feature-preview-without-leaving-the-library)**:
   PDFs, images, audio and video open in a popup from the library, without leaving
   the page.
 * **Document Search block**: put a search box in your header or home page that 
   shows results in your library.
 * **[Document List block](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-download-counts-and-lists#feature-download-counts-and-lists)**:
   newest, recently updated, most downloaded or related documents, and optional 
   related documents under each document page.
 * **Document Download block**: one document as a card or a button, anywhere.
 * **Documents in your site search**, with file type and size, and **downloads in
   Google Analytics** (GA4 `file_download` events).
 * **Download or open**: set it for the whole site, or per document.
 * **Any file type**: PDF, Word, Excel, PowerPoint, images, audio, video, archives,
   or a link to a file on another site (for example a Google Drive, Dropbox or OneDrive
   share link).
 * **Turn existing files into documents**: select them in Media  Library and choose
   _Create documents_.
 * **Mobile friendly**: libraries adapt to phones and narrow columns and use your
   theme’s fonts and colours.

#### PDF viewer

 * **[Self-hosted PDF.js viewer](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-a-private-pdf-viewer#feature-a-private-pdf-viewer)**
   with page navigation, zoom, fit to width or page, print, download and full screen;
   each control can be switched off.
 * **[Search inside the PDF](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-viewer-tools-built-in#feature-viewer-tools-built-in)**
   with highlighted matches.
 * **Page thumbnails and outline** (bookmarks) sidebar.
 * **Clickable links** inside PDFs, including links to other pages of the same PDF.
 * **Link to a page**: add `#page=12` to a document’s address.
 * **Fast**: the viewer loads when it scrolls into view and renders pages as you
   read. Text stays selectable.
 * Show a document, a Media Library PDF or a PDF from another site with the **PDF
   Viewer block** or `[document_engine_viewer]`.

#### Document pages

Every document gets a clean page with its file type, size, last update, categories,
a download button and, for PDFs, the viewer. Pages are indexed by search engines
and can be switched off. Templates can be overridden in your theme.

#### Post to PDF

 * A **[“Download PDF” button](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-any-post-as-a-pdf#feature-any-post-as-a-pdf)**
   on the post types you choose, placed before or after the content, or anywhere
   with the **Save as PDF block** or `[document_engine_pdf_button]`.
 * Header logo, title and page numbers, footer text, **paper size** (A4, Letter,
   Legal, A5, A3), orientation, margins, text size, custom CSS or your theme’s styles.
   Right-to-left languages are supported.
 * Optional **PDF protection** (print, copy and edit permissions).
 * PDF-only shortcodes for page breaks, columns and content hidden from the PDF.
 * **Fast and safe**: generated PDFs are cached, each visitor has a per-minute limit,
   and only public content is exported (never private or password-protected posts).

#### Moving from another plugin

[Document Engine copies your documents](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-move-in-one-click#feature-move-in-one-click)
from **Document Library (Barn2)**, **Download Monitor** and **WordPress Download
Manager**: titles, descriptions, categories, tags, files, download counts, dates
and passwords. You see a preview first, the original data is never changed, and 
old shortcodes and download links keep working afterwards.

#### For editors and admins

 * **QR code** for every document (PNG or SVG) to print on notices, agendas and 
   handouts.
 * **[Command palette](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-quick-to-run#feature-quick-to-run)**(
   Ctrl/Cmd + K): add a document or jump to any document from anywhere in the admin.
 * **Documents list** with file type and size, category and download counts, and
   filters by category and file type.
 * **Roles**: choose which roles manage all documents, publish their own, or only
   draft.
 * **Documentation built in** under Documents  Docs.
 * **[Multilingual](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=free-feature-accessible-and-multilingual#feature-accessible-and-multilingual)**:
   WPML and Polylang configuration included.
 * **Ready for AI assistants**: the WordPress Abilities API lets assistants search
   and read your library, only ever returning documents the signed-in user may open.

#### Document Engine Pro

The free plugin publishes documents. **Pro controls who can open them, proves who
read them, and keeps them up to date**, for councils, schools, HR teams, intranets,
client portals and member sites.

Pro is an add-on: install it next to the free plugin and its features appear in 
the same screens. Your documents, pages and settings stay exactly as they are. [See Document Engine Pro](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=intro#pro)

**Pro is for you if you need to…**

 * **[Publish staff-only or members-only documents](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-decide-who-can-open-each-document#pro-decide-who-can-open-each-document)**
   without a membership plugin: restrict a document, or a whole category, to logged-
   in users, chosen roles or named people.
 * **[Stop files being shared by their address](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-decide-who-can-open-each-document#pro-decide-who-can-open-each-document)**:
   restricted files move out of the public uploads folder and are only served to
   people allowed to open them.
 * **[Send a document to someone outside your site](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-decide-who-can-open-each-document#pro-decide-who-can-open-each-document)**,
   such as an auditor, a board member or a client, with a link that expires and 
   tells you when they opened it.
 * **[Make staff confirm they’ve read a policy](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-proof-that-people-read-your-policies#pro-proof-that-people-read-your-policies)**,
   with deadlines, reminders and evidence you can export for an inspection or audit.
 * **[See which documents people read](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-an-audit-log-you-can-hand-over#pro-an-audit-log-you-can-hand-over)**,
   for how long, and what they search for but can’t find.
 * **[Collect leads](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-email-gate#pro-email-gate)**
   before a download (name, email, consent), for brochures, reports and whitepapers.
 * **[Keep a register of documents](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-import-custom-fields-and-submissions#pro-import-custom-fields-and-submissions)**
   with your own fields (reference number, department, review date) that visitors
   can filter and sort by.
 * **[Move hundreds of files in at once](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=for-you-pro-import-custom-fields-and-submissions#pro-import-custom-fields-and-submissions)**
   from a spreadsheet, and keep them current with versions, review dates and automatic
   expiry.

#### Everything Pro adds

Screenshots and details of every feature are on the [Document Engine Pro page](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=features#pro).

**Access control**

 * **[Members-only documents](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-decide-who-can-open-each-document#pro-decide-who-can-open-each-document)**
   by logged-in users, roles or named people, per document or for a whole category(
   sub-categories follow).
 * Restricted documents shown **with a lock** or **hidden** from people who can’t
   open them, and left out of site search, feeds and file-content search.
 * **[Private file storage](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-decide-who-can-open-each-document#pro-decide-who-can-open-each-document)**
   for restricted files, with a **Site Health test** that checks the folder really
   is private (and shows the nginx rule when it isn’t).
 * **[Share links](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-decide-who-can-open-each-document#pro-decide-who-can-open-each-document)**
   for people without an account: expiring, **named per recipient**, with **open
   tracking**, an optional **email on first open**, and one-click revoke.
 * **[“My documents” block](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-my-documents-zip-and-subscriptions#pro-my-documents-zip-and-subscriptions)**:
   a client or staff area listing the documents shared with the signed-in person,
   with what’s new since their last visit.

**Secure viewing and downloads**

 * **[Secure viewer for PDFs](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-secure-viewer-and-stamped-copies#pro-secure-viewer-and-stamped-copies)**:
   read-only, with no download, print or copy buttons, and the **reader’s name, 
   email and date watermarked on every page**.
 * **[Stamped PDF downloads](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-secure-viewer-and-stamped-copies#pro-secure-viewer-and-stamped-copies)**:
   every downloaded PDF carries the reader’s details.
 * **[Email gate](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-email-gate#pro-email-gate)**:
   name and email (and optionally organisation) with your consent text before a 
   download; returning visitors pass straight through. Leads are listed, exported
   to CSV, emailed to you or sent to a webhook, and deleted after a retention period
   you choose.
 * **Accept terms**: everyone ticks “I agree” to your licence or disclaimer before
   opening a document; each acceptance is logged.
 * **Office previews** (opt-in): Word, Excel and PowerPoint files shown with Microsoft’s
   viewer, on the document page and in the popup.
 * **[Abuse protection](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=compare-abuse#compare)**:
   a daily limit on how many different documents one person can open, and **Cloudflare
   Turnstile** on the email gate, request and submission forms.

**Proof and insight**

 * **[Activity log](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-an-audit-log-you-can-hand-over#pro-an-audit-log-you-can-hand-over)**
   of views, downloads, blocked attempts, leads and share-link opens, with charts,
   top documents, filters and **CSV export**. No IP addresses are stored; entries
   are deleted after your retention period.
 * **[Reading analytics](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-an-audit-log-you-can-hand-over#pro-an-audit-log-you-can-hand-over)**:
   time spent on each page of a PDF and how far people read.
 * **[Search insights](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-search-inside-files#pro-search-inside-files)**:
   what visitors search for, and the searches that found nothing.
 * **[Read and confirm](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-proof-that-people-read-your-policies#pro-proof-that-people-read-your-policies)**:
   ask chosen roles to confirm “I have read and understood”, with **deadlines, reminder
   emails, a Required Reading block**, new rounds after an important change, and
   an **evidence export** (who, when, the statement they confirmed and a fingerprint
   of the file).
 * Views in the last 30 days and access status right in the documents list.

**Keeping documents current**

 * **[Versions](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-versions-expiry-and-review-dates#pro-versions-expiry-and-review-dates)**:
   replace a file without changing its link, see the history and restore any version.**
   Upload a new version from the documents list** (or drop a file onto a row).
 * **[Review-by and expiry dates](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-versions-expiry-and-review-dates#pro-versions-expiry-and-review-dates)**,
   with a daily email of documents due for review; expired documents are unpublished
   automatically.
 * **[Custom fields](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-import-custom-fields-and-submissions#pro-import-custom-fields-and-submissions)**(
   text, number, date, choice list, yes/no, link, email) shown as **library columns,
   filters with counts and sort options**, on document pages and in search. Works
   with **Advanced Custom Fields**.
 * **[PDF accessibility check](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=compare-pdf#compare)**
   that flags untagged, scanned or untitled PDFs in the documents list.

**Scale and automation**

 * **[Search inside PDF, Word (.docx), Excel (.xlsx), PowerPoint (.pptx), OpenDocument and plain text files](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-search-inside-files#pro-search-inside-files)**,
   up to 30 MB, in libraries and site search (not older .doc, .xls and .ppt files
   or linked files).
 * **Automatic PDF thumbnails** for grid layouts (when your server can make PDF 
   previews).
 * **[Bulk upload](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-import-custom-fields-and-submissions#pro-import-custom-fields-and-submissions)**(
   drag and drop many files) and **CSV import**, including updates by ID and custom-
   field columns.
 * **[ZIP download](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-my-documents-zip-and-subscriptions#pro-my-documents-zip-and-subscriptions)**:
   visitors select several documents in a table library and download them as one
   ZIP (up to 100 files and 250 MB).
 * **[Front-end submissions](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-import-custom-fields-and-submissions#pro-import-custom-fields-and-submissions)**:
   chosen roles upload documents from a page, with allowed file types, a size limit
   and moderation.
 * **[Watermarks on Post to PDF](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-watermarks-on-post-to-pdf#pro-watermarks-on-post-to-pdf)**:
   text or image, with placeholders such as {name} and {date}.
 * **[Handbook PDF](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-handbook-pdfs#pro-handbook-pdfs)**:
   many posts in one PDF with a cover and table of contents, for admins or visitors(`[
   document_engine_handbook]`).
 * **[Notifications](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-webhooks-slack-teams-and-wp-cli#pro-webhooks-slack-teams-and-wp-cli)**:
   signed webhooks (for Zapier, Make or your own system), **Slack or Microsoft Teams**
   messages, and **email subscriptions** by category with a Subscribe block and 
   one-click unsubscribe.
 * **AI assistant** in the editor that suggests a title, summary, categories and
   tags from the file’s text for you to review. It uses the AI provider connected
   in WordPress 7.0+ (Settings  Connectors); Pro stores no keys.
 * **More for AI agents**: abilities to read a document’s text (never for secure
   documents) and to list documents due for review.
 * **[WP-CLI](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=feature-pro-webhooks-slack-teams-and-wp-cli#pro-webhooks-slack-teams-and-wp-cli)**:
   list, import, stats, reindex, protect and share.
 * Personal data **export and erase** for leads, activity, searches, reading sessions
   and acknowledgements, and **automatic updates** with an active licence.

**Plans** (every plan includes every Pro feature):

 * **[Personal](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=plan-personal#pricing)**:
   1 website, $79 a year or $199 lifetime.
 * **[Plus](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=plan-plus#pricing)**:
   5 websites, $149 a year or $379 lifetime.
 * **[Agency](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=plan-agency#pricing)**:
   25 websites and priority support, $249 a year or $599 lifetime.

Every plan has a 14-day money-back guarantee ([refund policy](https://mantrabrain.com/refund-policy/)).
If a licence expires, Pro keeps working; only updates and support stop.

[See Pro plans and pricing](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=plans#pricing)

#### External services

The free plugin works without any external service. It only contacts one in these
cases:

 * **Google Docs Viewer** (`docs.google.com`): only for PDF Viewer blocks created
   with version 1, on sites upgraded from version 1, until you switch on _Documents
   Settings  PDF Viewer  Version 1 blocks_. The visitor’s browser loads Google’s
   viewer, which fetches the PDF’s address. New installs never use it. [Google Terms of Service](https://policies.google.com/terms),
   [Google Privacy Policy](https://policies.google.com/privacy).
 * **MatrixAddons licence server** (`store.mantrabrain.com`): only when an administrator
   enters a Pro licence key on _Documents  Free vs Pro_ to install Pro. The licence
   key and your site’s address are sent to check the licence and download Pro. [Terms and Conditions](https://mantrabrain.com/terms-and-conditions/),
   [Privacy Policy](https://mantrabrain.com/privacy-policy/).
 * **Files you link to**: documents or viewers that point to a file on another website
   load that file from that website.
 * **Images in Post to PDF**: when a post includes images or stylesheets from another
   website, your server fetches them from that website while it builds the PDF (
   local and private addresses are refused).

## Screenshots

[⌊Document library with instant search, filters with counts and multi-select.⌉⌊Document
library with instant search, filters with counts and multi-select.⌉[

Document library with instant search, filters with counts and multi-select.

[⌊Table, grid and folder layouts.⌉⌊Table, grid and folder layouts.⌉[

Table, grid and folder layouts.

[⌊The built-in PDF viewer: search inside PDFs, page thumbnails, outline and links.⌉⌊
The built-in PDF viewer: search inside PDFs, page thumbnails, outline and links.⌉[

The built-in PDF viewer: search inside PDFs, page thumbnails, outline and links.

[⌊Preview documents in a popup without leaving the library.⌉⌊Preview documents in
a popup without leaving the library.⌉[

Preview documents in a popup without leaving the library.

[⌊Every document gets its own page with file details, a download button and the 
viewer.⌉⌊Every document gets its own page with file details, a download button and
the viewer.⌉[

Every document gets its own page with file details, a download button and the viewer.

[⌊The Document Library block in the block editor.⌉⌊The Document Library block in
the block editor.⌉[

The Document Library block in the block editor.

[⌊Replace a document's file without breaking links, and print its QR code.⌉⌊Replace
a document's file without breaking links, and print its QR code.⌉[

Replace a document’s file without breaking links, and print its QR code.

[⌊The documents list in the admin.⌉⌊The documents list in the admin.⌉[

The documents list in the admin.

[⌊Libraries adapt to phones and narrow columns.⌉⌊Libraries adapt to phones and narrow
columns.⌉[

Libraries adapt to phones and narrow columns.

[⌊Step-by-step documentation inside WordPress (Documents → Docs).⌉⌊Step-by-step 
documentation inside WordPress (Documents → Docs).⌉[

Step-by-step documentation inside WordPress (Documents  Docs).

## Blocks

This plugin provides 7 blocks.

 *   Save as PDF Button Lets visitors download the current page or post as a PDF.
 *   Document Library A searchable list of your documents as a table, grid or folders,
   with filters by category, tag and file type.
 *   PDF Viewer (classic) Classic PDF viewer block from version 1. Use the new PDF
   Viewer block for new content; this one keeps working for existing pages.
 *   Document Search A search box for your documents that you can place anywhere,
   such as the header or home page.
 *   Document Download A download button or card for one document, with file type
   and size.
 *   PDF Viewer Show a PDF with the built-in viewer: page navigation, zoom, full
   screen, download and print. Works on mobile and never sends your files to Google.
 *   Document List A short list of the newest, recently updated, most downloaded
   or related documents.

## Installation

 1. In **Plugins  Add New**, search for “Document Engine”, then install and activate
    it.
 2. Go to **Documents  Add New Document** and upload a file, or select existing files
    in **Media  Library** (list view) and choose **Bulk actions  Create documents**.
 3. Create a page and add the **Document Library** block. Choose the layout, columns
    and filters in the block settings.
 4. Optional: in **Documents  Settings  Post to PDF**, choose which post types get 
    a “Download PDF” button.
 5. Optional: moving from another document plugin? Open **Documents  Tools  Migrate**.

Requirements: WordPress 6.6 or newer and PHP 7.4 or newer. Post to PDF needs the
PHP mbstring and gd extensions.

## FAQ

### Is the free plugin limited?

No. There’s no limit on documents, libraries, downloads or time, and no ads. Pro
adds features for organisations; it doesn’t unlock anything that was taken out of
the free plugin.

### Does the PDF viewer use Google?

No. Document Engine includes its own viewer (PDF.js) and never contacts Google. 
The only exception is PDF Viewer blocks created with version 1 on sites that upgraded:
they keep Google’s viewer until you switch on _Documents  Settings  PDF Viewer  
Version 1 blocks_ (see “External services”).

### Do I need Pro?

Not to publish documents. The free plugin is a complete library with the viewer,
search, filters and Post to PDF. You need Pro when documents must be limited to 
certain people, when you need proof of who read something, or when you manage enough
documents to want versions, review dates, custom fields, bulk import and analytics.

### How do I upgrade to Pro?

Choose a plan on the [Document Engine Pro page](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=faq#pricing),
then either upload the Pro plugin from your account, or enter your licence key at
the bottom of **Documents  Free vs Pro** and it installs in one step. Keep the free
plugin active; Pro builds on it, and nothing needs to be moved or set up again.

### Can I keep documents private?

With the free plugin you can keep documents as drafts, private posts or password-
protected, and their download links respect that. Their files still live in the 
public uploads folder, so anyone who has a file’s exact address could open it. Pro
adds members-only documents by role, person or category and moves restricted files
to private storage.

### Will my version 1 content keep working?

Yes. Your settings, the five PDF shortcodes, the PDF Viewer block and the settings
page link all keep working. The Post to PDF settings are now under **Documents  
Settings  Post to PDF**.

### Can I move from Download Monitor, WordPress Download Manager or Barn2’s Document Library?

Yes, from **Documents  Tools  Migrate**. Files, categories, tags, dates, download
counts and passwords come across; the old shortcodes keep working and old download
links redirect. The original plugin’s data isn’t changed.

### Can I show PDFs hosted on another website?

Yes, if that website allows it (CORS). If it doesn’t, visitors see a link to open
the PDF instead.

### Does it work with my theme and page builder?

Libraries use your theme’s fonts and colours and adapt to the space they get. Blocks
work in the block and site editors, Elementor has its own widgets, and shortcodes
work everywhere else. Copy any file from the plugin’s `templates` folder to `your-
theme/document_engine/` to change it, and adjust colours with CSS custom properties
such as `--dengine-accent`.

### Is it accessible?

The library, filters and viewer are keyboard and screen-reader friendly, with labelled
controls, live regions and visible focus, and the libraries, viewer and admin screens
pass automated WCAG 2.1 AA checks. PDFs keep a text layer, so browser search and
screen readers work. You can also switch on a “Request an accessible version” form(**
Documents  Settings  Documents  Accessibility**).

### Does it slow my site down?

Styles and scripts load only on pages that use them, the viewer loads when it scrolls
into view, and generated PDFs are cached. Libraries were tested with 10,000 documents.

### What happens when I uninstall?

Nothing is deleted unless you choose to: turn on **Documents  Settings  Advanced
When deleting the plugin** first if you want documents and settings removed. Files
in your Media Library are never deleted.

### Where is the documentation, and how do I get help?

In your admin under **Documents  Docs**: getting started, every feature, settings,
how-to guides, troubleshooting and developer notes, with search. The full documentation
is also [online](https://matrixaddons.com/plugins/document-engine/docs/).

 * Questions about the free plugin: the [support forum](https://wordpress.org/support/plugin/document-engine/)
   here on WordPress.org.
 * Document Engine Pro: [features, plans and FAQ](https://matrixaddons.com/plugins/document-engine/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=document-engine-pro&utm_content=support)
   and [pre-sales questions](https://matrixaddons.com/contact-us/). Pro customers
   get email support (priority support on the Agency plan).

### Does it track visitors?

The free plugin stores documents, categories and tags as normal WordPress content,
plus a download count per document. Accessible-format requests (when switched on)
store the requester’s name and email; they are included in WordPress’s personal 
data export and erase tools. The plugin does not track visitors, set tracking cookies
or send data to other services, apart from the optional cases listed under “External
services”.

### Which shortcodes are there?

Every block has a shortcode for classic themes and page builders:

 * `[document_engine_library layout="table|grid|folders" categories="slug" file_types
   ="pdf,word" per_page="20" filters="category,tag,type,year,author,sort" multi_filters
   ="yes"]`
 * `[document_engine_search page="123"]`
 * `[document_engine_viewer id="document ID" file="attachment ID" url="https://…"
   height="800px" page="1"]`
 * `[document_engine_document id="12" style="card|button"]`
 * `[document_engine_documents mode="recent|updated|popular|related" count="5" category
   ="slug" title="Latest"]`
 * `[document_engine_pdf_button]`, `[document_engine_pdf_remove]…[/document_engine_pdf_remove]`,`[
   document_engine_pdf_page_break]`, `[document_engine_pdf_columns]…[/document_engine_pdf_columns]`,`[
   document_engine_pdf_column_break]`

All attributes are listed in **Documents  Docs  Developers**.

## Reviews

![](https://secure.gravatar.com/avatar/104afa2c4aa858fae75fad3a4164de1ecb0d47c9140cea3742ef65007c5a5adc?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin. I wish it a long life.](https://wordpress.org/support/topic/excellent-plugin-i-wish-it-a-long-life/)󠁿

 [Dom Martigne](https://profiles.wordpress.org/dom-martigne/) December 20, 2025

Simple does the job very well. Shortcodes are available if you want to place them
on a specific page.Suggestion: a reminder of the shortcodes in the admin panel. 
The ability to target a specific tag within the page.

![](https://secure.gravatar.com/avatar/e48d7d96a7189d4c3da7c13600d09303a826b825fec8e6ab2c83b4daa2ac268d?
s=60&d=retro&r=g)

### 󠀁[Great Plugin for PDF’s of posts or pages!](https://wordpress.org/support/topic/great-plugin-for-pdfs-of-posts-or-pages/)󠁿

 [kingfish65](https://profiles.wordpress.org/kingfish65/) May 28, 2022

This is a great plugin to add a download as a PDF for your WordPress posts and pages.
Simple to install and setup. Plugin creator is responsive to support questions. 
One suggestion I have is to if there is a link in a post it retains the link in 
the PDF. Or make it an option.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/document-engine/reviews/)

## Contributors & Developers

“Document Engine – Document Library, PDF Viewer & Post to PDF” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ MatrixAddons ](https://profiles.wordpress.org/matrixaddons/)

“Document Engine – Document Library, PDF Viewer & Post to PDF” has been translated
into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/document-engine/contributors)
for their contributions.

[Translate “Document Engine – Document Library, PDF Viewer & Post to PDF” into your language.](https://translate.wordpress.org/projects/wp-plugins/document-engine)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/document-engine/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/document-engine/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/document-engine/)
by [RSS](https://plugins.trac.wordpress.org/log/document-engine/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1.0 – 2026-10-02

 * New – Sort a table library by clicking a column heading (title, date, updated,
   size, downloads); a second click reverses the order.
 * New – “Load more” pagination: adds the next documents below the ones already 
   shown (block setting, or `pagination_style="load-more"`).
 * New – Post to PDF paper sizes: A4, US Letter, US Legal, A5 and A3. Sites in a
   right-to-left language get right-to-left PDFs.
 * New – Downloads appear in Google Analytics: a GA4 `file_download` event when 
   the site loads GA4 or Tag Manager.
 * New – Dates in libraries can follow your site’s date format (Settings  Documents
   Dates).
 * Improved – The file type filter lists only the kinds of file your site has, with
   counts.
 * Improved – The Document Search block uses your library page automatically when
   none is chosen.
 * Improved – Typing a search updates the page address, so Back and shared links
   keep the search.
 * Fixed – Documents created in the block editor are saved with their file type 
   and size (they showed no size and were missed by the file type filter). Existing
   documents are repaired on update.
 * Fixed – Add-ons are told when a document is saved from the block editor (Document
   Engine Pro uses this to protect restricted files).

#### 2.0.5 – 2026-09-30

 * Improved – The built-in help, settings texts and readme now match the plugin 
   exactly: A4 pages with orientation, margins and text size; four Elementor widgets;
   which files search indexes; ZIP and secure-viewer limits; the webhook signature.
 * Improved – A link to the online documentation on the Docs screen, and videos 
   of the free plugin and Pro in the readme.

#### 2.0.4 – 2026-09-30

 * Fixed – Blocks are listed again on WordPress.org, now with their names, descriptions
   and icons (each block.json declares its editor script).

#### 2.0.3 – 2026-09-30

 * Improved – Every block has a block.json with its name, description and icon, 
   so they show properly in the block directory and on WordPress.org.
 * Improved – The classic PDF Viewer block from version 1 uses the current block
   API (existing content is unchanged).

#### 2.0.2 – 2026-09-30

 * Improved – “Upgrade to Pro” on the Plugins screen and in the plugin header opens
   the Pro pricing page on our website.
 * Improved – Readme: every Pro feature links to its own section on the Document
   Engine Pro page.

#### 2.0.1 – 2026-09-30

 * Improved – Bundled libraries now live in a single vendor folder (still under 
   the plugin’s own namespace, so they can’t clash with other plugins).
 * Improved – Readme: Free vs Pro at a glance, and links to the Pro features, comparison
   and pricing.
 * Fixed – Post to PDF watermarks are correctly listed as a Pro feature on the Free
   vs Pro page and in the Docs.

#### 2.0.0 – 2026-09-29

 * New – Documents: post type with categories, tags, single pages, file type/size,
   download counter, open-or-download setting, and site search.
 * New – Document Library block and shortcode: table, grid and folder layouts, instant
   search, filters, sorting, pagination, shareable URLs.
 * New – Built-in PDF viewer (PDF.js) block and shortcode. It replaces the Google
   Docs viewer for new content.
 * New – Library filters: let visitors pick several categories, tags or file types
   at once (“Let visitors pick several”), plus year and author filters with counts.
 * Tweak – A shorter Documents menu: related screens share one item with tabs (Categories
   and Tags; Reports; Tools). Existing admin links keep working.
 * New – Document Download and Save as PDF blocks.
 * New – Media Library bulk action “Create documents”, onboarding checklist, Site
   Health checks.
 * New – Document List block and shortcode (newest, updated, popular, related) and
   optional related documents on document pages.
 * New – Migrate from Document Library (Barn2), Download Monitor and WordPress Download
   Manager, with compatibility for their shortcodes.
 * New – Elementor widgets, WPML/Polylang configuration, and an optional “Request
   an accessible version” form.
 * New – PDF viewer: search inside the document, page thumbnails and outline, clickable
   links, links to a page.
 * New – Year and author filters, category counts, Document Search block, QR codes,
   command palette and Abilities API support.
 * New – Post to PDF cache and per-visitor generation limit.
 * Security – PDF export is limited to publicly viewable content and respects post
   passwords.
 * Fixed – Custom PDF CSS keeps characters such as “>” (child selectors).
 * Fixed – The PDF header no longer renders empty space when nothing is enabled.
 * Fixed – Concurrent PDF downloads no longer delete each other’s temporary files.
 * Fixed – Settings field attributes (min, step) were escaped twice.
 * Improved – Styles and scripts load only on pages that use them.
 * Improved – mPDF 8.3.1 is bundled under the plugin’s own namespace, so it can’t
   clash with other plugins.
 * New – Documents  Docs: searchable documentation inside WordPress, with a “Help
   for this screen” link on every screen.
 * New – Documents  Free vs Pro: what each edition includes.
 * New – Preview popup for PDFs, images, audio and video from any library.
 * Security – Files of draft, private and password-protected documents are always
   streamed, never redirected to, and are hidden from the media REST API for people
   who can’t read them.
 * Security – Unpublished documents no longer reveal their title on the download
   link.
 * Security – Post to PDF only runs for the post types you enable (or posts with
   the Save as PDF block), never for attachments, and skips images from internal
   network addresses.
 * Security – Accessible-format request limits are per visitor, so one person can’t
   block requests for everyone.
 * Improved – Faster admin and front end on large libraries (tested with 10,000 
   documents), and accessibility fixes in admin screens.
 * Improved – Bundled libraries (mPDF) live in one vendor folder under the plugin’s
   own namespace, so they can’t clash with other plugins.
 * Requirements – PHP 7.4+ and WordPress 6.6+.

#### 1.3 – 2025-08-26

 * Fixed – Escaping issue fixed

#### 1.2 – 2025-04-13

 * Fixed – Setting page design

## Meta

 *  Version **2.1.0**
 *  Last updated **12 hours ago**
 *  Active installations **100+**
 *  WordPress version ** 6.6 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/document-engine/) and [Russian](https://ru.wordpress.org/plugins/document-engine/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/document-engine)
 * Tags
 * [document library](https://vec.wordpress.org/plugins/tags/document-library/)[document management](https://vec.wordpress.org/plugins/tags/document-management/)
   [download manager](https://vec.wordpress.org/plugins/tags/download-manager/)[embed pdf](https://vec.wordpress.org/plugins/tags/embed-pdf/)
   [pdf viewer](https://vec.wordpress.org/plugins/tags/pdf-viewer/)
 *  [Advanced View](https://vec.wordpress.org/plugins/document-engine/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/document-engine/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/document-engine/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/document-engine/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/document-engine/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/document-engine/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/document-engine/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/document-engine/reviews/)

## Contributors

 *   [ MatrixAddons ](https://profiles.wordpress.org/matrixaddons/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/document-engine/)