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?

Sign up and earn $1000 a day ⋙

Leave a Comment

How to check RAM and check RAM errors on your computer with the highest accuracy rate

How to check RAM and check RAM errors on your computer with the highest accuracy rate

As you know, RAM is a very important hardware part in a computer, acting as memory to process data and is the factor that determines the speed of a laptop or PC. In the article below, WebTech360 will introduce you to some ways to check for RAM errors using software on Windows.

Top 5 best automatic home coffee makers

Top 5 best automatic home coffee makers

The automatic home coffee maker is a modern and professional product, bringing you and your family delicious cups of coffee with just a few quick steps.

Difference between regular TV and Smart TV

Difference between regular TV and Smart TV

Smart TVs have really taken the world by storm. With so many great features and the ability to connect to the Internet, technology has changed the way we watch TV.

Why doesnt the freezer have a light but the refrigerator does?

Why doesnt the freezer have a light but the refrigerator does?

Refrigerators are familiar appliances in families. Refrigerators usually have 2 compartments, the cool compartment is spacious and has a light that automatically turns on every time the user opens it, while the freezer compartment is narrow and has no light.

2 Ways to Fix Network Congestion That Slows Down Wi-Fi

2 Ways to Fix Network Congestion That Slows Down Wi-Fi

Wi-Fi networks are affected by many factors beyond routers, bandwidth, and interference, but there are some smart ways to boost your network.

How to Downgrade from iOS 17 to iOS 16 without Losing Data using Tenorshare Reiboot

How to Downgrade from iOS 17 to iOS 16 without Losing Data using Tenorshare Reiboot

If you want to go back to stable iOS 16 on your phone, here is the basic guide to uninstall iOS 17 and downgrade from iOS 17 to 16.

What happens to the body when you eat yogurt every day?

What happens to the body when you eat yogurt every day?

Yogurt is a great food. Is it good to eat yogurt every day? What will happen to your body when you eat yogurt every day? Let's find out together!

Which type of rice is best for health?

Which type of rice is best for health?

This article discusses the most nutritious types of rice and how to maximize the health benefits of whichever rice you choose.

How to wake up on time in the morning

How to wake up on time in the morning

Establishing a sleep schedule and bedtime routine, changing your alarm clock, and adjusting your diet are some of the measures that can help you sleep better and wake up on time in the morning.

Rent Please! Landlord Sim Tips for Beginners

Rent Please! Landlord Sim Tips for Beginners

Rent Please! Landlord Sim is a simulation mobile game on iOS and Android. You will play as a landlord of an apartment complex and start renting out an apartment with the goal of upgrading the interior of your apartments and getting them ready for rent.

Latest Bathroom Tower Defense Codes and How to Enter Codes

Latest Bathroom Tower Defense Codes and How to Enter Codes

Get Bathroom Tower Defense Roblox game codes and redeem them for exciting rewards. They will help you upgrade or unlock towers with higher damage.

Structure, symbols and operating principles of transformers

Structure, symbols and operating principles of transformers

Let's learn about the structure, symbols and operating principles of transformers in the most accurate way.

4 Ways AI Is Making Smart TVs Better

4 Ways AI Is Making Smart TVs Better

From better picture and sound quality to voice control and more, these AI-powered features are making smart TVs so much better!

Why ChatGPT is better than DeepSeek

Why ChatGPT is better than DeepSeek

DeepSeek initially had high hopes. As an AI chatbot marketed as a strong competitor to ChatGPT, it promised intelligent conversational capabilities and experiences.

Meet Fireflies.ai: The Free AI Secretary That Saves You Hours of Work

Meet Fireflies.ai: The Free AI Secretary That Saves You Hours of Work

It's easy to miss important details when you're jotting down other essentials, and trying to take notes while chatting can be distracting. Fireflies.ai is the solution.