Google Doc Embedder

Wordpress Plugin
Download latest - 2.6.4



Download Stats

Today 135
Yesterday 190
Last Week 1,427
All Time 1,034,418
Banner 772x250

Google Doc Embedder lets you embed several types of files into your WordPress pages using the free Google Docs Viewer - allowing inline viewing (and optional downloading) of a wide range of popular file types, with no Flash or PDF browser plug-ins required.

NOTE: Recent changes by Google to their viewer mean that some other plugins may be more suitable:

  • If you are able to store your files in Google Drive, try the Google Drive Embedder plugin. This will be faster to display, and more reliable.
  • To make it difficult for users to download the full PDF (the old 'enhanced mode'), please find out more about our new plugin - PDF Embedder Secure.
  • Mobile-friendly functionality for viewing PDFs is available in PDF Embedder Premium.

If this plugin works as you require then feel free to continue to use it, but please do not expect support beyond urgent security fixes. It is not guaranteed that Google will continue to offer or support their Document Viewer.

More about Google Doc Embedder

Similar to services like Scribd, Google Doc Embedder will allow you to embed these files directly into your page or post, not requiring the user to have Microsoft Word, Adobe Reader, PowerPoint, or other software installed to view the contents. Unlike Scribd, the files do not need to be uploaded to any service first - including Google Docs - but can exist anywhere publicly accessible on your site or the internet.

Supported file formats include:

  • Adobe Acrobat (PDF)
  • Microsoft Word (DOC/DOCX*)
  • Microsoft PowerPoint (PPT/PPTX*)
  • Microsoft Excel (XLS/XLSX*)
  • TIFF Images (TIF, TIFF)
  • Apple Pages (PAGES)
  • Adobe Illustrator (AI)
  • Adobe Photoshop (PSD)
  • Autodesk AutoCad (DXF)
  • Scalable Vector Graphics (SVG)
  • PostScript (EPS/PS)
  • OpenType/TrueType Fonts (OTF, TTF)
  • XML Paper Specification (XPS)
  • Archive Files (ZIP/RAR)

Office XML (2007+) file formats are sometimes problematic with Google Viewer. Please test your documents, and when possible I recommend you use the Office 2003 equivalent formats instead.

Note: Use of this plug-in implies your agreement with Google's published Terms of Service.


  • English (en_US), built-in
  • Czech (cs_CZ) by Jirka, thanks!
  • Dutch (nl_NL) by Niko Strijbol, thanks!
  • French (fr_FR) by Erwan, thanks!
  • Hungarian (hu_HU) by szemcse, thanks!
  • Italian (it_IT) by Marco, thanks!
  • Russian (ru_RU) by Józek, thanks!
  • Spanish (es_ES) by elarequi, thanks!
  • Turkish (tr_TR) by LettoBlog, thanks!
  • Ukrainian (uk) by Józek, thanks!

Many thanks to the original author of the plugin, Kevin Davis.

Releases (62 )

Version Release Date Change Log
2.6.4 2018-01-10

Tidied up files that were no longer being used by the plugin, and simplified by removing profile editing. The extra legacy code caused a false-positive security alert and caused the plugin to be removed from the repository temporarily.

2.6.3 2017-10-02

Removed a PHP file that was no longer being used by the plugin - this caused a false-positive security alert and caused the plugin to be removed from the repository temporarily.

2.6.2 2016-09-27

Additional checks to protect against XSS/CSRF vulnerability reported by Tristan Madani.

Removed settings and profile import/export feature to reduce support and development requirements of this plugin.

2.6.1 2016-09-22

Works with WP4.6. Fixed a potential cross-site security vulnerability.

2.6 2015-12-16

New version number to avoid previous version number conflicts. This version should work with WP4.4

2.5.20 2015-11-20
2.5.18 2015-01-14
  • Added: Notice on settings page about recent changes to Google Viewer.
2.5.17 2014-12-06
  • Fixed: Potential security vulnerability in disabled enhanced viewer code
2.5.16 2014-12-02
  • Removed: Masked URL ability, pending rewrite after Google breakage
2.5.15 2014-11-11
  • Removed: Enhanced Viewer and moble option, pending rewrite after Google breakage
  • Added: Italian translation (thanks Marco)
  • Fixed: Potential block download and hidden toolbar conflict (thanks Tom)
  • Fixed: Garbled Cyrillic text in editor dialog (thanks bones852)
2.5.14 2014-06-26
  • Fixed: Download link had no text in some circumstances
  • Updated: Hungarian translation (thanks szemcse)
2.5.13 2014-04-09
  • Fixed: Javascript error within WP 3.9 visual editor (thanks Sergey)
  • Fixed: (E) Unsupported browser message on some documents
  • Changed: (E) Lengthened default network timeout
  • Removed: Long-useless authonly
2.5.12 2013-12-05
  • Changed: Updated mobile detection library
  • Changed: Updated settings navigation style for WP 3.8+
  • Changed: Updated Dutch translation (thanks Niko)
2.5.11 2013-11-15
  • Fixed: Settings and profiles import
  • Changed: Removed beta delivery API (disabled in 2.5.9)
