Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

Do you have a bunch of data in an Excel document or Google spreadsheet, and you want to share it publicly by posting it on your website? Now you no longer have to create a static HTML table.

Download Google Docs, Google Sheets and Google Slides

In fact, Google allows you to embed a table into a web page that will be updated when the Google Docs, Sheets, Slides or Forms file is updated. The way to do that is to create something called spreadsheets directly. The following article will show you how to publish and embed Google Docs, Sheets & Slides files in web pages. Let's find out how to do it!

1. Publish the file

To publish a file, do the following:

  • Open a file in Google Docs, Sheets or Slides.
  • Click File> Publish to the web (File> Publish to web) located in the upper left corner of the file window.

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

  • The entire file will be published, but some file types have multiple publishing options:
    • Spreadsheets: Publish entire spreadsheets or individual pages. You can also choose a publishing format (webpage, .csv, .tsv, .pdf, .xlsx, .ods).
    • Slide: Select the speed at which slides are displayed.
  • Click Publish .

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

  • Copy the URL and send it to the person you want to share the file with.

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

The published file will be updated automatically when any changes are made to the original file.

1.1. Stop publishing files

To stop publishing a file, open it in Google Docs, Sheets or Slides. Then click File> Public to the web (File> Publish to web). Next, you click on Published content & settings> Stop publishing .

1.2. What will the published file look like?

If you send the URL of a published file to someone, they will see that the version they can't edit is different from yours. This is what others will see:

  • Document: A version without a toolbar.
  • Spreadsheet: A version without toolbars. Everyone with "view" permissions can see the chart, the table format, and the value of the cell, but cannot view or edit the formula.
  • Slide: A view-only version or a version in presentation mode with slides displayed full screen.

1.3. Control who can view the file

  • If you own a file and want others to publish it, give that person permission to edit it.
  • To prevent others from publishing files, change your sharing settings:
    • Open a file in Google Docs, Sheets or Slides.
    • At the top right you click on Share (Share).
    • In the sharing dialog, click Advanced in the lower right corner.
    • Then, click on the box next to Prevent editors from changing access and adding new people .
    • Finally, click Done .

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

2. Embed the file

You can make a document, spreadsheet, slide or form appear on a web page by embedding it on your page or blog.

2.1. Embed documents, spreadsheets or presentations

  • Open a file in Google Docs, Sheets or Slides.
  • At the top left of the window, click File> Publish to the web (File> Publish to website).
  • In the window that appears, select Embed .

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

  • The entire file will be published, but some file types have multiple publishing options:
    • Spreadsheet: Choose to publish an entire workbook or sheet individually.
    • Slide: Choose the size of the presentation and the speed at which slides are displayed.
  • Click Publish .

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

  • Copy the code in the text box and paste it into your website or blog.

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

2.2. Embed spreadsheet

If you are embedding a workbook, change or add the parameters below to show or hide parts of a worksheet:

  • gid = 1674242611 - ID of the spreadsheet.
  • range = A1: B14 - Range you want to display.
  • widget = false - If false, no sheet tabs are displayed at the bottom of the worksheet.
  • headers = false - Number of row and column letters not displayed.
  • chrome = false - Headers and footers are not displayed.

2.3 Embed a form

To embed a form, do the following:

  • Open a file in Google Forms.
  • In the upper right corner, click Send .

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

  • At the top of the window, click Embed .
  • To copy the newly appeared HTML, click Copy or press Ctrl + C on Windows or Cmd + C on Mac.
  • Paste HTML into your website or blog.

2.4. Embed a file into Google Sites

To share published Google Docs, Sheets and Slides on a new Google Sites page , do the following:

  • Open a page in Google Sites.
  • From the menu on the right, click INSERT .

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

  • Under Google Docs, choose:
    • Docs
    • Slides
    • Sheets
    • Forms
    • Charts
  • To add your selection to the page, select a file and click Insert .

Instructions to publish and embed Google Docs, Sheets, Forms & Slides files in web pages

You do not need to have a Google account to view the original file of the data. Anyone on the site can access Google spreadsheets in "view only" mode and download files in a variety of formats, but they will not have the right to replace the original spreadsheet. Above is an article to teach you how to publish and embed Google Docs, Sheets, Slides and Forms into a web page. How to do it is easy, right?

Leave a Comment

How to Fix Microsoft Teams Web Error 503 Service Unavailable

How to Fix Microsoft Teams Web Error 503 Service Unavailable

Tired of the frustrating Microsoft Teams "Web Error" 503 Service Unavailable? Discover proven, step-by-step fixes for Teams 503 error on web. Get back online fast with our expert guide. Works on all browsers!

