How to Embed a File in a Google Site

Google Sites makes it relatively straightforward to display files directly on a webpage — no downloads required, no external links to chase. Whether you're building an internal company wiki, a classroom resource page, or a project hub, embedding files lets visitors view content in context rather than leaving your site to find it.

Here's how it works, what affects the experience, and where the process gets more nuanced depending on your setup.

What "Embedding" Actually Means in Google Sites

When you embed a file, you're placing a live preview of that file directly inside a page — not just linking to it. Visitors see the content rendered on the page itself: a PDF, a Google Doc, a spreadsheet, a slide deck, or even a video file.

Google Sites supports two broad embedding approaches:

  • Native Google Drive embedding — for files stored in Google Drive (Docs, Sheets, Slides, Forms, PDFs, images)
  • Embed via URL or HTML — for external content like third-party tools, iframes, or publicly hosted files

The method you use depends entirely on where your file lives and what type it is.

How to Embed a Google Drive File

This is the most common path, and it works cleanly within the Google ecosystem. 📁

Steps:

  1. Open your Google Site in edit mode.
  2. Click on the section of the page where you want the file to appear.
  3. In the right-hand Insert panel, scroll to the Drive section.
  4. Click Drive and browse or search for your file.
  5. Select the file and click Insert.
  6. Resize and reposition the embedded block as needed.
  7. Publish your site for changes to go live.

Google Sites supports embedding these Drive file types natively:

File TypeEmbedded View
Google DocsFull document preview
Google SheetsSpreadsheet preview
Google SlidesSlideshow viewer
Google FormsLive, fillable form
PDFs (stored in Drive)Inline PDF viewer
ImagesStatic image display
Google DrawingsRendered graphic

The embedded version updates automatically when the source file changes — an important distinction from downloading and re-uploading static files.

Sharing Permissions: The Variable That Breaks Most Embeds

This is where most embedding issues originate. If your file isn't shared correctly, visitors will see a permission error or a blank box instead of your content.

For a file to display to others, it needs to be accessible to anyone who can view your site:

  • For public-facing sites: Set the file sharing to Anyone with the link can view.
  • For internal/organizational sites: Set sharing to your domain (e.g., everyone in your Google Workspace organization).
  • For sites restricted to specific users: Individual viewers need to have at least viewer access to the Drive file.

The Google Site's own sharing settings and the file's sharing settings are independent. A published public site with a privately shared file will still block viewers from seeing that embedded content.

Embedding External Files or Web Content

If your file isn't in Google Drive — say it's a PDF hosted on your company server, a public data visualization, or content from a third-party platform — you can use the Embed option instead.

Steps:

  1. In the Insert panel, click Embed.
  2. Paste the URL of the content you want to display.
  3. Click Next, preview the result, and click Insert.

This method uses an iframe under the hood. Whether it works depends on:

  • Whether the source site allows iframe embedding (many block it via HTTP headers)
  • Whether the URL is publicly accessible
  • Whether the content renders correctly at the size you've set

Some platforms — like Airtable, Canva, and certain document management tools — provide a dedicated embed code you can paste instead of a raw URL. Google Sites accepts both.

How Embedded Files Appear to Visitors

The viewer experience varies by file type and device:

  • Google Docs and Sheets display in a scrollable preview window. Visitors cannot edit unless you've explicitly shared edit access and they're logged in.
  • Google Forms are fully functional — visitors can fill them out directly on the page.
  • PDFs render inline with basic navigation controls (page forward/back, zoom).
  • Slides show as a static deck with navigation arrows by default.

On mobile devices, embedded content can sometimes feel cramped or require horizontal scrolling. Google Sites doesn't give granular control over responsive behavior for embeds, so a slide deck or wide spreadsheet may not scale elegantly on smaller screens.

What Affects Your Specific Outcome 🔍

Several factors shape how smoothly this works in practice:

  • File size — very large PDFs or Sheets with complex data can load slowly inside the embed viewer
  • Organizational Google Workspace policies — some workspace admins restrict external sharing or limit which Drive content can be embedded
  • Whether your site is published vs. in preview mode — embed previews inside the editor don't always reflect exactly how visitors will see the file
  • Browser compatibility — most modern browsers handle Google Sites embeds well, but heavily locked-down enterprise environments can interfere
  • Frequency of file updates — since embeds pull live from Drive, editing the source file affects what viewers see immediately, which is powerful but requires care

The Embed vs. Link Decision

Embedding isn't always the right move. Linking to a file (via a button or text hyperlink) can be cleaner when:

  • The file is very long or complex and doesn't preview well at page width
  • You want to give visitors the option to download rather than view inline
  • The file is for a specific audience that will open it in a native application

Embedding works best when in-context visibility matters — you want the content to be immediately readable without any extra steps.

How useful embedding turns out to be depends heavily on who your site visitors are, what devices they're using, how your Google Workspace environment is configured, and what the file is actually meant to do on the page.