plugin-icon

Document Viewer – let visitors view files right in the browser

作者:bPlugins·
Embed Word, Excel, PowerPoint, and PDF files in WordPress. Visitors view documents in the browser via Google Doc Viewer or Microsoft Online Viewer.
评级
4.7
版本
2.4.1
活跃安装
2K
最后更新
Jul 26, 2026
Document Viewer – let visitors view files right in the browser

Let visitors read your Word, Excel, and PowerPoint files right on the page – no Office installation, no downloads, no conversions.

Live Demo | Pricing

Why Document Viewer?

Do you have Office documents on your website that you want readers to view even if they don’t have Office installed? Would you rather let them preview a document before downloading it? Document Viewer embeds Microsoft Word, Excel, PowerPoint, and more directly into your posts and pages using a simple shortcode or Gutenberg block.

The plugin integrates two popular viewer engines – Google Doc Viewer and Microsoft Online Viewer – and lets you customize the width and height of every embed to match your design. There is no need to convert Office files to PDF or HTML for the web: anyone can view them from your site on computers, tablets, and mobile phones.

Need more control? The Pro version adds cloud sources (Google Drive, OneDrive, Dropbox) plus user-experience and security toggles for pop-out, file name display, the download button, and right-click protection.

Free Features

  • Two Viewer Types: Display documents with Google Doc Viewer or Microsoft Online Viewer.
  • Custom Layout: Set width and height to fit the document into your design.
  • Works Everywhere: Renders perfectly on computers, tablets, and mobile phones.
  • No Conversion Needed: Embed Office files as they are – no PDF or HTML export required.
  • View Without Office: Visitors can read your files even without Office installed.

Pro Version

Document Viewer Pro unlocks cloud sources and fine-grained control:

  • Choose Documents from Google Drive, OneDrive, or Dropbox.
  • View Documents via Google Doc Viewer for enhanced compatibility.
  • Enable/Disable Pop-out for the embedded viewer.
  • Show/Hide the File Name at the top of the viewer.
  • Show/Hide the Download Button for easy access control.
  • Enable/Disable Right Click to enhance document security.

How to Use

  1. Install and activate the Document Viewer plugin.
  2. Add a new document and configure the viewer (viewer type, width, height).
  3. Copy the generated shortcode.
  4. Paste the shortcode into any page, post, or widget – your document appears in the browser.

Use Cases

  • Schools & Trainers: Share syllabi, worksheets, and slides students can read in place.
  • Businesses: Publish reports, price lists, and spreadsheets without forcing downloads.
  • Teams & Communities: Show schedules and documents in situ while still allowing downloads.
  • Bloggers: Let readers preview resources before they download them.

User Feedback

⭐⭐⭐⭐⭐ Impressively Stable

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

aircess

⭐⭐⭐⭐⭐ Does the job well.

❛❛This plugin works fine❜❜

muhammadarooj

⭐⭐⭐⭐⭐ Exactly What I Need

❛❛***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

Did you like this plugin? Have a feature request? Please share your feedback with us.

How It Works

Source Code

You can find the source code, report bugs, and contribute to the development of this plugin on our GitHub repository: Embed Office Viewer on GitHub

Third-Party Libraries

This plugin bundles the following third-party JavaScript/PHP libraries.

Codestar Framework

Freemius SDK

bpl-tools

  • Source / GitHub: https://github.com/bPlugins/bpl-tools
  • License: GPL-2.0-or-later – https://www.gnu.org/licenses/gpl-2.0.html
  • Purpose: Shared utility library providing admin dashboard components and common Gutenberg editor controls.
  • External Services: The library may connect to bPlugins, WordPress.org, and Freemius services for product data and checkout functionality. See full details: https://github.com/bPlugins/bpl-tools#external-requests–why-they-are-made
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.2
这个插件是可用的下载,适用于您的站点。