=== Document Embedder – Embed PDFs, Word, Excel, and Other Files ===
Contributors: bplugins, abuhayat, shehabulislam, taninrahman, freemius
Tags: document embedder, embed pdf, embed any document, pdf embedder, add document
Requires at least: 6.5+
Tested up to: 6.9
Stable tag: 2.0.3
Requires PHP: 7.1
Donate link: https://www.buymeacoffee.com/abuhayat/
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Document Embedder lets you display PDF, DOCX, PPTX, XLSX, and other files in WordPress sites with a responsive viewer and optional download button.

== Description ==
**Embed Any Document Instantly with the #1 No-Code Plugin – Trusted by 10,000+ WordPress Sites**


[**Document Embedder**](https://bplugins.com/products/document-embedder/) | [**Documentation**](https://bplugins.com/docs/document-embedder/) | [**Pricing**](https://bplugins.com/products/document-embedder/#pricing) | [**Support**](https://bplugins.com/support/) | [**Demo**](https://bplugins.com/products/document-embedder/#demos)

[**Document Embedder**](https://bplugins.com/products/document-embedder/) allows you to embed PDF, Word, Excel, PowerPoint, and other document formats directly into WordPress posts and pages. It supports local file uploads as well as files hosted on platforms like Google Drive and Dropbox. Files are displayed using the Google Drive viewer and can be configured to match your layout.

The new Document Library module adds a powerful way to organize and display multiple documents in a structured library. You can upload files from your device, WordPress Media Library, or via URL, rename or delete documents easily, and display them with customizable layouts. The library includes search, filter, and sorting options, a responsive design, and full control over view and download buttons. Shortcode and Gutenberg block support make it easy to add libraries anywhere on your site.

This plugin is ideal for sharing reports, presentations, worksheets, guides, and other materials without requiring visitors to download them or leave your site.


### Key Features – Free Version

- **Embed Multiple File Types:** PDF, Word, Excel, PowerPoint, images, code, and more.

- **Responsive Viewer:** Adjust **width and height** to fit any layout.

- **Filename Display:** Show the document title at the top for clarity.

- **Download Button:** Easily allow users to download PDFs.

- **Gutenberg Block Support:** Use the **Document Embedder Block** in the WordPress Block Editor (Gutenberg) for fast and easy document placement.

- **Powered by Google Drive Viewer:** Reliable, fast rendering of your embedded files.

**Document Library Module**

- **Display Multiple Documents**: Create a structured library of documents.

- **Support all File Types**: Works with PDFs, Word, Excel, PowerPoint, images, and more.

- **Flexible Upload Options**: Add documents from your device, WordPress Media Library, or via URL.

- **Quick Edit & Delete**: Rename or remove documents without hassle.

- **Shortcode and Block Support**: Add libraries anywhere using shortcode or Gutenberg block.

- **Customizable Layouts**: Style the library to match your design needs.

- **Search and Filter Controls**: Enable or hide search and filter options.

- **Sorting Options**: Sort by file size, name, or recent upload, with hide/show controls.

- **Responsive Design**: Optimized for desktops, tablets, and mobile devices.

- **Download & View Buttons**: Show view/download icons or text, with full control over display.

- **Visibility Settings**: Hide or show file icon, view button, download button, file size, and date.


### Pro Version – Unlock More Features
Upgrade to [**Document Embedder Pro**](https://bplugins.com/products/document-embedder/#pricing) for more flexibility, better user control, and advanced integrations.

**What’s Included in Pro:**

- **Disable Popout Option:** Prevent users from opening documents in a new window.

- **Lightbox Display:** Open documents in a modal window for smoother UX.

- **Loading Indicator:** Show a spinner until the document fully loads.

- **Google Drive API Integration:** Embed and manage docs directly from your Google Drive.

- **Dropbox Integration:** Access and embed files from Dropbox easily.

**Document Library Module**

- **Extended Uploads:** Upload more than 5 documents (free version limited to 5).

### Upcoming Features ###

- **Multiple Themes**: Choose different styles for displaying document libraries.

- **File Size d=Display**: Show sizes in MB, KB, or other formats.

- **Flexible Date Formats**: Display upload dates in different formats.

### How to Use – Step-by-Step Guide

https://youtube.com/watch?v=mUlMpuPMP5Q


#### Quick setup in just a few steps:

- Install and activate the Document Embedder plugin.

- Navigate to Document Embedder > Add New Doc.

- Upload or link your document and configure the viewer settings.

- Copy the generated shortcode.

- Paste the shortcode into any post, page, or widget where you want the document to appear.


**Gutenberg Block Support**
Prefer the Block Editor? No problem!

- Open the **Block Editor**.

- Click + and choose the **Document Embedder block** under “Common Blocks.”

- Select your document and configure the viewer.

- Publish and you’re done!

[**Live Demo**](https://bplugins.com/products/document-embedder/#demos) | [**Try The Pro**](https://bplugins.com/products/document-embedder/#pricing)


### Supported File Types (16+ Formats)

- **Documents:** .PDF, .DOC, .DOCX, .PAGES, .TXT, .XPS

- **Spreadsheets:** .XLS, .XLSX

- **Presentations:** .PPT, .PPTX

- **Google Docs & Drive Files**

- **Images:** .JPEG, .PNG, .GIF, .TIFF, .BMP

- **Code Files:** .HTML, .CSS, .JS, .PHP, .C, .CPP, .H, .HPP

- **Adobe Files:** .AI, .PSD

- **3D & Vector:** .SVG, .EPS, .DXF

- **Videos:** WebM, MPEG4, MOV, AVI, FLV, WMV

- **Fonts:** .TTF

- **Archives:** .ZIP, .RAR

[**Live Demo**](https://bplugins.com/products/document-embedder/#demos) | [**Try The Pro**](https://bplugins.com/products/document-embedder/#pricing)


### User Feedback

#### ⭐⭐⭐⭐⭐ [nice plugin](https://wordpress.org/support/topic/nice-plugin-4757/)

❛❛***it also works with the TutorLMS Plugin***❜❜

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


#### ⭐⭐⭐⭐⭐ [Excellent plug-in with easy management](https://wordpress.org/support/topic/excellent-plug-in-with-easy-management/)

❛❛***Many thanks to the developers for such a wonderful plugin. It really facilitates the administration of projects and optimizes the submission of content from external files. A great solution.***❜❜

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


#### ⭐⭐⭐⭐⭐ [Great](https://wordpress.org/support/topic/great-14919/)

❛❛***A great plugin. I use it on every page.***❜❜

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


Liked this plugin? Hate it? Want a new feature? [**Send your feedback**](https://bplugins.com/support)


### Check out our other WordPress Plugins-

[**Html5 Video Player**](https://bplugins.com/products/html5-video-player/) – Display videos as single and playlist in multiple skins.

[**PDF Poster**](https://bplugins.com/products/pdf-poster/) – Display/Embed PDF files with different styles.

[**Html5 Audio Player**](https://bplugins.com/products/html5-audio-player/) – Listen audios with awesome visuals.

[**StreamCast**](https://bplugins.com/products/streamcast-radio-player/) – Customizable radio player with different skins.

[**3D Viewer**](https://bplugins.com/products/3d-viewer/) – Embed 3D models and 3D products with interaction.

[**Advanced Post Block**](https://bplugins.com/products/advanced-post-block/) – Show posts and custom posts in different layouts.


== Installation ==

This section describes how to install the plugin and get it working.

e.g.

1. Upload `plugin-directory` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Use shortcode in page, post or in widgets.
4. Enjoy


== Frequently Asked Questions ==

= What is the max file size i can embed? =

You can embed any supported document within 20 Mb of size. 

= Is the embeded doc work in every browser? =

Yes, In Most of the popular Browser such as Chrome, Safari, Firefox, IE And Microsoft Edge 

= How many doc Can i embed? =

There is no Limit, you can embed thousands of doc if you want.

= Where do I report security bugs found in this plugin? =

Please report security bugs found in the source code of the Document Embedder plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/9e5fb69e-e0a3-42b6-8c77-41cd43842317). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.



== Screenshots ==

1. Add New Document
2. Configure Document
3. Document Library Module
4. Preview
5. Preview with Download Button
6. Lightbox Preview
7. Add New Library
8. Preview Document Library
9. Preview Library Without Filter Options
10. View Documents In Document Library


== Changelog ==

= 2.0.2 - 11 November 2025 = 
* Update dashboard and freemius sdk

= 2.0.0 - 4 November 2025 = 
* Fixed Vulnerability Issues

= 2.0.0 - 11 September, 2025 =
* Add Document Library
* Fixed Document Embedder Issues
* Move Document Embedder to Freemius

= 1.8.9 - 14 May, 2025 =
* Improved: Security
* Fixed: Function _load_textdomain_just_in_time was called incorrectly

= 1.8.8 - 25 Jan, 2025 =
* Fixed: Redirect to rest_no_route

= 1.8.7 - 1 July, 2024 =
* Added: Loader until PDF load

= 1.8.6 - 9 March, 2024 =
* Fixed: Blinking always


= 1.8.5 - 25 Feb, 2024 =
* Fixed: Deprecated  error messages


= 1.8.3 - 20/11/2022 =
* add 'Help' page
* remove 'Developer' and 'How to use' page

= 1.8.3 - 02/11/2022 =
* remove metabox

= 1.8.2 =
* generated pot file

= 1.8.1 =
* Solved Document load issue (Document will always load)
* Option to disable download button

=1.7.1 =
* Fixed security issue

= 1.4 =
* Fix Ooops... You forgot to Select a document Warning
* Fixed Block Editor issue

= 1.3 =
* Fix Js issue and make compatible with Wordpress 5.5

= 1.2 =
* Gutenberg Block Support

= 1.1 =
* Fix Position issue
* Improved Performance


= 1.0 =
* Initial Release