2.5.10 2013-11-14
  • Fixed: PHP warning on multisite during uninstall (thanks TigranTovmasyan)
  • Changed: (E) Viewer settings use native color picker
  • Changed: Now requires WordPress 3.5+ (removed legacy functions)
2.5.8 2013-08-23
  • Added: (E) Right-click menu disabled on secure documents
  • Fixed: Support tab service errors
  • Changed: Czech translation updated (thanks Jirka)
2.5.7 2013-06-18
  • Fixed: No submit button on support tab in using < WP 3.4 (thanks fatherb)
  • Fixed: save=0 option not respected in some cases
  • Fixed: (E) cache=0 option breaks secure document display (thanks Manish)
  • Fixed: (E) Javascript sometimes broken with WP_DEBUG enabled
  • Changed: (E) Increased timeout period on fetching document contents
2.5.6 2013-02-22
  • Fixed: (E) Hangs on document load due to Google code changes
  • Fixed: (E) Profile language not honored on New Window button tip (thanks Ege)
  • Fixed: New profiles appear blank on initial load
  • Fixed: HTTP status code check is too stringent for some servers
  • Fixed: Spurious database error on deactivation if log table not present
  • Fixed: PHP error when API key retrieval fails
2.5.5 2013-02-01
  • Added: Option to restrict full screen view to logged-in users
  • Fixed: Rate limit exceeded on shortened URLs (thanks Dan)
  • Fixed: Some settings remain in database after uninstall
  • Fixed: Dimensions not sanitized in editor dialog
  • Changed: Activation rebuilt to alleviate profile related errors
  • Changed: Insert from Media Library ability restored for WP 3.5+
2.5.4 2012-12-20
  • Fixed: Force download option gives PHP error (thanks Zverina)
  • Fixed: Force download breaks on filenames with multiple extensions
  • Fixed: Numeric-only profile names accepted (conflict with IDs)
  • Fixed: Can't validate redirected URLs (thanks onesoftindiana)
  • Fixed: Duplicating table indexes when logging enabled
2.5.3 2012-12-18
  • Fixed: Unsupported file type regression interferes with some uploads
2.5.2 2012-12-17
  • Fixed: Fatal error with certain plugins and themes
  • Changed: Network activation halted for now (multisite single activation OK)
  • Changed: Removed reliance on web services for file type recognition
  • Changed: Multisite database improvements
  • Changed: Text domain now called on the appropriate hook
2.5.1 2012-12-14
  • Added: Russian translation (thanks Józek)
  • Fixed: Default profile not created on clean install (thanks Clifford)
  • Fixed: Viewer size from shortcode doesn't default to pixel
  • Fixed: Erroneous error message when file validation is blocked
2.5 2012-12-11
  • Added: "Profiles" allow each viewer instance to have its own settings
  • Added: (E) Private document support (block downloads of source file)
  • Added: (E) Customize viewer color scheme
  • Added: (E) Full toolbar customization, including removal
  • Added: Backup/Import of settings and viewer profiles
  • Added: page
2.4.6 2012-07-18
  • Fixed: Error in Mask URL download link for non-PDF file types
2.4.5 2012-07-16
  • Fixed: Regression breaks some files containing spaces (thanks mlautens)
  • Fixed: Mask URL 400 error on filenames with spaces (thanks mrhaanraadts)
  • Fixed: PDF Force Download option doesn't support SSL
2.4.4 2012-07-10
  • Added: PPS and OTF support
  • Fixed: Broken support of international filenames in IE (thanks beredim)
  • Fixed: More robust file size checking with nonstandard filenames
  • Fixed: Global disable cache option not always honored
  • Fixed: (E) Mobile theme not loaded if not globally requested
  • Changed: Now requires WordPress 3.0+ (mainly for support reasons)
2.4.3 2012-05-31
  • Added: Dark theme shortcode option (EXPERIMENTAL)
  • Added: Turkish translation (thanks LettoBlog)
  • Fixed: Visual editor integration for IIS webhosts (thanks Kristof)
  • Changed: Debug information is now a support page from plugin list
2.4.2 2012-05-14
  • Fixed: PHP Warning related to MIME type expansion (thanks Adebayo)
2.4.1 2012-05-04
  • Added: Spanish translation (thanks elarequi)
  • Added: Method to obtain debug information
  • Fixed: Insertion of non-GDE file types from Media Library
2.4 2012-05-02
  • Added: Allow native upload/insert of all supported file types
  • Added: Shortcode inserted from Media Library for supported files
  • Added: Localization support (translations welcome)
  • Added: Ability to use mobile theme with Enhanced Viewer
  • Fixed: Toolbar customization on mobile with Enhanced Viewer
  • Fixed: Editor integration No longer loads its own TinyMCE/jquery libs
  • Fixed: URL changes for plugin, help links, beta checking
  • Fixed: "Moved Temporarily" error in Enhanced Viewer (thanks webmonkeywatts)
