Publish and embed Google Docs, Sheets, Slides & Forms

Publish and embed Google Docs, Sheets, Slides & Forms

To make a document, spreadsheet, or presentation, available for a large audience to see, publish a file. After you publish your file, you’ll have a URL that you can send to anyone or embed into your website.

Publish files

To publish a file:
  1. Open a file in Google DocsSheets, or Slides.
  2. At the top, click File and then Publish to the web.
  3. The entire file will be published, but some file types have more publishing options:
    • Spreadsheet: Publish the entire spreadsheet or individual sheets. You can also choose a publishing format (webpage, .csv, .tsv, .pdf, .xlsx, .ods).
    • Presentation: Choose how quickly to advance the slides.
  4. Click Publish.
  5. Copy the URL and send it to anyone you’d like to see the file. Or, embed it into your website.
Published files update automatically whenever a change is made in the original file. Learn how to prevent your published files from being updated.
  1. Open a file in Google DocsSheets, or Slides.
  2. At the top, click File and then Publish to the web.
  3. Click Published content & settings.
  4. Click Stop publishing.
If you send someone the URL of a published file, they’ll see a version they can’t edit that looks different from yours. Here’s what others will see:
  • Documents: A version with no toolbar available.
  • Spreadsheets: A version with no toolbar available. People with "view" permissions can see charts, cell formatting, and the values of cells, but can’t view or edit formulas.
  • Presentations: A view-only version or a version in presentation mode with full-screen slides.
If you're the owner of a file and want others to publish the file, give them "edit" access.
To stop others from publishing a file, change your sharing settings:
  1. Open a file in Google DocsSheets, or Slides.
  2. In the top right, click Share.
  3. In the bottom right, click Advanced.
  4. At the bottom, click the box next to "Prevent editors from changing access and adding new people."
  5. Click Save.

Embed files

You can make a document, spreadsheet, presentation, or form available to view on an existing website by embedding it in your site or blog.
  1. Open a file in Google DocsSheets, or Slides.
  2. At the top, click File and then Publish to the web.
  3. In the window that appears, click Embed.
  4. The entire file will be published, but some file types have more publishing options:
    • Spreadsheet: Choose to publish the entire spreadsheet or individual sheets.
    • Presentation: Choose a presentation size and how quickly to advance the slides.
  5. Click Publish.
  6. Copy the code in the text box and paste it into your site or blog.

Embed spreadsheets

If you’re embedding a spreadsheet, change or add the parameters below to show or hide parts of a spreadsheet.
  • gid=1674242611 - 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.
  1. Open a form in Google Forms.
  2. In the top right, click Send.
  3. At the top of the window, click Embed.
  4. To copy the HTML that appears, click Copy or press Ctrl + c (Windows) or ⌘ + c (Mac) on your keyboard.
  5. Paste the HTML into your website or blog.
To share published Docs, Sheets, and Slides on a new Google Site:
  1. Open a site in Google Sites.
  2. From the menu on the right, click INSERT.
  3. Under Google Docs, choose from:
    • Docs
    • Slides
    • Sheets
    • Forms
    • Charts
  4. To add it to your site, select a file and click Insert.

Comments