- PagePreflight is a free HTML and SEO preflight checker that identifies concrete technical issues in local HTML files before you publish — not vague quality scores, but specific line-numbered findings.
- It checks eight categories: SEO metadata, heading structure, image alt attributes, broken in-page anchors, duplicate IDs, schema markup, placeholder text/duplicate blocks, and custom house rules.
- Findings use three severity levels — FAIL, WARN, INFO — so you know exactly which issues require immediate correction and which are informational context.
- The core checker uses Python's standard library with no API key, no account, no network calls, and no modification to your original HTML files.
- PagePreflight supports custom JSON configuration rules — define your own title length limits, required schema types, forbidden elements, minimum word count, and more.
- The recommended workflow is: Audit → Review findings → Fix confirmed issues → Reaudit — a repeatable pre-publication checklist for every page you launch.
- A clean PagePreflight report does not guarantee SEO rankings, Rank Math scores, or AI citations — it means the defined checks found no flagged issues in the supplied HTML.
Publishing a webpage without checking it first creates avoidable problems. A missing meta description, duplicate H1 headings, a table-of-contents link pointing to a section that no longer exists, an image with no alt text, or invalid schema markup can all slip through even when a page looks perfect in your browser. PagePreflight is a free HTML and SEO preflight checker that finds these issues — with line numbers and specific fix recommendations — before you hit Publish.
PagePreflight is a free HTML and SEO preflight checker available at capafy.ai/agent/pagepreflight that inspects local HTML files for metadata issues, heading structure problems, broken in-page anchors, missing image alt attributes, schema markup errors, duplicate content blocks, and placeholder text. It produces severity-ranked findings (FAIL / WARN / INFO) with line numbers, evidence explaining each issue, and suggested corrections — without an API key and without modifying the original file.
Free HTML & SEO Checker
🚀 What Is PagePreflight?
PagePreflight is a lightweight HTML and SEO auditing agent built for developers, content publishers, SEO professionals, and website owners. Its purpose is straightforward: help you check a webpage's technical structure before it goes live. The tool uses a local Python script to inspect HTML and SEO-related elements, applies defined rules to identify potential problems, and generates findings that include a check identifier, severity level, line number, evidence, and suggested correction. It also supports custom JSON configuration rules for site-specific requirements.
What makes PagePreflight different from generic SEO checkers is its philosophy: concrete findings over vague scores. Instead of telling you a page scored 78/100 without explaining what 78 means, PagePreflight tells you exactly which element is wrong, where it is in the HTML, and what to do about it. The output is a pre-publication checklist you can act on immediately — not a dashboard metric to optimize.
Custom house rules — your standards, encoded: PagePreflight supports JSON configuration files that let you define site-specific requirements: maximum title length, required schema types, minimum word count, forbidden HTML elements, required text patterns, and more. This turns your editorial or technical standards into an automated, repeatable check that runs every time before publication.
🚀 Audit Your HTML Before Publishing — Free
PagePreflight checks 8 categories of HTML and SEO issues with line-numbered findings and fix recommendations. No API key, no account, no file modification.
❓ Why Check a Page Before Publishing?
A webpage can look perfect in a browser while containing technical problems invisible to the human eye — a canonical URL pointing to a different address than og:url, a broken anchor in the table of contents, placeholder text in a CTA section, or schema markup that doesn't match the visible page content. These issues don't prevent a page from loading, but they can affect usability, accessibility, search engine interpretation, and maintainability. Catching them before publication is always easier than finding them in a post-launch audit.
Think of the preflight concept the way aviation does: you don't wait until the aircraft is airborne to verify that critical systems are ready. A webpage deserves the same systematic final inspection — especially when you are publishing frequently, maintaining many landing pages, using AI agents to generate HTML, or updating shared templates that touch hundreds of pages.
AI-generated HTML especially benefits from preflight checks. As AI agents produce more HTML — landing pages, tool pages, articles, structured data — the probability of metadata mismatches, missing alt attributes, or schema inconsistencies increases. PagePreflight provides a systematic quality-control step that works as a verification layer after AI generation, before human review, before publication.
🔎 The 8 Categories PagePreflight Checks
PagePreflight checks eight HTML and SEO categories: (1) SEO titles and metadata (title, description, canonical, og:url, Twitter card); (2) Heading structure (multiple H1s, logical hierarchy); (3) Images and alt attributes; (4) Broken in-page anchors and link structure; (5) Duplicate IDs and HTML structural errors; (6) JSON-LD schema markup and structured data; (7) Duplicate content blocks and placeholder text; (8) Custom rules you define in a JSON configuration file.
SEO Titles & Metadata
Checks for missing or mismatched page titles, meta descriptions, canonical URL inconsistencies, og:url conflicts with the canonical, Twitter card metadata, social-sharing URL mismatches, and configured title/description length limits.
FAIL — CriticalHeading Structure
Detects multiple H1 headings on the same page and structural heading hierarchy inconsistencies. Multiple H1s on a page that expects a single main heading may be a template error or an unintentional duplication from copy-paste operations.
WARN — ReviewImages & Alt Attributes
Identifies images missing an alt attribute entirely. Alternative text communicates image meaning to screen readers, provides context when images fail to load, and contributes to accessibility compliance. Missing alt on non-decorative images is a FAIL.
FAIL — AccessibilityBroken In-Page Anchors
Checks in-page anchor links (#section-id) against the IDs actually present in the HTML — flagging links to sections that don't exist. Also detects new-tab links missing appropriate rel attributes and mixed-content HTTP references.
FAIL — Broken LinksDuplicate IDs & Structure
Detects elements sharing the same HTML ID — which can cause unpredictable behavior in links, scripts, and styling. Also checks for structural issues like stray closing tags and nested forms, common in template-generated or AI-generated HTML.
FAIL — HTML ValiditySchema Markup & JSON-LD
Checks JSON-LD structured data for invalid syntax, content mismatches between schema and visible page content (FAQ, breadcrumbs), and missing VideoObject data on pages with YouTube embeds. Also validates required schema types if configured.
WARN — SchemaPlaceholder Text & Duplicates
Detects placeholder text ("Add description here", "TODO", "Lorem ipsum"), duplicate HTML blocks, and repeated HTML comments that may have been left in during development. These are frequently invisible during browser preview but can embarrass on launch.
WARN — ContentCustom House Rules
Define your own site-specific requirements in a JSON configuration file: maximum title length, required schema types, minimum word count, minimum internal/external links, forbidden HTML elements, required text patterns, and breadcrumb requirements.
Custom — Your RulesUnderstanding Severity Levels: FAIL, WARN, INFO
| Severity | Meaning | Examples | Action |
|---|---|---|---|
| FAIL | A defined rule was not satisfied — the check found a condition that should be corrected | Missing page title, broken anchor, image with no alt, invalid JSON-LD syntax | Investigate and correct before publishing |
| WARN | Something that deserves attention and contextual review before deciding whether to act | Multiple H1s, placeholder text, schema/content mismatch, custom rule violations | Review context — fix if the issue is confirmed |
| INFO | Informational context about the page that may be relevant but doesn't require correction | External link count, word count near minimum threshold, optional schema present | Read and note — no action typically required |
| A finding is a defined pattern detected in the HTML — not automatic proof of an SEO or usability problem. Context determines whether each finding warrants a correction. | |||
⚙️ How to Use PagePreflight — Step by Step
PagePreflight follows a five-step Audit → Review → Fix → Reaudit cycle: (1) Prepare your local HTML file or folder; (2) Run the checker with a simple Python command; (3) Read the severity-ranked findings and line numbers; (4) Fix confirmed problems — either manually or by directing an AI agent to apply safe, clearly understood corrections; (5) Rerun PagePreflight to verify the issues are resolved before publishing.
Prepare
Select local HTML file or folder
Run
Execute Python checker command
Review
Read findings, severity, line numbers
Fix
Correct confirmed issues in HTML
Reaudit
Rerun to verify fixes resolved issues
Running PagePreflight — Commands
PagePreflight's core checker uses Python's standard library with no API key required. Here are the basic usage commands:
# Basic single-file audit python3 pagepreflight.py page.html # Audit with focus keyword check python3 pagepreflight.py page.html --keyword "free SEO tool" # Audit with custom house rules configuration python3 pagepreflight.py page.html --config examples/house-rules.example.json # Audit entire folder of HTML files python3 pagepreflight.py ./pages-folder/
Using PagePreflight with an AI agent: After running the audit, you can direct an AI agent to apply safe, clearly understood corrections — fixing a confirmed metadata mismatch, repairing a broken in-page anchor, or adding appropriate alt text for a known image. The workflow is: run PagePreflight → share report with AI agent → agent applies corrections → run PagePreflight again to verify. Do not ask an AI agent to invent missing dates, author names, or FAQ answers just to pass a check.
📋 Example: PagePreflight Auditing a GenialThings Tool Page
A typical GenialThings tool page audit with PagePreflight might surface findings like: a canonical URL and og:url pointing to different addresses, a table-of-contents link pointing to an anchor ID that was renamed during editing, an image missing its alt attribute, FAQ structured data that doesn't match the visible FAQ answers, and placeholder text left in a CTA section. Each finding includes the exact line number so corrections can be made immediately — before the page goes live.
| Finding | Severity | Suggested Action |
|---|---|---|
| Canonical URL and og:url point to different addresses | FAIL | Confirm the correct page URL and align canonical and og:url to the same value |
| Two H1 headings found on the page | WARN | Review the intended heading structure — remove the duplicate H1 if unintentional |
| Featured image has no alt attribute | FAIL | Add descriptive alt text reflecting the image's actual content and purpose |
| Table-of-contents link targets #how-it-works, but no element with that ID exists | FAIL | Repair the anchor link or restore the target element with the correct ID |
| FAQ schema questions don't match visible FAQ section content | WARN | Update the JSON-LD schema to reflect the actual FAQ questions and answers on the page |
| Placeholder text "Add description here" found in CTA section | FAIL | Replace with verified, published CTA copy or remove the section before launch |
| External image loaded over HTTP instead of HTTPS | WARN | Replace the HTTP image URL with its HTTPS equivalent to eliminate mixed content |
| After addressing each finding and rerunning PagePreflight, the page can be published with confidence that supported technical issues have been investigated and resolved. | ||
looking at the page through a window.
PagePreflight opens the document."
🚀 Run Your Preflight Check — Free, Instantly
Get severity-ranked HTML and SEO findings with line numbers and fix recommendations before your next publish. No API key, no account, no file modification.
👤 Who Should Use PagePreflight
PagePreflight is most valuable for anyone who regularly publishes HTML content and wants a systematic technical check before going live. It is especially useful for: SEO professionals checking technical requirements pre-handover; developers investigating line-numbered HTML issues; content publishers adding a final pre-publication check to their workflow; digital agencies enforcing consistent house rules across client sites; and AI agent builders using PagePreflight as an automated quality-control layer after HTML generation.
SEO Professionals
Check supported technical SEO requirements — metadata completeness, canonical consistency, schema markup — before handing pages over to client publishing teams.
Developers
Line-numbered findings make it straightforward to locate and fix HTML structural issues, duplicate IDs, and broken in-page anchors in template-generated or CMS-exported HTML.
Content Publishers
Add a systematic final pre-publication check to the editorial workflow — catching placeholder text, metadata gaps, and structural issues before a page goes live to visitors.
Digital Agencies
Configure JSON house rules specific to each client site — title length limits, required schema types, minimum links — and run consistent preflight checks across all templates and landing pages.
AI Agent Builders
Incorporate PagePreflight as a systematic quality-control step in AI HTML generation workflows — audit after generation, apply fixes, reaudit before deploying to the site or CMS.
WordPress Site Owners
Inspect locally available HTML from pages and templates — catching issues that WordPress's page editor and preview mode may not surface before a page is published to the live site.
🚀 Check Your HTML Before You Hit Publish
PagePreflight gives you line-numbered findings, severity labels, and specific fix recommendations for metadata, anchors, images, schema markup, and more — before your next page goes live. Free, no API key, no account.
❓ PagePreflight — Frequently Asked Questions
Related Free Tools & SEO Guides From Genial Things
Pair PagePreflight with these free Genial Things tools to build a comprehensive pre-publication and post-publication technical workflow:
🚀 Free · No API Key · No Account · Line-Numbered Findings
🚀 Run Your Free PagePreflight Check NowAvailable at capafy.ai/agent/pagepreflight · Audit, fix, reaudit before you publish
[…] PagePreflight […]