2.3 2012-04-09
  • Added: Option to set base URL for embedded files (thanks KevEd)
  • Added: Option to show error messages inline instead of as HTML comments
  • Added: File type check in editor dialog
  • Fixed: Download Link setting didn't update shortcode in editor dialog
2.2.3 2012-01-04
  • Fixed: Additional Enhanced Viewer fixes
  • Fixed: jquery error in editor integration
2.2.2 2011-12-16
  • Fixed: Toolbar customizations in Enhanced Viewer
  • Fixed: iPhone scrolling bug (thanks Vayu)
  • Changed: Confirmed compatibility with WP 3.3
2.2.1 2011-08-25
  • Fixed: HTML syntax bug when custom dimensions provided
2.2 2011-08-08
  • Added: ZIP/RAR Archive support (thanks enkerli)
2.1.0 2011-07-07
2.0 2011-06-28
  • Added: TinyMCE and Quicktag editor integration (thanks cr.aguila)
  • Added: Option to override internal caching of viewer (thanks Brian)
  • Added: More individual overrides for global settings
  • Fixed: Deprecated HTML output that interfered with some browsers
  • Removed: Plugin conflict code and setting; not particularly useful
1.9.8 2011-06-22
  • Added: Viewer support for multiple new file types
  • Changed: Workaround for NextGEN Gallery incompatibility (thanks alex)
  • Changed: Defaults to Standard Viewer (IE problem is fixed!)
1.9.7 2010-12-26
  • Fixed: Minor compatibility issue with some PHP versions
  • Changed: Confirmed compatibility with WP 3.1
1.9.6 2010-08-05
  • Changed: Removed min-width restriction of viewer (thanks Amanda)
  • Fixed: Enhanced Viewer failed in hardened PHP configs (thanks Waseem)
  • Fixed: Force Download option failed in hardened PHP configs
  • Fixed: Options page layout quirks in lower resolutions
  • Fixed: Options page PHP parse error on XAMPP (thanks John)
1.9.5 2010-07-17
  • Added: Support for Word documents (DOC, DOCX)
  • Added: Default language option for viewer
  • Added: Revived ability to hide selected viewer toolbar buttons (from 1.7)
  • Changed: IE now supported by "enhanced viewer" proxy option (ie-warn removed)
  • Changed: Improved options organization
  • Fixed: Filenames with spaces wouldn't load
  • Fixed: Suppress beta notification option not honored
1.9.4 2010-04-06
  • Added: Option to restrict download link to logged in users (thanks kris)
  • Added: Compatibility with WP 3.0
1.9.3 2010-03-19
  • Added: Support for PPS files (thanks Dan)
  • Changed: Simplified default IE Warning text
1.9.2 2009-12-22
  • Fixed: "Turn off beta notifications" needlessly still checked for beta version
  • Confirmed WP 2.9 compatibility
  • Beta delivery test
1.9.1 2009-11-19
  • Fixed: Options not saved in some instances due to variable collision (thanks gadgetto)
  • Fixed: Options not saved when plugin is reactivated
  • Changed: Default width now 100% (existing setting will be preserved)
  • Added: Notification of beta versions - more info
1.9 2009-11-14
  • Added: Revealed more troubleshooting options (under "Advanced Options")
  • Fixed: No longer relies on cURL for any function
  • Changed: Function overhaul for general efficiency and reduced database calls
  • Removed: WP 2.5 compatibility. Now requires WordPress 2.7+.
1.8.2 2009-11-01
  • Fixed: Fatal PHP error if cURL library not active (WAMPServer, etc.)
1.8.1 2009-10-25
  • Added: Temporary (I hope) workaround option to insert help statement for users of IE8 - more info
1.8 2009-10-20
  • Added: Ability to set height/width to percentage (thanks eturfboer)
  • Fixed: Compatibility with PHP 5.3+, various function tuning
1.7.3 2009-10-14
  • Fixed: File URL containing tilde (~) considered invalid (thanks mjurek)
1.7.2 2009-10-09
  • Removed: toolbar button options (Google prevents this from working, sorry)
1.7.1 2009-10-08
  • Fixed: Misleading error message if file
1.7 2009-10-03
  • Added: Ability to hide selected viewer toolbar buttons
  • Fixed: Mask URL option ignored on non-PDF file types
1.6 2009-09-26
  • Added: Additional class names for optional stylesheet use
  • Added: Support to embed TIFF images
  • Fixed: Invalid settings link in plugin list (WordPress MU)
  • Changed: Embed path to conform to Google published guidelines
1.5.1 2009-09-24
  • Fixed: Viewer not hidden if linked file not found
  • Fixed: Divide by zero error if file size can't be determined
  • Fixed: PHP error if file not found (force download link)
  • Fixed: File not found falsely reported on some web servers
1.5 2009-09-15
  • Improved error checking.
  • Improved customization options for download text.
  • Added option to override default browser behavior for PDF links (force download).
  • Added option to reset options to defaults.
1.0.3 2009-09-13
  • Installation bug fix.
1.0 2009-09-12
  • Added options page.
0.3 2009-09-12
  • Error checking added
0.2.1 2009-09-12
0.2 2009-09-12