Clear search
Close search
Google apps
Main menu

Embed files

You can make a document, spreadsheet, presentation, form, or drawing available to view on an existing website by embedding it in your site or blog.

Embed a document, spreadsheet, presentation, or drawing

  1. Open a document, spreadsheet, presentation, or drawing.
  2. Go to the File menu.
  3. Select Publish to the Web.
  4. At the top of the window, click Embed.
  5. While the entire file will be published by default, some file types have additional publishing options available in a drop-down menu:
    • Spreadsheet: Choose to publish the entire spreadsheet or individual sheets
    • Presentation: Choose a presentation size and how quickly to advance the slides
    • Drawing: Choose the image size for your drawing
  6. Click Publish.
  7. Copy the code in the text box and paste it into your site or blog.

    If you’re embedding a spreadsheet, change or add the parameters below to show or hide parts of a spreadsheet.

    • gid=1674242611 - This is the sheet ID.
    • range=A1:B14 - The range you want to display.
    • widget=false - If false, there's no sheet tab displayed at the bottom.
    • headers=false - Row numbers and column letters are not displayed.
    • chrome=false - Title and footer is not displayed.

Embed a form

  1. Open a form.
  2. Go to the File menu.
  3. Click Embed.
  4. Copy the code in the text box and paste it into your site or blog. You can also adjust the size of the embedded form before copying.

Embed a file into a Google site

To share published Docs, Sheets, and Slides in a Google site:

  1. Sign in to and open the page of your site where you want to embed the file.
  2. Click the Edit page button in the top-right corner of the page.
  3. Click the Insert menu and hover over Drive.
  4. Choose Document, Spreadsheet, Presentation, or Form and add the file’s published URL at the bottom of the menu.
  5. Click Select.

Mary is a Docs & Drive expert and author of this help page. Leave her feedback below about the page.

Was this article helpful?
How can we improve it?