To make a document, spreadsheet, or presentation available for a large audience to see, publish the file. After you publish your file you can send a new URL to anyone or embed into your website.
Important: Based on your accountâs settings, when you publish a file, you can make it visible to everyone on the web, everyone in your organization, or a group of people in your organization. Be careful when publishing private or sensitive info.
Publish file
Important:
- When you publish a chart to the web, people can see the data used to create it. Be careful when publishing a chart with private or sensitive info.
- Any changes you make to the original document will be updated in the published version. The automatic update might take a few minutes.
- To remove a file from the web, you must stop publishing it. Learn how to stop publishing a file.
- To stop sharing a file with collaborators, learn how to change sharing permissions.
- In Google Docs, Sheets, or Slides, open a file.
- At the top, click File Share Publish to web.
- Choose a publishing option:
- Spreadsheet: Publish the entire spreadsheet or individual sheets. You can also choose a publishing format.
- Presentation: Choose how quickly to advance the slides.
- Click Publish.
- Copy the URL and send it to anyone youâd like to see the file. Or, embed it into your website.
Publish a file from a shared drive
Important: If youâre using an account through work or school, your administrator might have turned off the ability to publish a file. If you canât publish a file, contact your administrator.
- On your computer, go to drive.google.com.
- On the left, click Shared drives double-click one of your shared drives.
- At the top, next to the name of your shared drive, click the Down arrow Shared drive settings.
- Next to âSharing with non-members,â click Edit.
- Click âNon-member of this shared drive can be given access to files in this shared drive.â
- Click Apply.
- Follow the steps to publish a file.
- Open a file in Google Docs or Sheets that youâve already published to the web.
- Click File Share Publish to web.
- Click Published content & settings.
- Uncheck the box next to "Automatically republish when changes are made."
- To turn automatic publishing back on, check the box.
Tip: You can't turn off automatic updates in Google Slides.
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.
- Spreadsheets: A version with no toolbar. 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.
File owners and editors can publish files. If you're the owner of a file and want someone else to publish the file, give them "edit" access.
If youâre the owner and donât want anyone else to publish the file:
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.
- Open a file in Google Docs, Sheets, or Slides.
- At the top, click File Share Publish to web.
- In the window that appears, click Embed.
- Choose a publishing option:
- Spreadsheet: Choose to publish the entire spreadsheet or individual sheets.
- Presentation: Choose a presentation size and how quickly to change the slides.
- Click Publish.
- Copy the HTML in the text box and paste it into your site or blog.
If youâre embedding a spreadsheet, you can show or hide parts of the spreadsheet after you publish to the web.
- Open a file in Google Sheets.
- At the top, click File Share Publish to web.
- In the window that appears, click Embed.
- Click Publish.
- Copy the code in the text box and paste it into your site or blog.
- To show or hide parts of the spreadsheet, edit the HTML on your site or blog.
gid=
: The sheet ID.range=
: The rows and columns that are published to the web. For example, A1:B14.widget=
: True or false. If true, the sheet tab is displayed at the bottom.headers=
: True or false. If true, row numbers and column letters are displayed.chrome=
: True or false. If true, the title and footer are displayed.
- In Google Forms, open a form.
- At the top right, click Send.
- At the top of the window, click Embed.
- To copy the HTML that appears, click Copy.
- Paste the HTML into your site or blog.
Tip: Learn more about changes to third-party cookie requirements in Google Drive.