A script can read every page on a small site and list the technical problems on it. An AI tool can then help you sort that list. What neither can do is make a polite audit finish in under ten minutes, which is what the first version of this guide promised.
This guide shows a real audit we ran on our own site, what it found, the script and a summary tool, and where AI helps. It replaces our January 2026 version, which we rebuilt because its claims could not be backed up.
From our own crawl, 10 November 2026. We crawled 559 pages of this site from its own sitemaps, with a 1.5 second pause between requests. It took 33 minutes, about 2.0 seconds a page, not the ten minutes the first version of this guide promised.
The audit flagged 559 of 559 pages for at least one image without alt text. Those are starting points to check, not proof of faults.
Table of Contents
ToggleCan you audit a whole site in under ten minutes?
Not politely. Our crawl read 559 pages. We waited 1.5 seconds between requests so we did not strain the server, and each page took about 2.0 seconds to arrive. The whole run took 33 minutes.
You can go faster by sending more requests at once, but that puts load on the server. Google’s own crawl guide says it wants to crawl a site without overwhelming its servers [5]. The same applies to your own crawler. The same page says sites under roughly 10,000 pages do not need to worry about crawl budget [5].
What did the script check?
For every page address in our sitemaps, it recorded the status code, how long the page took to arrive, and these items from the HTML:
- whether a title and a meta description exist, and how long they are
- how many H1 headings there are
- whether a canonical tag exists and whether it points back to the page itself
- whether the page is marked noindex
- how many images have no alt text
- how many links on the page go to other sites (this counts menus and footers too, so we do not use it as a check)
- whether each JSON-LD block is valid JSON
It only reads the HTML the server sends. It does not run JavaScript, so it cannot see anything a script adds later.
What did the audit find on our site?
| Check | Pages flagged | Share |
|---|---|---|
| Title longer than 60 characters | 453 of 559 | 81.0% |
| Meta description missing, empty or outside 70 to 175 characters | 125 of 559 | 22.4% |
| At least one image without alt text | 559 of 559 | 100.0% |
| Not exactly one H1 | 0 of 559 | 0.0% |
| No canonical tag | 0 of 559 | 0.0% |
| Canonical points elsewhere | 0 of 559 | 0.0% |
| Noindex | 0 of 559 | 0.0% |
| Invalid JSON-LD block | 0 of 559 | 0.0% |
| Status is not 200 | 0 of 559 | 0.0% |
How to read each line. A flag is a reason to look, not proof of a fault.
- Titles over 60 characters. Google says there is no limit on how long a title element can be, and that it truncates the title in results to fit the device width [1]. Our count includes the site name that follows each title, so many of these are fine. It is a style check, not a rule.
- Meta descriptions missing, empty or outside 70 to 175 characters. Google says there is no limit on how long a meta description can be, and that it sometimes uses the description and sometimes builds a snippet from the page [2]. The 70 to 175 range is our house style.
- Images without alt text. Google calls alt text the most important attribute for giving an image more metadata [3]. Our count includes any image with an empty alt, so it will include decorative images such as icons. The next step is to see which images they are.
- Canonical tags. Google describes rel=”canonical” as a strong signal for the preferred URL, and says none of the methods are required [4].
Lines with a count of zero are checks that found nothing on this crawl.
How do you run the same audit?
The script uses only Python’s standard library. Run it with an output file name, a delay in seconds and one or more sitemap addresses. Add --limit 20 to test it on a few pages first.
Python script: audit_crawl.py
"""Polite site audit: reads URLs from sitemaps, fetches each page slowly, writes one CSV row per page.
Usage: python audit_crawl.py out.csv 1.5 https://example.com/post-sitemap.xml [more sitemaps...]
Arguments: output file, seconds to wait between requests, then one or more sitemap URLs. Add --limit 20 to test on a few pages."""
import sys, re, csv, json, time, html, urllib.request
from html.parser import HTMLParser
args = sys.argv[1:]
limit = None
if "--limit" in args:
i = args.index("--limit"); limit = int(args[i + 1]); del args[i:i + 2]
out_file, delay, sitemaps = args[0], float(args[1]), args[2:]
UA = {"User-Agent": "Mozilla/5.0 (compatible; own-site-audit)"}
def get(url):
t0 = time.time()
try:
r = urllib.request.urlopen(urllib.request.Request(url, headers=UA), timeout=60)
return r.status, r.read().decode("utf-8", "replace"), time.time() - t0
except urllib.error.HTTPError as e:
return e.code, "", time.time() - t0
except Exception:
return 0, "", time.time() - t0
class Page(HTMLParser):
def __init__(s):
super().__init__(); s.h1 = 0; s.title = ""; s.in_title = False; s.meta = None; s.canon = None; s.robots = ""
s.img = 0; s.noalt = 0; s.ext = 0; s.ld = []; s.in_ld = False; s.cur = ""
def handle_starttag(s, tag, a):
a = dict(a)
if tag == "h1": s.h1 += 1
elif tag == "title": s.in_title = True
elif tag == "meta" and (a.get("name") or "").lower() == "description": s.meta = (a.get("content") or "").strip()
elif tag == "meta" and (a.get("name") or "").lower() == "robots": s.robots = (a.get("content") or "").lower()
elif tag == "link" and a.get("rel") == "canonical": s.canon = a.get("href")
elif tag == "img":
s.img += 1
if not (a.get("alt") or "").strip(): s.noalt += 1
elif tag == "a" and (a.get("href") or "").startswith("http"): s.ext += 1
elif tag == "script" and a.get("type") == "application/ld+json": s.in_ld = True; s.cur = ""
def handle_endtag(s, tag):
if tag == "title": s.in_title = False
if tag == "script" and s.in_ld: s.in_ld = False; s.ld.append(s.cur)
def handle_data(s, d):
if s.in_title: s.title += d
if s.in_ld: s.cur += d
urls = []
for sm in sitemaps:
xml = get(sm)[1]
urls += [u for u in re.findall(r"<loc>\s*(.*?)\s*</loc>", xml) if not u.endswith(".xml")]
time.sleep(delay)
urls = list(dict.fromkeys(urls))[:limit]
host = re.match(r"https?://[^/]+", urls[0]).group(0) if urls else ""
rows = []
for n, u in enumerate(urls, 1):
status, text, secs = get(u)
p = Page(); p.feed(text)
bad = 0
for block in p.ld:
try: json.loads(block)
except Exception: bad += 1
own_links = len(re.findall(r'<a [^>]*href="(?:%s)?/' % re.escape(host), text))
rows.append({"url": u, "status": status, "secs": round(secs, 2), "title_len": len(html.unescape(p.title.strip())),
"meta_len": len(p.meta) if p.meta is not None else -1, "h1": p.h1, "canonical": bool(p.canon),
"canon_self": (p.canon or "").rstrip("/") == u.rstrip("/"), "noindex": "noindex" in p.robots,
"img": p.img, "img_noalt": p.noalt, "ext_links": p.ext, "ld_bad": bad})
print(n, "of", len(urls), flush=True)
time.sleep(delay)
with open(out_file, "w", newline="", encoding="utf-8") as f:
w = csv.DictWriter(f, fieldnames=list(rows[0].keys())); w.writeheader(); w.writerows(rows)
print("wrote", out_file)
How do you summarise the CSV?
Paste the CSV into the tool. It counts the flags, shows the percentages and lists the slowest pages. It runs in your browser and sends nothing anywhere.
Paste a crawl CSV from the script in this guide. The tool counts the flags, shows the percentages and lists the slowest pages.
What is the whole process?
The steps below are the order we followed. 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. Collect the URLs Read every address from your sitemaps. Ours gave 559.
- 2. Fetch each page slowly One request, then a pause of 1.5 seconds. Stop if the site slows.
- 3. Record fixed checks Status, title, meta description, H1, canonical, noindex, alt text, JSON-LD.
- 4. Summarise the counts Count the flags and list the slowest pages. The tool does this.
- 5. Ask AI to sort the list Give it counts, not raw data. Treat the answer as a to-do list.
- 6. Fix, then crawl again Open a few flagged pages first. Compare the counts after the fixes.
Where does AI help?
AI is good at sorting and explaining a list you already have. It cannot see your site, so give it the summary, not the whole CSV. Paste the tool’s summary into Claude with this prompt.
You are a technical SEO reviewer. Below is a summary of a crawl of my website: counts of pages flagged for each check, and response times. [PASTE THE SUMMARY HERE] Rules: 1. Group the flags into those that can block indexing or break pages, those that affect how results look, and those that are style choices. 2. Put the groups in the order I should check them, and give one sentence of reasoning for each. 3. For each flag, say what a real fault would look like on a page, so I can open a few pages and check. 4. Do not invent numbers. Do not say any fix will raise rankings or traffic. 5. Keep the whole answer under 250 words.
What mistakes should you avoid?
- Crawling too fast. Wait between requests, and stop if the site slows down.
- Treating every flag as a fault. A long title or an empty alt on an icon is not a problem on its own.
- Trusting a speed promise. “1,000 pages in ten minutes” depends on how fast the server answers and how hard you push it.
- Skipping the check after fixes. Run the crawl again and compare the counts.
- Sending a whole CSV to an AI tool. You may share private URLs. Send counts, not raw data.
A note on the earlier version of this guide. It promised an AI audit of 1,000 pages in under ten minutes and gave no sources. We rebuilt it in November 2026 around a crawl we actually ran, using only the pages listed below.
Which guides should you read next?
- Competitor content gap analysis with a weekly sitemap check uses the same sitemap approach to watch another site.
- How to find and fix orphan pages covers pages that your crawl cannot reach.
- Answer-first content structures with AI covers what Google says about AI features.
Common questions
How long does a site audit take?
It depends on how many pages you have, how fast your server answers and how gently you crawl. Our run read 559 pages in 33 minutes at one request every 1.5 seconds.
Is it safe to crawl my own site?
Yes, if you go slowly. Send one request at a time, wait between them and stop if pages slow down. Fast crawls can strain a small server.
Can AI audit a site by itself?
No. It cannot fetch and read every page for you unless you give it that access. Use a crawler to collect the data and AI to help sort the results.
Do I need to fix every flag?
No. Titles and meta descriptions have no fixed length limit in Google’s documentation. Fix the flags that affect users or indexing, such as missing canonicals, noindex pages and broken pages.
Sources
All pages were opened on 10 November 2026. The audit used our own sitemaps and pages on the same date.
- Google Search Central — Influencing your title links in search results
- Google Search Central — Control your snippets in search results
- Google Search Central — Google image SEO best practices
- Google Search Central — How to specify a canonical URL with rel=”canonical” and other methods
- Google Search Central — Optimize your crawl budget