How to Fix Microsoft Teams Win 7 Error Compatibility

How to Fix Microsoft Teams Win 7 Error Compatibility

Struggling with Microsoft Teams "Win 7 Error" compatibility? Discover step-by-step fixes to restore seamless video calls and chats on unsupported Windows versions. Quick, reliable solutions inside!

Troubleshooting Microsoft Teams Breakout Rooms License Errors

Troubleshooting Microsoft Teams Breakout Rooms License Errors

Master troubleshooting Microsoft Teams Breakout Rooms license errors with this step-by-step guide. Quick fixes for common license issues, admin checks, and prevention tips to get your meetings running smoothly.

How to Fix Microsoft Teams Version History Error

How to Fix Microsoft Teams Version History Error

Struggling with Microsoft Teams "Version History" Error? Discover proven, step-by-step fixes to restore access instantly. Clear cache, update Teams, and more—no tech skills needed!

Solving Microsoft Teams Joining Error: Meeting ID Not Found

Solving Microsoft Teams Joining Error: Meeting ID Not Found

Tired of the frustrating Microsoft Teams Joining Error: Meeting ID Not Found? Get step-by-step fixes to rejoin meetings fast. Updated with the latest Teams patches for seamless collaboration. Solve it now!

Troubleshooting Microsoft Teams Video Error Green Screen

Troubleshooting Microsoft Teams Video Error Green Screen

Struggling with Microsoft Teams "Video Error" green screen? Discover proven, step-by-step troubleshooting fixes for seamless video calls. Quick solutions inside!

How to Fix Microsoft Teams How Teams Works Tutorial Error

How to Fix Microsoft Teams How Teams Works Tutorial Error

Struggling with the Microsoft Teams "How Teams Works" Tutorial Error? Discover proven, step-by-step fixes to resolve it quickly. Clear cache, update, and more for seamless onboarding. Works on latest versions!

How to Fix Microsoft Teams Error Today on Windows 10

How to Fix Microsoft Teams Error Today on Windows 10

Tired of the frustrating Microsoft Teams "Error Today" on Windows 10? Discover proven, step-by-step fixes to resolve it quickly and restore smooth teamwork. No tech skills needed!

Troubleshooting Microsoft Teams Room Basic vs Pro Errors

Troubleshooting Microsoft Teams Room Basic vs Pro Errors

Struggling with Troubleshooting Microsoft Teams Room Basic vs Pro Errors? Get step-by-step fixes for common issues, comparisons, and pro tips to resolve connectivity, licensing, and setup problems fast in both versions.

How to Fix Microsoft Teams Screen Sharing Lag in 2026

How to Fix Microsoft Teams Screen Sharing Lag in 2026

Tired of Microsoft Teams screen sharing lag ruining your 2026 meetings? Get instant fixes for lag, freezes, and poor quality. Proven steps to optimize performance and share screens flawlessly. Boost productivity today!

Troubleshooting Microsoft Teams Installation Errors on macOS

Troubleshooting Microsoft Teams Installation Errors on macOS

Struggling with Microsoft Teams installation errors on macOS? This ultimate guide provides proven, step-by-step fixes for common issues like Gatekeeper blocks, permission errors, and download failures to get Teams running smoothly on your Mac. Updated with the latest solutions.

How to Create and Manage a Bot in Microsoft Teams (2026)

How to Create and Manage a Bot in Microsoft Teams (2026)

Master how to create and manage a bot in Microsoft Teams (2026) with this expert guide. From setup to advanced management, unlock productivity boosts using the latest Bot Framework and Azure tools.

Troubleshooting Microsoft Teams Remote Control Request Error

Troubleshooting Microsoft Teams Remote Control Request Error

Tired of Microsoft Teams "Remote Control" Request Error blocking your meetings? Follow our proven, step-by-step troubleshooting guide with the latest fixes to restore seamless remote control and boost productivity instantly.

How to Fix Microsoft Teams Planner Error: Tasks Not Loading

How to Fix Microsoft Teams Planner Error: Tasks Not Loading

Struggling with Microsoft Teams Planner error where tasks not loading? Discover step-by-step fixes for Microsoft Teams Planner Error: Tasks Not Loading. Quick solutions for instant relief in Teams Planner. Updated with latest troubleshooting tips.

Troubleshooting Microsoft Teams Version History Errors

Troubleshooting Microsoft Teams Version History Errors

Tired of Microsoft Teams version history errors disrupting your workflow? This step-by-step troubleshooting guide covers common issues, quick fixes, and pro tips to restore seamless file versioning in Teams. Updated with the latest solutions!