Skip to main content

HTML SEO Analyzer

Paste page HTML and inspect title, description, canonical, robots, headings, images and structured data locally.

  • Clipboard

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

HTML code

SEO report

Was this tool useful?

How does this tool work?

This analyser reads a page’s HTML and extracts the basic SEO signals: title, meta description, canonical, robots directive, H1 and H2 headings, image alt attributes and JSON-LD blocks. It produces a JSON report with a status for each check, without downloading the page or sending the code to a server.

The pasted HTML is turned into a document by the browser (DOMParser), the way a crawler reads source code, without running the page’s scripts.

Seven checks receive a status: missing title = error; missing meta description or canonical = warning; robots containing noindex = warning; no H1 = error, several H1s = warning; image without an alt attribute = warning; no application/ld+json block = info.

The report also lists the values found: title and description text with their length in characters, the H1 and H2 lists, the total number of images, images without alt and images with an empty alt.

An empty alt (alt="") is not counted as an error: it is the right practice for a decorative image. It is only counted separately in emptyAlt.

How to use this tool

  1. Get the HTML

    Open the page source (Ctrl+U) or export the rendered HTML, then copy all of it.

  2. Paste it into the HTML code field

    The head is essential: without it, title, description and canonical will show as missing.

  3. Run the analysis

    Click Analyze HTML to get the SEO report.

  4. Work through the statuses

    Fix errors first, then warnings; an info status only points to an opportunity.

Use cases

Review a template before release

Paste the HTML generated by a CMS or framework to check that the head contains a title, description and canonical.

Diagnose a page that is not indexed

Spot a forgotten noindex in the robots meta tag or a canonical pointing to another URL.

Check the heading structure

See at a glance how many H1s a long article has and the list of its H2s.

Examples

Category page with two H1s and an image without alt

The title is present (29 characters), but the meta description is missing, the page has two H1s and one image has no alt attribute. The image with an empty alt is reported separately, not as an error.

Input

<head><title>Hiking boots for women | Trek</title><link rel="canonical" href="https://example.com/hiking/women"></head>
<body><h1>Hiking boots for women</h1><h1>New in</h1>
<img src="a.jpg" alt="Alpine model"><img src="b.jpg"><img src="c.jpg" alt=""></body>

Result

"title": "Hiking boots for women | Trek", "description": "", "canonical": "https://example.com/hiking/women", "robots": "",
"images": { "total": 3, "missingAlt": 1, "emptyAlt": 1 }, "structuredData": 0,
checks: title ok (29) · description warning (0) · canonical ok · robots ok (default) · h1 warning (2) · images-alt warning · structured-data info (0)

Tips and best practices

  • Analyse the HTML as crawlers see it: on a client-side rendered site, the source code can be almost empty while the displayed page is complete.
  • Title and description are measured in characters; to judge how they display in Google, use the SERP snippet simulator.
  • A canonical being present does not make it right: check that it points to the URL you want indexed.
  • The image check looks at whether the alt attribute exists, not at how good the description is.

Sources and references

Frequently asked questions

Should a page have only one H1?

HTML allows several, but a single H1 describing the page topic remains the clearest structure. The tool therefore raises a warning from two H1s and an error when there are none.

What is the difference between a missing alt and an empty alt?

Without an alt attribute, screen readers often read out the file name, which is a defect. With alt="", the image is deliberately skipped, which suits decorative images. The tool counts them separately.

Why is missing JSON-LD only an info status?

Structured data is not mandatory. It enables rich results (product, FAQ, breadcrumbs) when the page type suits it, hence a simple info status.

Does the tool check Open Graph or hreflang tags?

No. It sticks to the seven checks in the report. For Open Graph and Twitter Cards, use the meta tags generator; for language versions, the hreflang builder.

Can I analyse a page from its URL?

No, the tool downloads nothing: it works on the code you paste. That also lets you analyse a staging page or one behind a login.

Is the pasted HTML sent or stored?

No. The analysis runs in your browser and the code is neither transmitted nor saved.

Related tools

Tools similar or complementary to this one.

Similar tools

Create SEO, Open Graph and Twitter/X tags for a web page.

Web & SEOFeaturedUse this tool
TutorialBest practicesBeginner

Optimize images for the Web without losing quality

Resize, compress and choose between WebP, AVIF and other formats with a practical workflow that reduces file size without unnecessary visual loss.

30 August 20264 min