How to Embed/Add/Link/Show PDF, DOC, XLS,PPT,RTF,ODF files in Blogger Post

Most of bloggers using Google's free blogger platform. Even though it has more features but you cannot upload pdf, doc, xls, ppt, odf, rdf files directly on blogger. But now you can embed documents, spreadsheets, PDF files using Google Drive. Google Drive is a Google's recent released cloud storage service it has more useful features. Google Docs offers an undocumented feature that lets you embed PDF files and PowerPoint presentations in a web page. If the file is not uploaded to Google Docs, but it is to be available online.

How To Embed PDF/DOC Files in Blogger

Method 1


If the file is available online and you want to embed that file in a post.  Then click on Edit HTML Tab when you are writing a post and paste the code shown below where you want to embed that file.

<iframe src="http://docs.google.com/gview?url=http://ilpubs.stanford.edu:8090/361/1/1998-8.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

  • Replace http://ilpubs.stanford.edu:8090/361/1/1998-8.pdf with the url where your pdf/doc files are present
  • Change width:600px; height:500px according to your template

Method 2

If you want to save the file in google drive then open drive.google.com and login to your account then click on the upload button and choose your files need to embed. After upload completed click on the uploaded file link See the screenshot shown below

  • Then go to File - Embed (this PDF file) in menu bar.

  • After you hit the Embed option then a popup will shows just copy that code and paste it on Edit HTML mode in blogger post editor section.

Like it? Share it.

2 comments

mahesh
31 July 2012 at 06:04

brother how to place my blog header on left side like u please please help me..please

19 November 2012 at 03:42

That's a very nice and new trick.

Click to Add a New Comment

  • If you're asking a question click on Subscribe By Email link, on the comment form, to be notified of replies.
  • Do NOT add links to the body of your comment as they will not be published.
  • Only the comments posted in ENGLISH will be approved.
  • If you have a problem check first the comments , maybe you will find the solution there.