A content gap check compares the topics another site covers with the topics you cover. You do not need paid software for a first pass. Every site that publishes a sitemap has already listed its pages in one public file.
This guide shows a check we actually ran, gives you a short script that spots new pages each week, and gives you a small tool that turns two URL lists into a topic table. AI helps at the end, once you have real numbers to give it.
From our own run, 10 November 2026. We read the public sitemap files of Search Engine Journal (166 recent page addresses) and of this site (570) and counted pages by topic. The biggest gap was paid search and ads: about 13% of their recent pages against about 1% of ours. We also ran the watch script from this guide on their sitemap: it reported 0 new addresses on a repeat run and found the 3 we had deleted from the saved list.
So treat a gap as a question to test, not a plan. The rest of this guide shows how.
Table of Contents
ToggleWhat does a content gap check tell you?
It tells you where another site publishes more than you do. It does not tell you that a topic is worth writing about. A gap can mean a missed opportunity, or it can mean the other site serves readers you do not want.
Treat every gap as a question to test. We cover how to test one further down.
What did our own run find?
Method. We read the public sitemap files of Search Engine Journal and of this site. For Search Engine Journal we used the three newest post sitemap files, which held 166 page addresses. For this site we used all three post sitemaps, which held 570. We took the last part of each address, the slug, as a rough title. Then we counted how many slugs matched each of eleven topics and compared the share each topic takes.
The gap is the other site’s share minus ours, in percentage points. A positive gap means they publish proportionally more on that topic.
| Topic | Search Engine Journal (166) | This site (570) | Gap, points |
|---|---|---|---|
| Paid search and ads | 21 (12.7%) | 6 (1.1%) | +11.6 |
| Social and video | 11 (6.6%) | 7 (1.2%) | +5.4 |
| ChatGPT and OpenAI | 14 (8.4%) | 21 (3.7%) | +4.7 |
| Technical SEO, crawling, indexing | 15 (9.0%) | 30 (5.3%) | +3.8 |
| Search updates and spam | 8 (4.8%) | 16 (2.8%) | +2.0 |
| AI Overviews and AI Mode | 8 (4.8%) | 22 (3.9%) | +1.0 |
| Local SEO | 0 (0%) | 11 (1.9%) | -1.9 |
| Schema and structured data | 0 (0%) | 15 (2.6%) | -2.6 |
| Ecommerce | 5 (3.0%) | 40 (7.0%) | -4.0 |
| Links and backlinks | 0 (0%) | 27 (4.7%) | -4.7 |
| Content quality and E-E-A-T | 5 (3.0%) | 61 (10.7%) | -7.7 |
What we read from it. The biggest gap was paid search and ads, with about 13% of their recent pages against about 1% of ours. Social and video came next. Topics where we publish more than they do, such as content quality and links, show as negative.
What it does not tell you. It does not show traffic, rankings or demand. The two sets also cover different periods: theirs is the pages in their three newest sitemap files, and ours is everything we have published. Search Engine Journal is also a news publisher, so its mix leans towards news. Slug matching is rough too, because a slug can name a topic without being about it. We did not check whether any gap is worth filling.
How do you automate the weekly part?
Searching by hand each week is slow. A short script can do the repeat work: download a sitemap, remember the list, and print only the addresses that are new since last time. It uses nothing but Python’s standard library.
Python script: sitemap_watch.py
"""Print URLs that are new in a sitemap since the last run. Run it weekly."""
import re, sys, json, os, urllib.request
SITEMAP = sys.argv[1] # a sitemap or sitemap index URL
STATE = sys.argv[2] # a file name where the last list is saved
def get(url):
req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0 (sitemap-watch)"})
return urllib.request.urlopen(req, timeout=30).read().decode("utf-8", "replace")
def locs(xml):
return re.findall(r"<loc>\s*(.*?)\s*</loc>", xml)
found = set()
for u in locs(get(SITEMAP)):
if u.endswith(".xml"): # a sitemap index: open each child file
found.update(locs(get(u)))
else:
found.add(u)
old = set(json.load(open(STATE))) if os.path.exists(STATE) else None
json.dump(sorted(found), open(STATE, "w"))
if old is None:
print("First run: saved", len(found), "URLs as the baseline.")
else:
new = sorted(found - old)
print(len(new), "new URLs since last run")
for u in new:
print(u)
How do you build the table for your own site?
Paste the addresses from a competitor’s sitemap in the first box and yours in the second. The third box holds your topic rules, one per line. A word ending in a star matches any word that starts that way. The tool builds the table above for your lists. It runs in your browser and sends nothing anywhere.
Paste another site's page addresses and your own. The tool takes the last part of each address as a rough title, counts matches for each topic rule, and shows each site's share and the gap.
What is the whole process?
The steps below are the order we would follow. You can zoom and pan the picture, or expand it. The same steps are written out under the graphic.
Read the workflow as text
- 1. Pick your comparison sites Choose 3 to 5 sites your readers also use. Check their robots.txt and terms.
- 2. Download their sitemaps Open the public sitemap index and fetch only the newest post files.
- 3. Turn addresses into topics Use the slug as a rough title and count matches against your topic rules. The tool does this.
- 4. Compare shares Their share minus yours, in points. Note the different time periods.
- 5. Test every gap Check your own site, Search Console and real search phrases before you write anything.
- 6. Re-run every week Run the watch script. Read only the addresses that are new since last time.
Where does AI help?
AI is useful once you have a table. It can suggest what a gap might mean and draft questions for you to test. It cannot see search demand, so it should not rank the gaps. Paste your table into Claude with this prompt.
You are an SEO analyst. Below is a topic table that compares another site's recent pages with my site's pages. Columns: topic, their count and share, my count and share, gap in percentage points. [PASTE THE TABLE HERE] Rules: 1. Take the three largest positive gaps. 2. For each, give two possible reasons the gap exists, for example the other site's audience, its news focus or my own choices. 3. For each, write two questions I should test before I write anything, and name where to test them: my own site, Search Console, autocomplete or Keyword Planner. 4. Do not rank the gaps by traffic or demand. You have no search data. 5. Do not invent figures. Keep each answer under 80 words.
What do you do with a gap?
Test it before you write anything. Work through these in order.
- Check your own site first. Search for the topic on your site. You may already have a post that needs updating. Our brief overlap checker does this for a list of ideas.
- Look at what you already show for. Search Console shows the queries your pages appear for. If you show for the topic with no page aimed at it, that is a strong sign.
- Find the real phrases. Our long-tail keyword guide shows how to turn a topic into phrases and check them against autocomplete.
- Group by intent. One page per question, not one page per phrase. See keyword mapping.
- Decide if the topic fits you. A gap in paid search is not a reason to start covering it if your readers do not care.
What mistakes should you avoid?
- Copying topics because a bigger site has them. Their readers are not yours.
- Reading a gap as demand. The table shows what they publish, not what people search for.
- Comparing different periods without saying so. We flagged ours. Do the same.
- Trusting lastmod as a publish date. It is a modification date.
- Fetching too much, too often. Sitemaps are public, but pull only the files you need and run the check weekly, not hourly.
A note on the earlier version of this guide. It promised automated weekly reports and quoted time-saving and accuracy figures. When we rebuilt it in November 2026 we could not trace those figures to a source we could open, so we removed them. Everything numeric above comes from our own run or from the pages listed below.
Which guides should you read next?
- Generate 50 content briefs from one pillar topic with Claude takes a gap and turns it into briefs you can check for overlap.
- Generate 100+ long-tail keywords with Claude finds the phrases behind a topic.
- Keyword mapping gives each keyword one URL.
Common questions
Is it allowed to read a competitor's sitemap?
Sitemaps are public files meant to be read by search engines and tools. Check the site’s robots.txt and terms, fetch only the files you need, and keep the number of requests low.
Does a sitemap show every page on a site?
No. It lists the pages the site chooses to include. Google says a sitemap helps search engines find pages but does not guarantee they are crawled or indexed.
Can I use the lastmod date to find new posts?
Not reliably. The date shows when a page last changed in a way the site thought significant. Compare saved lists of addresses instead, as the script in this guide does.
Can AI do the whole gap analysis for me?
It can help you read a table and draft questions. It has no live search data, so it cannot tell you which gaps have demand. Check demand in Search Console and your keyword tools.
Sources
All three pages were opened on 10 November 2026. Our own run used the public sitemap files of Search Engine Journal and of this site, fetched on 10 November 2026.







