WordPress.org

Plugin Directory

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files

Description

Embed Any Document WordPress plugin lets you embed your PDF, Word, PowerPoint and Excel documents easily in your WordPress website. The plugin integrates Google Docs Viewer and Microsoft Office Online to display your documents on your website.

Embed Any Document works just perfectly with Gutenberg as well as the classic editor. Support for more site builders are on its way! It also lets you add a Download link below your embed optionally.

🆕 NEW IN VERSION 2.7.0

  • Embedding documents is now easier than ever in the block editor! The whole new Document block lets you embed the documents quicker than ever

  • The EAD-Exclusive document pre-loader helps you with better performance and better User Experince

Live Demo

📂 Supported file types

  • Microsoft Word (DOC, DOCX, DOCM, DOTM, DOTX)
  • Microsoft Excel (XLS, XLSX, XLSB, XLSM)
  • Microsoft PowerPoint (PPT, PPTX, PPSX, PPS, PPTM, POTM, PPAM, POTX, PPSM)
  • Adobe Portable Document Format (PDF)

📋 Supported Viewers

  • Google Docs Viewer (PDF & Office Documents)
  • Microsoft Office Online (Office Documents Only)
  • Browser Native (PDF Only)
  • [PLUS VERSION] Google Drive Viewer (Stable and high performance viewer for documents hosted with Google Drive)
  • [PLUS VERSION] One Drive Viewer (Document viewer for documents hosted in OneDrive)
  • [PLUS VERSION] Box.com Viewer (Viewer for all documents hosted in Box.com with advanced security options to disable download button, add password, etc)

🔥 Key Benefits of Embed Any Document WordPress plugin

  1. Easy to Upload and Embed. Embed Any Document is integrated seamlessly into the Classic Editor and the Block Editor. With a click of ‘Add Document’ button it lets you upload documents and embed them.

  2. No 3rd party plugin needed. The plugin uses Google Docs Viewer and Microsoft Office Online’s services to display the documents in your website. You will not require any additional browser plugins to view the documents and you can expect maximum compatibility for your documents.

  3. Option to choose the viewer. You can choose between Google Docs Viewer and Microsoft Office Online to display your document. If one service is down, you can switch to another easily. EAD also supports browser-based viewer for PDF files.

  4. Cross-browser compatibility. The viewers are mobile-ready and cross-browser compatible.

  5. Clean and Minimal UI. Embed Any Document comes with a clean and clutter-free UI.

🚀 Embed Any Document PLUS

The plugin comes with a premium version which allows you embed documents from Google Drive, Dropbox and Box.com.

By using Embed Any Document PLUS you can make use of the privacy options the cloud services (OneDrive, Google Drive, Dropbox and Box.com) offering you. You can remove download options, embed larger files, put passwords and even restrict the views.

⛔️ Limitations of the plugin

Being entirely depending on third-party cloud services (Google Docs Viewer and Microsoft Office Online), Embed Any Document has its own limitations.

  • The embedded display does not support video/audio playback and animations/transitions in the embedded documents

  • Your document has to be available online for the embed views to work. The viewers do not support local host, intranet and files hosted in any password protected environment

  • The viewers can handle files of a limited size only (Maximum 8MB for Google Docs Viewer and 10MB for Microsoft Office Online)

  • The download and pop-out buttons cannot be removed – Any feature that comes by default with the viewers cannot be removed or altered

Please read our FAQs for details.

This is an AWSM Project.

Disclaimer: This plugin is not authorized by, endorsed by or sponsored by Google or Microsoft. The plugin is just making use of the cloud services the respective companies provide to preview your documents.

Summary

Seamlessly embed and display PDF, Word, Excel and PowerPoint documents on your WordPress website.

Screenshots

  • Embed Any Document Working
  • Embed Any Document Gutenberg Block
  • Block editor view and block options 4 ‘Add Document’ button in the Classic Editor
  • Add document popup for the Classic Editor
  • Insert Document options for the Classic Editor
  • Add from URL option for the Classic Editor
  • Embedded Document Preloader

Blocks

This plugin provides 1 block.

  • Document

Installation

  1. Upload the entire embed-any-documents folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Done.

Upload or link the documents to your site using the ‘Add Document’ button in the Visual editor.

FAQ

How do I add documents?

Once the plugin is activated you can find ‘Add Document’ button in your WordPress visual editor. Just click on that and follow your heart.

File not found error in my localhost site!

The viewers (Google Docs Viewer and Microsoft Office Online) do not support locally hosted files. Your document has to be available online for the viewers to access.

I have another question that you must add in your FAQ.

Great. Send it to ead@awsm.in. We will answer it as soon as we can.

Reviews

May 17, 2023
WP 6.2; Kadence Theme; Displaying several long or short PDF docs. Problem: Docs will not load unless ‘reload docs’ clicked at bottom of display area.
June 3, 2022 1 reply
So I tried 2 other options for displaying docx etc this was by far the neatest particularly because it doesn’t need to keep a separate list of docs and pdfs. Shortcode is entered directly in the content panel. No need to ever copy and paste. If you are using elementor you will need to manually copy this shortcode and enter into a “shortcode” widget on your elementor page. Or in my case copy it into a custom text field for elementor to dynamically pick up. Works perfectly. Thanks
November 14, 2021 1 reply
Just perfect. Thanks for the plugin!
November 3, 2021 9 replies
Plugin work nicely and is not complicated…. However, when adding a PDF document, the path includes the full URL, making it break all PDF links when migrating to another domain The author should consider adding support for relative paths
Read all 91 reviews

Contributors & Developers

“Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files” is open source software. The following people have contributed to this plugin.

Contributors

“Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files” has been translated into 10 locales. Thank you to the translators for their contributions.

Translate “Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

V 2.7.4 – 2023-08-07

  • Added: Cookie Policy section.
  • Code improvements.

V 2.7.3 – 2023-07-12

  • Improved security.
  • Code improvements.

V 2.7.2 – 2022-01-30

  • Fixed: Security issue with file uploading.
  • Fixed: Document block style issues.

V 2.7.1 – 2021-12-10

  • Fixed: Fatal error in some installations.
  • UI Improvements.

V 2.7.0 – 2021-08-02

  • Added: Improved Block Design.
  • Fixed: Conflict with Lazy loading feature added by some themes and plugins.
  • Fixed: Browser viewer fallback for unsupported browsers not working.

See changelog of previous versions