=== Document Viewer – Embed Word, Excel, PowerPoint & PDFs Instantly ===
Contributors: bplugins, shehabulislam, taninrahman, freemius
Tags: document viewer, pdf viewer, office viewer, embed document, powerpoint viewer
Requires at least: 6.5
Tested up to: 6.9
Stable tag: 2.3.3
Requires PHP: 7.1
Donate link: https://www.buymeacoffee.com/abuhayat
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Embed Word, Excel, PowerPoint, PDF, and more — directly inside your WordPress site using an intuitive, reliable, and powerful document viewer.


== Description ==

**The Most Reliable Document Viewer for WordPress – Trusted by Thousands of Users**

[**Document Viewer**](https://bplugins.com/products/document-viewer/) | [**Live Demo**](https://bplugins.com/products/document-viewer/#demos) | [**Buy Pro**](https://bplugins.com/products/document-viewer/pricing) | [**Support**](https://bplugins.com/support/)

https://www.youtube.com/watch?v=ADIYjLRK3Ds

Document Viewer lets you embed Microsoft Office files and PDFs right inside posts, pages, and custom templates — with no need for additional software or plugins.

Whether you want to display a syllabus, project file, brochure, spreadsheet, presentation, or any document on your WordPress site, this plugin provides a smooth, responsive, and user-friendly viewing experience.

The plugin supports **Google Doc Viewer** and **Microsoft Online Viewer**, allowing easy embedding through shortcodes or Gutenberg block. Just upload a file <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> generate shortcode <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> insert anywhere <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> done.

The Pro version unlocks cloud integrations (Google Drive, OneDrive, Dropbox), extra viewing controls, and enhanced security options like disabling right-click.

Supports quick embedding for client reports, downloadable resources, internal team files, and educational materials. Designed to work smoothly with modern WordPress themes and page builders.

**Perfect for:** educators, corporate sites, portfolios, publishers, agencies, product manuals, documentation systems, and more.


== Key Features (Free)  ==

– **Supports Multiple Viewers:**  Choose between Google Doc Viewer or Microsoft Online Viewer for better compatibility.

– **Embed Office Files Seamlessly:** Display Word, Excel, PowerPoint, and PDF files directly inside your pages.

– **Fully Responsive:** Works perfectly across mobile, tablet, and desktop devices.

– **Customizable Layout:** Adjust width and height to match your site design.

– **Gutenberg Block Support:**  Add documents visually using the block editor.

– **No Conversion Needed:** Upload your file as-is — the viewer handles everything.

– **Shortcode Ready:** Easily reuse the same document anywhere on your site.

– **Fast Loading Experience:** Optimized for smooth document rendering and better usability.


== Pro Features ==

Upgrade to **Document Viewer Pro** and unlock premium document control and cloud integration.

**What’s Included in Pro?**

– **Google Drive File Picker**  
  Select files directly from your Google Drive account. No need to upload manually — just browse your drive, pick a file, and embed instantly.

– **Dropbox File Picker**  
  Connect your Dropbox account to choose documents from your cloud storage. The embedded document will always display the latest version.

– **View Docs via Google Doc Viewer**  
  Use Google’s online viewer for smoother, faster rendering of Word, Excel, PowerPoint, PDF, and more. Offers better compatibility and performance in many cases.

– **Enable/Disable Pop-Out Option**  
  Decide if visitors can open the document in a new tab or pop-out window. Keeps users on your page when needed or allows full-screen viewing if preferred.

– **Show/Hide File Name Header**  
  Choose whether to display the file name above the embedded document. Keep your design clean or maintain privacy as needed.

– **Show/Hide Download Button**  
  Control whether users can download the document. Useful for protecting course materials, confidential files, or premium content.

– **Disable Right-Click (Content Protection)**  
  Prevent visitors from right-clicking on the document to save, copy, or download it. Adds an extra layer of content protection.

– **More Viewer Customization Settings**  
  Fine-tune how your documents are displayed, including scroll behavior, frame borders, responsive heights, clean embed mode, and other visual settings.

👉 **[Upgrade to PRO](https://bplugins.com/products/document-viewer/pricing)**


### User Feedback

#### ⭐⭐⭐⭐⭐ [Impressively Stable](https://wordpress.org/support/topic/impressively-stable/)

❛❛***Nice wp plugin ever. I’ve use it for 4 years.***❜❜

***-[aircess](https://wordpress.org/support/users/aircess/)***


#### ⭐⭐⭐⭐⭐ [Does the job well.](https://wordpress.org/support/topic/does-the-job-well-131/)

❛❛***This plugin works fine***❜❜

***-[muhammadarooj](https://wordpress.org/support/users/muhammadarooj/)***


#### ⭐⭐⭐⭐⭐ [Exactly What I Need](https://wordpress.org/support/topic/exactly-what-i-need-161/)

❛❛***I am a theatre director and I use my website to communicate with my performers and technical crews.

I wanted to SHOW them documents in situ as well as enable them to easily download them and, after looking at other solutions, this plugin is PERFECT for this.

I am delighted with it and cannot recommend it highly enough.***❜❜

***-[jfortune](https://wordpress.org/support/users/jfortune/)***


#### – Did you like this plugin? Dislike it? Have a feature request? [Please share your feedback with us](mailto:support@bplugins.com 'Send feedback')


= How It Works = 

– Your Document will be embed in your site, blog via a iframe which is service of Office Web Viewer 

– This plugin use Office Web Viewer service of Microsoft [Read More About Office Web viewer](http://officewebviewer.com "Read More") 
– Terms Of Service : [Microsoft's Terms of service ](https://go.microsoft.com/fwlink/?LinkID=206977  "Terms") 
– Privacy Policy:  [Microsoft's Privacy Policy ](https://go.microsoft.com/fwlink/?LinkId=521839  "Privacy")



== 📘 How to Use – Quick Start Guide ==

1. Install & activate the plugin  
2. Go to: **Office Viewer <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Add New**  
3. Upload a document  
4. Configure viewer settings  
5. Copy the shortcode  
6. Paste into any post, page, or widget  

Your document is now fully embedded!


=== Use Cases ===

* Document previews before download  
* School/college syllabus viewer  
* Product manuals or guides  
* Employee onboarding documents  
* Business reports & spreadsheets  
* Presentations and pitch decks  
* PDF books, brochures, and catalogs  


== ⭐ Checkout our other WordPress Plugins ==

🔥 **[Html5 Audio Player](https://audioplayerwp.com/)** – Best audio player plugin for WordPress  
🔥 **[Html5 Video Player](https://wpvideoplayer.com/)** – Modern video player plugin  
🔥 **[PDF Poster](https://pdfposter.com/)** – Advanced PDF viewer  
🔥 **[StreamCast](https://wordpress.org/plugins/streamcast)** – Radio player plugin  
🔥 **[3D Viewer](https://3d-viewer.bplugins.com/)** – Display interactive 3D models  


== Installation ==

= You can install this plugin in several ways =

1. **Install via WordPress Dashboard:**
   * Go to Plugins <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span></span></span></span> Add New
   * Search for “Document Viewer for Office” (by bPlugins)
   * Click Install Now <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span></span></span></span> Activate

2. **Manual Installation:**
   * **Upload ZIP File:**
     1. Download the plugin ZIP
     2. Go to Plugins <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span></span></span></span> Add New <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span></span></span></span> Upload Plugin
     3. Select ZIP <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span></span></span></span> Install Now <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span></span></span></span> Activate

3. **Upload via FTP:**
   1. Download and extract the plugin ZIP
   2. Upload the extracted folder to `wp-content/plugins/`
   3. Activate via Plugins menu


== Frequently Asked Questions ==

= What types of documents can I embed? =  
You can embed any type of document. However, the most commonly used and fully supported formats include Microsoft Word, Excel, PowerPoint, and PDF files, which work best for viewing and sharing across devices.

= What file extensions are supported? =  
`.doc, .docx, .xls, .xlsx, .ppt, .pptx, .pdf`

= Does it work with any theme? =  
Yes, it works with all standard WordPress themes.

= How can I support the plugin? =  
You may donate here: https://gum.co/wpdonate

= Where do I report security issues? =  
Please report security bugs through the Patchstack VDP:  
https://patchstack.com/database/vdp/9e5fb774-c5c5-4253-bec9-fd5a4210d09b


== Screenshots ==

1. Office Viewer Admin Menu  
2. Gutenberg Block Support  
3. Add New Document  
4. Document Settings  
5. Dropbox & Google Drive API Integration  


== Changelog ==

= 2.3.3 – 8 November 2025 =  
* Updated Block – Editor upload options 

= 2.3.2 – 10 October 2025 =  
* Added modern dashboard and improvements 

= 2.3.1 – 12 July 2025 =  
* Fixed issues

= 2.3.0 – 10 May 2025 =  
* Fixed textdomain issue  
* Added powerful Gutenberg block

= 2.2.10 – 29 Jan 2025 =  
* Updated WordPress SDK

= 2.2.9 – 04 July 2024 =  
* Updated WordPress SDK

= 2.2.7 =  
* Updated Freemius WordPress SDK

= 2.2.5 =  
* Updated Freemius WordPress SDK

= 2.2.4 =  
* Fixed height issue

= 2.2.3 =  
* Fixed security issue  
* Improved performance

= 2.0.9 =  
* Added PDF viewer support  
* Improved performance

= 1.1 =  
* Added document management screen  
* Improved performance  
* Gutenberg block support

= 1.0 =  
* Initial Release


== Upgrade Notice ==

= 1.0 =  
Initial Release