Read or Embed Documents Online with Google Docs Viewer

google docs viewerConsider the scenario when you want to display MS office excel file in a web page or in your blog post. Another case could be when you want to read an office document but you don’t have the required software for it. Google comes to rescue you in such situations by offering an online viewer, which can also be easily embedded to view popular file formats in your browser.

Many people who browse the Internet have come across files that cannot be viewed within the browser of their choice. For instance, in browsers like Chrome, files such as Microsoft Word, Excel, and PowerPoint cannot open in the browser and have to be downloaded and viewed using the respective applications. This can become tedious since downloading each file can clutter one’s storage space. Also, some users may not have the necessary application to view the file such as when trying to view it on a public or work computer.

Well, you can do away with the frustration with the Google Docs Viewer. The viewer allows you to view various popular file types without having to download the files. It has been mainly used to display one’s documents to users without Google Docs accounts with a link. However, the Google Docs Viewer has been expanded to support over 15 different file types, listed below:

• Microsoft Word (.DOC and .DOCX)
• Microsoft Excel (.XLS and .XLSX)
• Microsoft PowerPoint (.PPT and .PPTX)
• Adobe Portable Document Format (.PDF)
• Adobe Photoshop (.PSD)
• Adobe Illustrator (.AI)
• Apple Pages (.PAGES)
• Tagged Image File Format (.TIFF)
• Scalable Vector Graphics (.SVG)
• TrueType (.TTF)
• XML Paper Specification (.XPS)
• PostScript (.EPS, .PS)
• Autodesk AutoCad (.DXF)
• Archive file types (.ZIP and .RAR)

The viewer is an excellent solution for those moments when the associated software such as Microsoft Office and WinRAR are not available. It also makes browsing through supported online files a breeze with its quick-viewing capabilities. This works in conjunction with Gmail for viewing of email attachments with a “View” link adjacent to them.

To use the viewer, simply go to viewer’s website and generate a viewable link of the file using it’s URL. You can also download the browser extension for Chrome and Firefox that automatically generates the viewable link in another tab. One caveat is that it doesn’t work for files that require a login to view in which the domain will have to be whitelisted in the extension’s options in order to download them.

To embed the viewer in any web page you should append the path of the document to . For example, I have used the following code to display this .doc document in this page –

<iframe src=”” style=”width:560px; height:500px;” frameborder=”0″></iframe>

Note: Another good alternative service which does the same job but offers less formats is Zoho Viewer.

Did you find this article useful -

Filed under Google Docs Tricks. Posted by Abhishek and last updated on February 7, 2013.

Leave a Comment:

Your email address will not be published. Required fields are marked *


Get Google Updates

Every Sunday, we send out "Google This Week" newsletter which covers all the latest and important updates from Google. First, we curate information from authentic and verified sources and then write the newsletter in an easy to understand format with images and summary for each update. View Sample ›

Join 9000+ subscribers following their favorite company in a simpler and easier way. Join Now ›