Meregate.com
Friday, November 20, 2026
Home › SEO › How to Verify Website in Google Search Console (2026)

How to Verify Website in Google Search Console (2026)

How to Verify Website in Google Search Console (2026)

Last updated: November 2026

To verify your website in Google Search Console, prove to Google that you own the site. You do this by adding a small record or file that only the owner can add. The fastest route for most small businesses is the DNS record for a Domain property, or the HTML file upload for a URL-prefix property. Both take about ten minutes once you know where to click.

Verification is the first step in Search Console. Until your site is verified, Google will not show you search data, indexing problems, or security issues for it. This guide walks through each method in order, so you can pick the one that fits your setup and follow it through.

On this page:

Why You Need to Verify Your Website

Google Search Console is free, and it shows how your site appears in Google Search: which queries bring visitors, which pages are indexed, and which pages have errors. But Google only shows that data to the site owner. Verification is how you prove you are the owner.

Once verified, you can submit sitemaps, ask Google to index new pages, and see crawl errors and mobile usability problems. Our guide to what Google Search Console is and what it does explains the tool in full if you have not used it before. If you have already verified and want to send Google your sitemap next, see our guide to how to submit a sitemap to Google Search Console.

Step 1: Pick the Right Property Type

When you add a property in Search Console, Google offers two types. The choice decides which verification methods you can use.

Domain property. Enter just your domain, such as example.com. This covers your whole site: www and non-www, http and https, and all subdomains. It is the better choice for most sites, but it can only be verified with a DNS record. You need access to your domain registrar or DNS host to add it.

URL-prefix property. Enter the full address, such as https://www.example.com/. This covers only that exact address. It is the right choice if you cannot edit DNS records, for example when someone else manages your domain. It offers more verification methods: HTML file, HTML tag, Google Analytics, and Google Tag Manager.

If you can edit DNS, pick the Domain property. It gives you the full picture in one place. If you cannot, pick URL-prefix and use the HTML file method below.

Property typeWhat it coversVerification methods
DomainWhole domain, all subdomains and protocolsDNS TXT record only
URL-prefixOne exact address onlyHTML file, HTML tag, Analytics, Tag Manager
Computer screen showing program code in a modern office
Source: Pexels

Step 2 (Domain): Verify with a DNS TXT Record

This is the method Google recommends for a Domain property. You add a short text record to your domain’s DNS settings. You do not need to touch your website at all.

  1. Open Google Search Console and sign in with your Google account.
  2. Click Add property, choose Domain, type your domain (example.com, without www or https), and click Continue.
  3. Google shows a TXT record, a line of text starting with google-site-verification=. Copy the whole line.
  4. Open your domain registrar or DNS host. This is usually where you bought the domain, such as GoDaddy, Namecheap, Cloudflare, or your hosting company.
  5. Find the DNS settings and add a new TXT record. Paste the copied line as the value. Leave the host field as @ or blank, as your provider directs.
  6. Save the record, go back to Search Console, and click Verify.

DNS changes can take a few minutes to a few hours to spread. If verification fails at once, wait an hour and try again. Do not delete the TXT record after verification. Google checks it from time to time, and removing it can drop your verification.

Step 2 (URL-prefix): Verify with an HTML File Upload

This is the simplest method if you can upload files to your website. Google gives you a small HTML file with a unique name, and you put it in the root folder of your site.

  1. In Search Console, click Add property, choose URL-prefix, type your full address (https://www.example.com/), and click Continue.
  2. Choose the HTML file method and download the file Google offers. Its name looks like google1234567890abcdef.html.
  3. Upload the file to the root folder of your website, the same folder that holds your home page. In WordPress, that is the folder where wp-config.php sits. Use your host’s file manager or an FTP tool.
  4. Open the file in your browser at https://www.example.com/google1234567890abcdef.html. You should see a short line of text. If you see a 404 error, the file is in the wrong folder.
  5. Go back to Search Console and click Verify.

Do not delete the file after verification. Google may check for it again, and removing it can drop your verification.

Other URL-prefix Methods: HTML Tag, Analytics, Tag Manager

If you cannot upload a file, one of these three methods will usually work.

HTML tag

Google gives you a meta tag to paste into the <head> section of your home page. In WordPress, you can add it with your SEO plugin (Rank Math and Yoast both have a verification code field) or with a header code plugin. Paste the tag, save, and click Verify. Do not remove the tag later.

Google Analytics

If the same Google account has edit access to a Google Analytics property for the site, and the Analytics tracking code is on your home page, you can verify with one click. The account you use in Search Console must have edit permission in Analytics. If someone else set up Analytics, this method will not work for you.

Google Tag Manager

If the same Google account has publish access to the site’s Tag Manager container, and the container code is on your home page, you can verify with one click. Like Analytics, this only works when the permissions line up.

Laptop screen displaying website code
Source: Pexels

What to Do When Verification Fails

Most failures have one of a few causes. Work through them in order.

Wrong property. You verified example.com but added www.example.com, or the other way round. The property and the verification must match exactly. Delete the property and add it again with the right address.

DNS has not spread yet. TXT records can take minutes or hours to appear everywhere. Wait an hour, then click Verify again. You can check the record with a free DNS lookup tool to see whether it is live.

File or tag in the wrong place. The HTML file must sit in the root folder, not in a subfolder. The meta tag must be in the <head> of the home page, not the footer. Open the file URL in your browser to check the first, and view the page source to check the second.

Tag or file removed. If verification worked and then dropped, someone may have removed the file, tag, or DNS record during a redesign or a hosting move. Add it back and verify again.

Wrong Google account. The account that verifies the property owns it. If a developer verified the site with their account, you will not see it under yours. Ask them to add you as a user in Search Console settings, or re-verify with your own account.

Frequently Asked Questions

How long does Google Search Console verification take?

The check itself takes seconds once the record, file, or tag is in place. DNS records can take up to a few hours to spread, so a Domain property may need a wait. The other methods usually work at once.

Which verification method should I use?

Use the DNS TXT record if you can edit your domain’s DNS settings. It covers the whole domain and never touches your website files. If you cannot edit DNS, use the HTML file upload for a URL-prefix property. It is the simplest of the other methods.

Can I remove the verification file or DNS record after verifying?

No. Google checks from time to time that the record, file, or tag is still there. Removing it can drop your verification, and you will have to verify again. Leave it in place.

Can more than one person verify the same website?

Yes. Several people can verify the same property, each with their own account. The first person to verify becomes the verified owner, and other verified owners can be added. Owners can also add users with limited access in Settings.

Does Search Console verification expire?

No, it does not expire on its own. It only drops if the verification record, file, or tag is removed, or if your access to the Google account changes. If it drops, you can verify again the same way.

Verification is a ten-minute job once you pick the right method: DNS record for a Domain property, HTML file for a URL-prefix property. Get it done, leave the record or file in place, and your site’s search data will start appearing in Search Console within a day or two.

Taylor Orlando

Taylor Orlando is a content writer at Meregate covering websites, SEO, and AI. Taylor breaks down complex topics into simple, practical guides that help small businesses build better websites, rank higher on Google, and get real value from AI tools — no jargon, no fluff.

Related Articles