> For the complete documentation index, see [llms.txt](https://docs.customiframe.com/llms.txt).
> Use it to discover all available pages before exploring further.

# Embed Google Docs in Elementor

Step-by-step guide to embed Google Docs in Elementor using the Custom iFrame WordPress plugin. No API key needed. No coding required.


## Overview

Custom iFrame lets you embed Google Docs in Elementor by pasting a published Google Doc URL into the widget. Display documents, guides, and reports directly on your WordPress page without an API key.

Custom iFrame is a WordPress plugin by CoderzStudio that embeds 100+ external sources in Elementor and Gutenberg without writing any code.

Using Gutenberg instead? Follow the [Embed Google Docs in Gutenberg](/gutenberg/documents/embed-google-docs) guide.

## Requirements

- [Custom iFrame plugin installed and active](/getting-started/installation)
- Elementor installed
- A Google Doc published to the web

## Video Tutorial

<iframe
  src="https://www.youtube.com/embed/M6bsw8kYyiI"
  width="720"
  height="405"
  frameBorder="0"
  allowFullScreen
/>

## Step 1: Get the Google Docs Link

<Steps>
  <Step title="Open your Google Doc" icon="file-text" title-type="p">
    Open the Google Doc you want to embed in Google Drive.
  </Step>
  <Step title="Publish the document to the web" icon="globe" title-type="p">
    Go to **File > Share > Publish to web**. Click **Publish**, then confirm by clicking **OK**.
  </Step>
  <Step title="Copy the published link" icon="link" title-type="p">
    Copy the generated link. The URL ends in `/pubhtml`. This is the URL you will paste into Custom iFrame.
  </Step>
</Steps>

<Callout kind="alert">
  Paste the `/pubhtml` link into a browser where you are not logged into Google. If the document does not load, it was not published correctly. Repeat the publish step.
</Callout>

## Step 2: Add the Custom iFrame Widget

<Steps>
  <Step title="Open your page in Elementor" icon="layout" title-type="p">
    Go to the page where you want the document. Click **Edit with Elementor**.
  </Step>
  <Step title="Drag the widget onto your page" icon="move" title-type="p">
    Search for **Custom iFrame** in the Elementor widget panel. Drag the widget into your layout.

    <Image
      src="https://res.cloudinary.com/dcn414hjc/image/upload/v1776867149/getting-started/elementor-setup/Guide-Add-Custom-iFrame.webp"
      alt="Custom iFrame widget being dragged from the Elementor panel into a page section in the editor"
      width="1024"
      height="337" priority={true} fetchPriority="high" />
  </Step>
</Steps>

## Step 3: Embed Google Docs in Elementor

<Steps>
  <Step title="Paste the Google Doc URL" icon="clipboard" title-type="p">
    In the Content tab, paste the `/pubhtml` URL into the **Source URL** field. The document appears in the editor.

    <Image
      src="https://res.cloudinary.com/dcn414hjc/image/upload/v1776912777/elementor/documents/google-docs/paste-google-doc-url.webp"
      alt="Custom iFrame widget in Elementor editor showing Google Doc URL in Source URL field with live Google Docs preview"
      width="1024"
      height="486" priority={true} fetchPriority="high" />
  </Step>
  <Step title="Set the height" icon="move-vertical" title-type="p">
    Set **Height** to fit your document length.
  </Step>
</Steps>

## Step 4: Customize and Configure Settings

For styling, smart loading, and advanced options, see the [Style Custom iFrame](/getting-started/styling) guide. Adjust dimensions, backgrounds, borders, and more.

## Step 5: Save and Publish

<Callout kind="success">
  Click **Update** or **Publish**. Your Google Doc is now live on your WordPress site.
</Callout>

Want to add a custom watermark (Pro), device frame (Pro), or fine-tune widget behavior? See the [Set Up Custom iFrame in Elementor](/getting-started/elementor-setup) guide for all widget options.

This guide showed you how to embed Google Docs in Elementor using the Custom iFrame plugin. From publishing the document to pasting the URL and updating the page, the whole setup runs through the Elementor editor without any code.

## FAQ

<ExpandableGroup>
  <Expandable title="Do I need a Google account to embed a Google Doc?" default-open="false">
    No. Once you publish the document to the web, anyone can view it. You do not need a Google account or API key.
  </Expandable>
  <Expandable title="The Google Doc shows blank. What should I check?" default-open="false">
    Confirm the URL ends in `/pubhtml`. Test it in a browser where you are not logged into Google. If it does not load there, republish the document from **File > Share > Publish to web**.
  </Expandable>
  <Expandable title="Will the embed update automatically when I edit the document?" default-open="false">
    Yes. Published Google Docs update automatically. Changes you make in Google Docs appear in the embedded version after a short delay.
  </Expandable>
  <Expandable title="Can I embed a Google Doc without making it public?" default-open="false">
    No. The document must be published to the web for embedding to work. Private documents cannot be embedded.
  </Expandable>
</ExpandableGroup>

---

## Also Available For

<Columns cols="2">
  <Card title="Embed Google Docs in Gutenberg" href="/gutenberg/documents/embed-google-docs" icon="layout" horizontal={false}>
    Guide for the WordPress block editor.
  </Card>
  <Card title="Embed Google Sheets in Elementor" href="/elementor/documents/embed-google-sheets" icon="file-text" horizontal={false}>
    Embed Google Sheets in Elementor.
  </Card>
</Columns>

## Related Guides

- [Embed Documents in Elementor - Overview](/elementor/embed-documents)
- [Embed Google Sheets in Elementor](/elementor/documents/embed-google-sheets)
- [Embed Google Slides in Elementor](/elementor/documents/embed-google-slides)
- [Auto Height Adjustment](/features/auto-height)
- [iFrame Not Showing](/troubleshooting/iframe-not-showing)
