SEO check

Google Site Verification: How to Check, Add and Fix It

What the google-site-verification tag and TXT record do, how to add them, and how to fix a Not Found result in your free SEO report.

Free to use 9 min read Updated Oct 2026

What Is Google Site Verification? The Short Answer

Quick answer: Google site verification is the proof of ownership that Google Search Console asks for before it shows any data about a site. Google issues a unique verification token, and you place it on the site as a meta tag, a DNS TXT record, an HTML file or an analytics snippet. Our check passes when it finds the tag or a matching TXT record.

  • Pass: a google-site-verification meta tag with a value sits in the HTML of the page you tested, or a google-site-verification TXT record exists on the host you tested.
  • Fail: neither one turned up on the tested address. Google does not penalize this in rankings, but it can mean Search Console access isn't set up, or that you verified a way our check can't see.
  • Fix: add the meta tag to the head or a TXT record at your DNS host, then run the report again.

Check my site free

How Google Site Verification Works

Search Console exposes sensitive material such as search queries, crawl errors and manual actions, so Google asks you to verify site ownership first, using a token tied to your Google account. The full list of methods sits in Google's help page, verify your site ownership.

The property type decides which methods you can use. A Domain property covers every protocol and subdomain at once and can only be verified through DNS. A URL prefix property covers one exact address, such as https://www.example.com/, and accepts every method.

The token has to stay where you put it, because Search Console rechecks it and lets the permission lapse after a grace period if it cannot confirm ownership. Each owner has a separate token, so never overwrite one that someone else relies on, and a verified owner can add a delegated owner who needs none. None of this touches rankings. The same google-site-verification= format also appears when you prove a domain to Google Workspace, but that is a separate token for a separate job.

How SEO Site Checker Tests Google Site Verification

Our report looks for two of the verification routes and says plainly that it cannot see the others.

CheckWhat we look atResultLimits
Meta tagThe raw HTML of the address you entered, fetched with a timeout of about 3 secondsPass when a meta element named google-site-verification has a non empty content valueRedirects are followed and the match is exact and lowercase
DNS TXT recordThe TXT records of the host exactly as you typed itPass when any TXT value contains google-site-verificationwww and the bare domain count as different hosts
HTML fileNothing, because Google gives every file a random nameShown as Manual check required, never changes the resultThere is no fixed address to request

Rule: the row passes when the google-site-verification meta tag is found with a value, or when a matching TXT record is found on the host you typed. It fails when neither is found, and that switches on the red How to Fix button.

When the tag is present, the report prints the token it read. The page is fetched by a generic automated client, so a firewall can answer with a 403 and hide a tag that real visitors see. A tag in the body passes here although Google expects it in the head. Google Analytics verification, Google Tag Manager verification and the HTML file are invisible to this check, so a verified site can still fail.

What a pass means

An automated visitor found a token, so the setup is probably intact. Confirm it under Ownership verification settings in Search Console.

What a fail means

Neither a tag nor a TXT record was visible on the tested host. You may still be verified by file, Analytics, Tag Manager or a record on the other hostname.

Google Site Verification Methods Compared

Pick the method that matches the access you have. The last column shows which ones our report can see.

MethodWorks for Domain propertyWhat you needSeen by our report
HTML tagNo, URL prefix onlyEdit access to the headYes
DNS TXT recordYes, and URL prefix tooAccess to the DNS panelYes, on the tested host
HTML fileNo, URL prefix onlyUpload access to the site rootNo
Google AnalyticsNo, URL prefix onlyEdit rights and the tracking snippet in the headNo
Google Tag ManagerNo, URL prefix onlyPublish rights and the noscript part after the opening body tagNo

For most sites the meta tag is quickest. Choose the TXT record for a Domain property, which survives theme changes. Google allows several methods at once, so add a backup. Our Google Analytics check shows if that snippet is still live.

How to Add the Google Site Verification Meta Tag

This meta tag verification takes about five minutes.

  1. Add the property. In Search Console add a URL prefix property for the exact address, open Other verification methods, choose HTML tag and copy the tag.
  2. Paste it into the head. Place it near the top of the head on the page a signed out visitor reaches at that address, allowing for redirects to www or a language folder. Google only reads the first 2 MB of the file.
  3. Publish and purge. Save, then clear your page cache or CDN so the live HTML contains the tag.
  4. Check and verify. Use view page source in a private window to find the token, then press Verify and leave the tag in place.
HTML
<head>
  <meta charset="utf-8">
  <meta name="google-site-verification" content="YOUR_TOKEN_HERE">
</head>

It is an ordinary name and content attribute pair, explained in the meta name attribute reference. See meta tags explained for the head section, and the Meta Tag Analyzer lists the tags a visitor receives.

WordPress

Yoast SEO has a Google verification code field in its Webmaster tools tab, called Site connections in newer releases, and Rank Math has a Search Console box under Webmaster Tools. Site Kit by Google can also verify for you. Paste the content value or whole tag, as the field asks. Without a plugin, use your child theme's header.php.

Shopify

Open Online Store, then Themes, then Edit code. In layout/theme.liquid, paste the tag just before the closing head tag and save. Repeat this if you switch themes, because the tag lives in the theme.

Wix and other site builders

Wix keeps this in its Search Console connection settings and may require a connected domain. Webflow and Squarespace offer a custom code box for the head.

How to Add a Google Site Verification TXT Record

  1. Get the value. Choose a Domain property in Search Console and copy the TXT record value, which starts with google-site-verification=.
  2. Open your DNS panel. That is wherever your nameservers point, such as your domain registrar, Cloudflare DNS or the cPanel zone editor.
  3. Add a new TXT record. Set the host name to @ for the apex domain, or leave it blank on some hosts, and paste the whole value.
  4. Wait for DNS propagation. Google says some providers need two or three days, though it is often quicker. Then press Verify.
