How to Insert PDF into Word, Excel, Google Doc & Embed PDF in HTML

How to Insert PDF into Word, Excel, Google Doc & Embed PDF in HTML

525Views
How-To

Portable Document Format popularly known as PDF is the standard document type for archiving and exchange. Due to its ease of use, security, formatting, PDF files have become popular and are used as online documents, with word files, Google docs, etc. Moreover, you can view, print and use them on virtually any platform. 

Still, there are people who face problems in inserting PDF into Word, Google Docs, Excel and embedding PDF in HTML. Today in this article we will discuss easy and simple ways to insert PDF into a word document, embed PDF in Excel and others. 

Embed means attaching PDF documents. In regards to HTML, this means using an HTML code you can attach a PDF file to the webpage. 

How to insert PDF into Word document

Note: The following instructions will work on Word 2010,2013,2016,2019 and Office 365. However, if you are using Word Online you cannot insert PDF files into documents. 

Moreover, once a PDF file is embedded in Word the first page of PDF appears in the document.

  1. Open the word document in which you want to insert the PDF file.
  2. Click the Insert tab.
    How to insert PDF into Word document
  3. Click Object under Text group.How to insert PDF into Word document
  4. This will open a new pop up window. Here click Create from file tab.How to insert PDF into Word document
  5. Hit the Browse button and look for the PDF file > Insert > Ok.
    How to insert PDF into Word document
  6. This will insert PDF files into the selected word document.

How to insert PDF into Word as Linked Object

Inserting PDF into Word as a linked object means whatever changes you will make to the attached PDF will reflect into the original linked PDF file. Instead of preview, you can opt to display an icon. To do so follow the steps below:

  1. Open Word document.
  2. Click Insert tab > Object under text group.
  3. Now click Create from File tab > browse to the location where PDF files are saved > Insert.
  4. Before clicking OK check, the box next to Link to File. This will insert PDF into Word as a shortcut to the original file.
    How to insert PDF into Word as Linked Object
  5. To display an icon instead of preview click Display as icon > Ok.
    How to insert PDF into Word as Linked Object

In addition to this if you want to insert the text from a PDF directly into word documents you can choose Insert from File option, follow the steps below:

  1. Open Word document.
  2. Click Insert tab > Object > Text from File.
    How to insert PDF into Word as Linked Object
  3. Navigate to the PDF file that you wish to convert > Insert.
  4. You will now receive a confirmation message click Ok to proceed.
    How to insert PDF into Word as Linked Object
  5. Once the file is converted it will appear in the Word document.

How to Insert PDF into Google Docs

  1. Locate the PDF file saved in Google Docs.
  2. Click three dots at the right and select Open in a new window.
  3. Again, click the three dots and select the Embed Item option.
    How to Insert PDF into Google Docs
  4. Copy the code.
  5. Head to Google sheet page where you want to insert PDF.
  6. Open HTML Editor > paste the HTML embed code > Update and Save the page. 

How to insert PDF file in an Excel 

To insert PDF file in Excel, follow the steps below:

  1. Open Excel.
  2. Click Insert > Object > Create New tab > select Adobe Acrobat Reader. If you cannot see Acrobat reader it means it’s not installed. This method will word if you have the program installed.
  3. Check the box next to Display as icon > Ok.
    How to insert PDF file in an Excel
  4. Select the PDF file you want to embed.

These steps will help embed/insert PDF files in excel. 

Alternatively, you can use Create from File option as we used to insert PDF in Word document. 

3 Best ways to Embed PDF into HTML 

Method 1 Tag method to Embed a PDF HTML code 

This method focuses on <object> that will be used to embed a PDF HTML code into a webpage. The object is the embedded PDF document that you want to display on the web page. The same can be used to embed ActiveX, audio, Flash, video and Java applets. When a browser refuses to support the embedded PDF HTML code attachment this method is used.  The <object> embed a PDF HTML tag can be used to attach interactive documents. 

While embedding PDF file in HTML make sure PDF file location is between open and closing of the <object tag = “tag”>

For example:-

<object data=”PDF/test.PDF #page=2” type=”application/PDF” width=” 80” height=”80”>  </object>

Method 2 iframe tag to embed PDF into HTML code 

<Iframe> tag is widely used by many website designers to embed a PDF into HTML into a website. It is compatible with Chrome, Firefox, IE8, and other browsers and is a simple way to embed a PDF into HTML code. If a browser does not support PDF document then the tag can be used to embed PDF into HTML. 

<iframe src=”test.PDF #page=2” width=”80%” height=”80%”> </iframe>

Method 3 embed tag to embed a PDF to HTML code

This tag isn’t used often because if the browser doesn’t support PDF files, the user will see a blank. <embed> is used to embed a PDF HTML code when there is no need to provide fallback content in the embed a PDF HTML code. 

Example <embed> embed HTML code 

<embed src =”PDF/test.PDF#page=2”type=”application/PDF”wif=dth=”80”height=”80”>

The display of the embed a PDF HTML code depends on the HTML code tag. To make sure embedded PDF is displayed properly you can combine tags. These methods to embed PDF into HTML can be used by those who can read and write website code. 

Wrapping up 

Using all these above methods you can easily insert PDF into word, excel and can embed PDF into HTML. As time is changing this method will be used more often therefore, we need to be prepared. If you know of any other way to insert PDF into word or embed in PDF in HTML for websites do share with us in the comments sections. 

Is this page helpful?

Leave a Reply

POPULAR ARTICLES

View Offer Close