Sök
Rensa sökning
Stäng sökrutan
Googles appar
Huvudmeny
Sidan du har begärt finns tyvärr inte på ditt språk för närvarande. Du kan välja ett annat språk längst ned på sidan eller översätta vilken webbsida du vill till valfritt språk direkt med hjälp av den inbyggda översättningsfunktionen i Google Chrome.

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

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 (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.
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’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.
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 - 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?