Text
Type:  TXT
Name:  @
Value: google-site-verification=YOUR_TOKEN_HERE

To confirm the record is live, run dig on macOS or Linux, or nslookup on Windows.

Text
dig TXT example.com +short
nslookup -type=TXT example.com

Either should print your token. Add it as a new record and leave your SPF record alone, since a domain can carry many TXT records, as our SPF record guide shows. The Cloudflare TXT record reference notes that you can paste TXT content without quotation marks and Cloudflare adds them for you. To see what is live, use the DNS Record Lookup or read how to find DNS records. If the record sits on the root domain, test it without www.

Why the Report Says Not Found When Your Site Is Verified

A red result beside a working property usually means the token lives somewhere we do not look. The causes below also explain a verification failed message in Search Console.

  • A method we cannot see. You verified by HTML file, Google Analytics or Tag Manager, and we read only the tag and the TXT record.
  • The wrong hostname. The record is on the root domain but you tested the www subdomain, or the other way round.
  • A malformed tag. The name has a capital letter, the content is empty, or stray quotes and spaces came along with the token.
  • A page we could not read. Your homepage may be blocked by bot protection, redirect to a login page or answer slower than about 3 seconds.
  • A tag added by JavaScript. We read raw HTML, not the page after scripts run.
  • Stale copies. A page cache, a CDN or unfinished propagation can hide your change.

How to Keep Google Site Verification From Breaking

Verification usually breaks when a theme swap drops the head tag, a host or CMS move rebuilds the templates, or a DNS change leaves the TXT records behind.

  • Keep it permanently. Copy the tag or record across whenever you change theme, CMS or host.
  • Add a backup method. A DNS record beside the meta tag means one template change cannot cut you off.
  • List every owner. If all verified owners lose access, every user of the property loses it too.
  • Submit your sitemap. Verified access is what lets you submit a sitemap and see how Google reads it.
  • Test after changes. Run a fresh report after every migration.

How to Fix

The short version, the same steps you see when you click How to Fix in your report.

Why this fails: our check found no google-site-verification meta tag in the HTML of the page you tested and no google-site-verification TXT record on the host you tested. Verification by HTML file, Google Analytics or Tag Manager cannot be seen here, and a record on the root domain is missed if you tested www, and the reverse.

How to fix it with the meta tag:

  1. Copy the HTML tag from Search Console, under your URL prefix property.
  2. Paste it inside the head, before the body starts.
  3. Publish the change and purge your page cache or CDN.
  4. Press Verify in Search Console.
HTML
<meta name="google-site-verification" content="YOUR_TOKEN_HERE">

Or fix it with a DNS TXT record:

  1. Copy the TXT value from a Domain property in Search Console.
  2. Add a TXT record named @ at your DNS host and paste the whole value.
  3. Save it, wait for propagation, then press Verify.
Text
Type:  TXT
Name:  @
Value: google-site-verification=YOUR_TOKEN_HERE
Text
dig TXT example.com +short

Platform notes:

  • WordPress: paste the code or tag into the Google verification field of Yoast SEO or Rank Math, or use Site Kit.
  • Shopify: under Online Store, Themes, Edit code, open layout/theme.liquid and paste the tag before the closing head tag.
  • Wix: use the Search Console connection or site verification setting, which may need a connected domain.
  • Cloudflare DNS: add the TXT record with the name @ and leave out the quotation marks. You can check it with our DNS Record Lookup.

Re-test: view the page source and search for google-site-verification, then run our free report again and test the same hostname you verified. Keep the tag or record in place permanently.

Re-test my website

Frequently Asked Questions

What is Google site verification?
It is the ownership proof Search Console asks for before it shows indexing, search and error data. Google issues a unique token and you place it as a meta tag, DNS TXT record, HTML file or analytics snippet. It is a setup step, not a ranking signal.
Where do I put the Google site verification meta tag?
Put it inside the head element of the homepage that a signed out visitor reaches at your property address, before the body starts, exactly as Search Console gave it. Check the address after redirects to www or a language folder. WordPress SEO plugins and Shopify theme layout files have a place for it.
How do I add a Google site verification TXT record?
Copy the TXT value from Search Console, open the DNS panel at your registrar or DNS host, add a TXT record named @ or blank on the root domain and paste the whole value. Some providers need two or three days to propagate, so wait before you press Verify.
Can I have more than one Google site verification TXT record?
Yes. A domain can hold several TXT records, and each owner or Google service can have its own google-site-verification value. Add new ones next to the old ones and never overwrite them. Your SPF record stays a separate TXT record.
Can I delete the Google site verification record after I verify?
No, keep it. Search Console keeps rechecking the token, and removing the tag, file or DNS record ends the verification and, after a grace period, the owner permission that depended on it. Remove tokens only for people you meant to revoke.
How do I find my Google site verification code?
In Search Console open the property, then Settings and Ownership verification, which lists the methods that currently verify it. On the live site, view the page source and search for google-site-verification, or look up the domain TXT records.
How do I check if my site has Google site verification?
Run the free SEO Site Checker report, which looks for the meta tag and a matching TXT record. Then confirm with view page source and a DNS record lookup. File, Analytics and Tag Manager verification are not visible to our check, so confirm those in Search Console.
Does Google site verification help SEO?
Not directly, because verification is not a ranking signal. What it does is unlock Search Console reports, sitemap submission and URL Inspection, which help you find crawling and indexing problems that really do cost you traffic.

See how your site scores right now

Paste your address into the free report, then use the How to Fix button on anything that needs work.

Free to use. Results in under a minute for most sites.