Yes, Google can index content inside an iframe and may associate it with the page that embeds it. But iframe indexing isn't guaranteed, and the embedded page can also be indexed under its own URL.
That distinction matters when the content is important to your SEO. We recommend keeping essential copy in your page's own HTML so you don't have to rely on an iframe for visibility.
How iframe indexing works in Google
An iframe displays one webpage inside another. You might use one to add a YouTube video, a Google Maps location, or a third-party booking form to your website.
Think of it as a window into another page. Visitors see the content alongside yours, but the embedded content still comes from a separate URL.
In Google's December 2023 SEO Office Hours, Google explained that its systems generally try to associate an embedded page's content with the primary page. That doesn't guarantee the content will be indexed or help the primary page rank.
The page containing the iframe
The parent page is the page where you place the iframe. Google can crawl and index that page, including the text and other content in its own HTML.
Google may also associate content from the iframe with the parent. Still, we wouldn't put your main service description or product information exclusively inside an embed and assume Google will treat it as part of the page.
The iframe’s separate URL
The iframe loads content from a URL in its src attribute. That URL is a separate page, and Google may index it on its own if it can access it.
For example, a visitor who finds an indexed embedded page through Google could land on that URL rather than the page containing the iframe. Whether that works for your site depends on what the standalone page offers visitors.
Where to put content that matters for SEO
Iframes are useful, but their convenience shouldn't determine where your most important content lives. Start by deciding what each page needs to explain on its own.
Keep primary copy on the parent page
If you want a service page to rank for a particular topic, put the service details, headings, and relevant links in that page's HTML. The copy should answer the questions a visitor has after arriving from search.
A map or booking form can then support the page without carrying the entire message. This also gives you more control over your title, headings, and internal links.
Give standalone pages a purpose
If you control the iframe URL and want it indexed separately, make it useful as a standalone page. Give visitors enough context to understand where they are and what to do next.
Link to that page from relevant parts of your site when it belongs in your site's structure. Our SEO indexing guide covers other signals that help Google find and process important URLs.
How noindex and indexifembedded work
Sometimes you want Google to use an embedded page's content but don't want the iframe URL to appear as a standalone search result. If you control that page, Google offers a directive for this situation.
Add noindex and indexifembedded together to the embedded page. A robots meta tag can look like this:
<meta name="robots" content="noindex, indexifembedded">
According to Google's robots meta tag documentation, indexifembedded allows Google to index the content when it's embedded despite the noindex rule. It only works when paired with noindex, and it doesn't guarantee indexing.
Google needs to crawl the embedded URL to see these directives. Blocking that URL in robots.txt can prevent Google from reading them. If the iframe comes from a third party, you generally can't change its directives yourself.
How to check an iframe for indexing issues
Google Search Console can help you diagnose both the parent page and the embedded URL. Our guide to the URL Inspection Tool explains the reports in more detail.
Start with these steps:
- Inspect the parent URL in Search Console. Review its index status and any reported crawl or indexing problems.
- Run a live test and review the rendered HTML and screenshot. Look for the page's main content and whether the embed appears.
- Inspect the iframe's
srcURL separately if you control it. Review its indexing status, canonical selection, and anynoindexdirective. - Review your robots rules and page response. Google needs access to the relevant URLs and resources to process them.
- Request indexing after fixing an issue, then monitor the URL in Search Console. A request doesn't guarantee indexing or a ranking.
A visible iframe in a screenshot doesn't prove Google indexed its contents with the parent page. Likewise, an indexed parent URL doesn't tell you exactly which embedded content Google associated with it.
Common iframe SEO mistakes to avoid
One common mistake is placing all useful copy inside an iframe while leaving the parent page with little context. Another is assuming the embedded URL can't appear in search on its own.
JavaScript can add another layer to the problem. If a script creates the iframe or loads important content, a rendering issue could affect what Google sees. Our guide to JavaScript rendering and SEO explains how to make script-dependent content easier to process.
Lastly, avoid using a canonical tag as a blanket fix for unrelated pages. Canonicals help indicate a preferred version of similar content; they aren't a substitute for deciding which pages should be indexable.
Give important content a clear home
Google can process iframe content, but you have more control when essential information lives directly on the page you want to rank. Use embeds to support the experience, and give each important URL a clear purpose.
Start with your highest-value pages. Review what's inside each iframe, then move any essential copy into the parent page's HTML where it can support visitors and search visibility.





