The two ways to put a file on your Google Site

You can put a file on a Google Site in two ways: embed it so visitors see the content directly on the page, or link to it so visitors download or open it in a new tab. Embedding works best for PDFs, images, and Google Docs. Linking works better when you want people to download a file to their computer, or when the file type isn't supported for embedding.

The method you choose depends on what you want visitors to do. If you want them to read a document without leaving your site, embed it. If you want them to have their own copy, or if you're sharing a file type like a spreadsheet or video, linking is usually clearer.

Key Takeaways

  • Google Sites can embed PDFs, images, and Google Docs directly into a page so visitors see the content without clicking away.
  • To embed a file, you need to upload it to Google Drive first, then use the "Embed" option in Google Sites to add it to your page.
  • Linking to a file is simpler and works for any file type, but visitors will open or download the file instead of seeing it on the page.
  • Files embedded from Google Drive stay linked to the original — if you change the file, the embedded version updates automatically.

Embedding a PDF or image directly on the page

To embed a PDF or image, open your Google Site in edit mode and click the Insert button (the plus sign) in the toolbar. Select Image if you're adding a picture, or Drive if you're embedding a PDF or Google Doc. If you choose Drive, a window will open showing your Google Drive files. Find the file you want to embed and click it once to select it, then click Insert.

The file will now appear on your page. You can resize it by dragging the corners, and visitors will see it directly without needing to click a link. If the file is a PDF, visitors can scroll through it and use the zoom controls that appear when they hover over it.

One important detail: the file must be stored in your Google Drive for this to work. If you have a PDF on your computer that you haven't uploaded yet, upload it to Google Drive first, then embed it from there.

Linking to a file instead of embedding it

Linking is faster if you just want to point visitors to a file. Open your site in edit mode, highlight the text you want to turn into a link, and click the Link button (the chain icon) in the toolbar. Choose Drive and select the file from your Google Drive. Click Insert, and the text will now link to that file.

When visitors click the link, the file will open in a new tab or window. For PDFs and images, they'll see them in Google's viewer. For other file types like Word documents or spreadsheets, they'll either open in Google's editor or download to their computer, depending on the file type and their browser settings.

Linking also works if your file isn't in Google Drive — you can paste a URL directly into the link field. This is useful if you're linking to a file hosted on another website or service.

Uploading a file to Google Drive before you embed or link it

If your file is on your computer, you need to upload it to Google Drive first. Open Google Drive in a new tab, click the New button on the left, and select File upload. Choose the file from your computer and wait for it to finish uploading. Once it's in Drive, you can go back to your Google Site and embed or link to it.

You can also drag a file directly from your computer into Google Drive — just open Drive in one window and your file folder in another, then drag the file over. This is often faster than using the upload button.

Changing permissions so visitors can see embedded files

If you embed a file from Google Drive, visitors need permission to see it. By default, files in Google Drive are private to you. Before you embed a file, open it in Google Drive, click the Share button, and change the permission to Viewer for "Anyone with the link" or "Public on the web" — depending on whether you want only people you've shared the link with to see it, or anyone on the internet.

If you don't change the permission, visitors will see a message saying they don't have access instead of seeing the file. This is a common reason embedded files don't show up on a published site.

What file types can you embed

Google Sites can embed PDFs, images (JPG, PNG, GIF, WebP), Google Docs, Google Sheets, Google Slides, and YouTube videos. You can also embed code using the Embed code option in the Insert menu, which is useful for maps, calendars, or other widgets that provide an embed code.

For other file types — Word documents, Excel spreadsheets, audio files, or video files not hosted on YouTube — linking is usually your best option. When someone clicks the link, they'll either see the file in a viewer or download it, depending on what it is.

Updating an embedded file after you've added it to your site

If you embedded a file from Google Drive and you later change that file, the embedded version on your site updates automatically. You don't need to re-embed it or refresh anything — the change appears the next time someone visits the page.

This is different from linking to a file on your computer and uploading it to your site. If you do that, you'd have to manually re-upload the new version every time you make a change. Using Google Drive keeps everything in sync.

Frequently Asked Questions

Can I embed a file that's not in Google Drive?

Not directly. Google Sites can only embed files stored in Google Drive. If your file is on your computer or another service, upload it to Google Drive first. If it's hosted on another website and has an embed code, you can use the Embed code option instead.

Why can't visitors see my embedded file?

The most common reason is that the file's sharing permission is set to private. Open the file in Google Drive, click Share, and change the permission to allow viewers. If the file is a PDF or image, make sure you embedded it using the Drive option, not by uploading it directly to the site.

What's the difference between embedding and linking?

Embedding shows the file's content directly on your page — visitors see a PDF or image without clicking anything. Linking creates a clickable text or button that opens or downloads the file in a new tab. Embedding is better for documents you want people to read on your site; linking is better when you want them to have their own copy.

If I delete the file from Google Drive, what happens to my site?

The embedded file will disappear from your site, and visitors will see an error message instead. If you need to remove a file but keep your site, delete it from the site first, then delete it from Drive. If you accidentally delete it, you can restore it from Google Drive's trash for 30 days.

Can I embed a Google Sheet or Google Slide?

Yes. Use the Insert menu, select Drive, and choose your Sheet or Slide. It will embed on the page and visitors can view it, but they won't be able to edit it unless you give them edit permission in the file's sharing settings.