PDF and Document Online Reader: Embed and View PDF’s and Documents Free

PDF and Document Online Reader: Embed and View PDF’s and Documents Free

Google’s Google Docs has a nifty iframe embed tool that allows you to embed and view documents online (pdf’s included)!

Google Docs offers an undocumented feature that lets you embed PDF files and PowerPoint presentations in a web page. The files don’t have to be uploaded to Google Docs, but they need to be available online.

Check out the code below after the jump. You simply need to supply the url of the document.

<iframe id="app-iframe" class="iframe-doc" src="http://docs.google.com/viewer?url=http://infolab.stanford.edu/pub/papers/google.pdfamp;embedded=true" height="600" width="680" title="PDF Sample" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

The prior code sample above would output the following example:


This is a great way to read Adobe PDF Files In Your Web Browser Without Any Software. You can also use it to embed PowerPoint presentations, and TIFF files.

About Giancarlo Colfer
Giancarlo Colfer
Affinity Media & Publishing Group's Founder & CEO

New York Experienced Professional Web Developer & Web Designer with over 18 plus years of experience in HTML, CSS, JavaScript, PHP and more.

Enjoyed this? Share this!

Subscribe to my RSS Feeds, Connect with me or simply recommend me to friends and colleagues!

  • digg
  • stumble
  • delicious
  • reddit
  • tumblr
  • pinterest
  • twitter
  • facebook

One Response to “PDF and Document Online Reader: Embed and View PDF’s and Documents Free”

Be heard! Get involved and post your thoughts on Web Development today!

Read the comments left by other users below, or:

Guidelines: You share in the Affinity Media & Publishing Group, LLC community, so please keep your comments smart and civil. Do not attack other readers personally, and keep your language decent.

XHTML: You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Signed in as [ Guest — Welcome! ]

AvatarNot sure how to get an image with your comment?

Terms of use: The views, opinions and comments posted are yours, and are not endorsed by this website. You shall be solely responsible for the comment posted here. The website reserves the right to delete, reject, or otherwise remove any views, opinions and comments posted or part thereof. You shall ensure that the comment is not inflammatory, abusive, derogatory, defamatory &/or obscene, or contain pornographic matter and/or does not constitute hate mail, or violate privacy of any person (s) or breach confidentiality or otherwise is illegal, immoral or contrary to public policy. Nor should it contain anything infringing copyright &/or intellectual property rights of any person(s).


  1. Giancarlo Colfer Dori friend said 9 years ago: Hello , thanks :) , very useful article ,all the best. June 14, 2015 at 7:47am