Comparisons

IndexNow vs sitemap

A sitemap is the list of URLs you want crawled, with an optional lastmod date on each one. IndexNow is a notification you send when a URL on that list changes. The sitemap does not ping anyone. IndexNow does not replace the list. A 200 from IndexNow means the URL was received, not that it was indexed.

The sitemaps.org protocol describes an XML file of URLs. Each entry has a loc, and may have lastmod, changefreq and priority. Those three are hints. A crawler may ignore them. The file is how you say which addresses exist and which you care about. Search engines discover the file from robots.txt, from Search Console, or by fetching a conventional path. Nothing in the protocol sends a message at the moment you publish.

IndexNow is that message. The documentation says you host a key file on your host to prove you control it, then POST or GET the changed URLs to a participating engine. One POST can carry up to 10,000 URLs. HTTP 200 means the URL was submitted. HTTP 202 means it was received and key validation is still pending. 400 is a bad format, 403 is a key problem, 422 means the URLs do not belong to the host or the key does not match, and 429 means too many requests. None of those codes means the page was added to an index.

The two fail in different ways. A sitemap full of noindex URLs, redirects and yesterday’s date on every row teaches a crawler to ignore the file. An IndexNow ping of those same URLs repeats the mistake as a notification. A correct sitemap with no ping still works: the crawler finds it on its own schedule. A ping with no sitemap still works for the URLs you named, and leaves every other URL to be found from links. We keep one list. The sitemap is that list. The ping sends that list.

lastmod is not a ping either. It is the date on a row. If it changes when the page changes, and only then, a crawler that trusts dates can skip URLs that did not move. If every URL is stamped with today, the date is noise. Google’s helpful-content documentation treats changing dates to look fresh, without a real change, as a warning sign. IndexNow is how you say “this one changed” at publish time. lastmod is how the list records when it changed. They answer different questions.

If you want this done on your site, start with Technical SEO.

Check your site free

Side by side

AspectIndexNowSitemap
What it isAn HTTP notification that URLs changedAn XML list of the URLs you want crawled
Who reads itEngines that participate in IndexNowAny crawler that fetches the file
When it movesWhen you send it, usually at publish or deployWhen you regenerate the file
Success code200 received, or 202 received with key check pendingThe file returns 200 and lists the URLs. There is no “indexed” code
What it does not doIt does not request indexing and does not rank a pageIt does not notify anyone that a page just changed
Freshness signalThe fact of the pingOptional lastmod, only if the date is real
Bad inputNoindex, redirected or foreign URLs in the bodyThose same URLs sitting in the file with a fake date

When to choose IndexNow

  • You publish on a schedule and participating engines are ones you care about.
  • You can build the URL list from the same rules as the sitemap, so noindex pages are not announced.
  • You can read the HTTP status and tell a key error from a received URL.

When to choose Sitemap

  • You need a list a crawler can find without you sending anything.
  • You want lastmod to record real edits, including for engines that never joined IndexNow.
  • You want Search Console and robots.txt to point at one file of record.

An example from our own sites

A production deploy of audacian.eu fetches https://audacian.eu/sitemap.xml, takes every loc, adds https://audacian.eu/feed.xml, and POSTs that JSON to https://api.indexnow.org/indexnow with host audacian.eu, the public key, and the key file URL. The sitemap lists only indexable pages, so a noindex page is neither listed nor pinged. lastmod on each row is the newest git commit of that page’s own files, not the nav or the footer. The workflow prints the HTTP status and continues if the ping fails. We do not report the status as a ranking result. Videojam pings IndexNow from the same gate that fills its sitemap.

Questions

Can I skip the sitemap and only ping IndexNow?
You can notify the URLs you name. Everything else still has to be found from links, and engines that do not take IndexNow never see the ping. Keep the sitemap.
Does an IndexNow 200 mean Google indexed the page?
No. The IndexNow documentation says 200 means the URL was received. Crawling and indexing stay the engine’s decision. Not every engine participates.
Should lastmod be today on every URL?
Only if every URL’s content changed today. A date that always moves is a date a crawler learns to ignore, and Google’s helpful-content page treats fake freshness as a warning.

Tell us what you're launching.

Book a 20-minute intro call, or email a few lines about what you're launching. We'll reply with a rough plan and a price range, whether or not we end up working together.

We reply within one working day.