Search
Clear search
Close search
Google apps
Main menu

During routine maintenance, a number of users were signed-out from their Google accounts. If you were affected, please sign back in using your usual username and password at https://accounts.google.com. If you can’t remember your password or can’t sign in for another reason, recover your account password here.

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 a file

To publish a file:

  1. Open a file in Google Docs, Sheets, 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 (web page, .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.
Update your published file

Published files update automatically whenever a change is made in the original file. Learn how to prevent your published files from being updated.

Stop publishing a file
  1. Open a file in Google Docs, Sheets, or Slides.
  2. At the top, click File and then Publish to the web.
  3. Click Published content & settings.
  4. Click Stop publishing.
How published files look when you share them

If you send someone the URL of a published file, they won't be able to make any edits, and the version of the file they see will look 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 will be able to see charts, cell formatting, and the values of cells, but won’t be able to view or edit formulas.
  • Presentations: A view-only version or a version in presentation mode with full-screen slides.
Control who can publish a file

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 Docs, Sheets, 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.

Embed a document, spreadsheet, or presentation
  1. Open a file in Google Docs, Sheets, 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 - 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 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.
Embed a file into a Google site

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.

Learn how to add Google Drive content to a classic Google Site.

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?