Drupal PDF Viewer

The Best Drupal PDF Viewer Module

Display PDFs beautifully on any device with Mozilla's trusted PDF.js technology. Free, SEO-optimized, and works with every Drupal theme.

Requirements

  • Drupal 10 or 11
  • PHP 8.1 or higher
  • Optional: ImageMagick or Ghostscript (for auto thumbnails)

Installation

Via Composer (recommended):

composer require drossmedia/pdf_embed_seo
drush en pdf_embed_seo

Manual Installation:

  1. 1 Download and extract to /modules/contrib/pdf_embed_seo
  2. 2 Enable via Admin > Extend
  3. 3 Configure at Admin > Configuration > Content > PDF Embed & SEO
Powered by Mozilla

Built on Mozilla's PDF.js (v4.0)

The same technology that powers Firefox's PDF viewer—trusted by millions worldwide. Consistent, reliable rendering on every browser and device.

Desktop Optimized

Full-featured viewer with zoom, search, page navigation, and document outline on desktop browsers.

Mobile Responsive

Touch-friendly controls and responsive layout that works perfectly on phones.

Tablet Ready

Optimized for iPad and Android tablets with gesture support.

Light & Dark Viewer Themes

Light Theme

Clean, bright interface that matches light Drupal themes.

Dark Theme

Easy on the eyes for sites with dark mode enabled.

Drupal Feature Comparison: Free vs Pro vs Pro+

Feature
Free
Pro
Pro+

Viewer & Display

Mozilla PDF.js Viewer (v4.0)
Light & Dark Themes
Responsive Design
Print Control (per PDF)
Download Control (per PDF)
PDF Viewer Block
iOS/Safari Print Support
PDF Annotations
Digital Signatures

Content Management

PDF Document Entity
Title, Description, Slug
Auto-Generate Thumbnails
Multi-language Support
Media Library Integration
Document Versioning
Version History
Auto-Versioning

SEO & URLs

Clean URLs (/pdf/slug)
Schema.org DigitalDocument
OpenGraph Meta Tags
Twitter Card Support
GEO/AEO/LLM Schema Optimization
XML Sitemap (/pdf/sitemap.xml)

Statistics & Analytics

Basic View Counter
Analytics Dashboard
Download Tracking
IP Anonymization (GDPR)
CSV/JSON Export
Heatmaps
Engagement Scoring
Geographic Analytics
Device Analytics

Security

Secure PDF URLs
Permission System
Password Protection
Password Hashing (Drupal service)
Session Cache Context
Brute-Force Protection
Rate Limiting
Expiring Access Links
Max Uses per Link
Two-Factor Authentication (2FA)
IP Whitelisting
Audit Logs

Archive & Listing

Archive Page (/pdf)
Pagination
Grid/List Display
Search & Sorting
Visible Breadcrumb Navigation
Full-Width Layout (No Sidebars)
Custom Archive Heading
Content Alignment Options
Custom Font/Background Colors
Category/Tag Filters
Archive Page Redirect

Reading Experience

Page Navigation
Zoom Controls
Full Screen Mode
Reading Progress Tracking
Resume Reading

Compliance & Privacy

Basic GDPR (IP Anonymization)
Full GDPR Mode
HIPAA Compliance Mode
Data Retention Policies
Consent Management

Integrations

Google Analytics 4
Webhooks (Zapier, etc.)
Custom Webhook Events
Webhook Signatures (HMAC)

Branding

Default Branding
White Label Mode
Custom Logo
Hide "Powered By"
Custom CSS Injection

Support

Community Support
Priority Email Support
1-on-1 Setup Assistance
Dedicated Account Manager
SLA Guarantee

What is GDPR?

The General Data Protection Regulation (GDPR) is a European Union regulation that protects the personal data and privacy of individuals in the EU/EEA. It requires organizations to minimize data collection, provide transparency, and give individuals control over their data. Our module supports GDPR with IP anonymization (enabled by default), no third-party data transfers, consent management, and audit logging.

What is HIPAA?

The Health Insurance Portability and Accountability Act (HIPAA) is a US federal law that protects sensitive patient health information (PHI). It requires access controls, audit trails, data integrity, and transmission security. Our module supports HIPAA with role-based access control, two-factor authentication, complete audit logs, and secure document delivery.

PDF Embed & SEO Optimize provides technical controls that support GDPR and HIPAA compliance. Compliance responsibility remains with your organization.

More Than Just a PDF Viewer

Content Protection

Control print and download options per PDF. Hide direct file URLs.

SEO & GEO Ready

Optimized for Google and AI tools like ChatGPT with structured data.

Fast Loading

AJAX loading keeps your pages fast. PDFs load only when viewed.

Free Download

Download Free Drupal PDF Viewer Module

Get the most complete PDF embedding solution for Drupal. SEO-optimized, responsive, and fully customizable. No registration or credit card required.