On-Page SEO Checker for Pasted or Uploaded HTML
Operator: Abdulla Al Fahad. How tools are built and checked
A product-page template with a title of about 463 pixels, a description of about 790 pixels, one image that has no alt text, an h1 followed by an h3, and four of the five core Open Graph tags missing scores 76, a C. The page is not fetched: the HTML is pasted or dropped as a file, parsed once, and run through up to 25 checks that each have a weight, a result and a one-sentence reason. Where the SERP snippet preview here draws a result, this page measures the same title and description and then keeps going through the rest of the markup.
Key features
- Headings outline with skipped levels and empty headings, exactly one h1, and a heading tree you can read
- Canonical, robots meta, viewport, language, character set, meta refresh and the ignored keywords tag
- hreflang links validated with the same code checker as the hreflang tool here: valid codes, absolute URLs, duplicates, self-reference
- Open Graph and Twitter tags, image alt text, word count, internal and external links, and JSON-LD parsing
- Up to 200 files at once, with a table per file and one CSV that also marks duplicate titles and descriptions
- A weighted score and a letter grade, with every check's weight shown
- Title and description measured in pixels at 20 px and 14 px Arial against desktop budgets of 600 and 920 px
What is checked, how it is scored, and what HTML alone cannot show
Scoring is simple on purpose. Each check has a weight, from 2 (character set) to 10 (title); a pass earns the full weight, a warning half, a failure nothing, and notes carry no weight. The score is earned weight over possible weight, rounded, and the grade is A from 90, B from 80, C from 70, D from 55. Checks that do not apply, such as hreflang on a one-language page, are notes and do not change the score.
Pixel widths use canvas text measurement with Arial when the browser has it, and a built-in Arial width table otherwise. Google does not publish its cut-off, so the budgets are the commonly measured values and the result is an estimate. A title under 25 characters and a description under 70 are warned as short; a title or description wider than its budget is warned as likely to be cut.
Word count uses the browser's word segmentation, so it works for scripts without spaces, and counts visible body text only: head content, scripts, styles, noscript, template and SVG text are skipped. Under 300 words is a warning and under 100 a failure; the message says that tool and app pages can be fine with little text. Links are split into internal and external using the page URL you enter, or the canonical's host if there is one; empty hrefs, # and javascript: links, links with no anchor text, and generic text such as 'click here' are warned.
How it works
The HTML is scanned in a single pass by a small tokenizer, not loaded into a live document, so scripts never run and nothing is requested. It tracks the title element (ignoring titles inside SVG), meta and link tags, heading and anchor text, images, JSON-LD blocks and microdata or RDFa attributes. JSON-LD must parse as JSON; the types found are listed, but whether the properties qualify for a rich result is not judged.
When to run it
- A staging build of 120 static pages is exported as .html files and dropped in together; the CSV shows 9 pages share one title and 14 have no meta description.
- A template for article pages is pasted once, and the check shows the canonical is a relative path, which Google recommends writing as an absolute URL.
- A developer pastes the head of a landing page and finds that a copied noindex is still in the robots meta tag.
- An agency checks a client's redesigned footer by pasting a page and sees 11 links whose anchor text is just 'here'.
Running a check
- Paste the HTML or drop one or more .html files.
- Enter the page's URL if you have it.
- Press Check page; dropped files are checked as they load.
- Read the failures first, then warnings; tick only problems to hide the passes.
- With several files, pick a row to see its checks, and download the CSV for the whole set.
Example
Page template (excerpt)
<title>Hand-built blue widgets from Dhaka | Example Shop</title>
<meta name="description" content="Blue widgets built by hand in small batches, with free shipping inside Bangladesh and a two-year repair promise on every order.">
<h1>Blue widgets</h1> ... <h3>Shipping</h3> <img src="/img/widget.jpg"> <a href="https://other.example/">click here</a>Result for https://example.com/widgets
Score 76, grade C. Title about 463 px of 600, description about 790 px of 920, 21 words.
Fail: image alt text (1 of 1 image has no alt attribute); word count (21 words).
Warn: heading order (h1 to h3); Open Graph (missing og:description, og:image, og:url, og:type); anchors ('click here'); structured data (none).Limits
Only the HTML you give it is read. Anything a script adds afterwards, a redirect, a robots.txt rule or an X-Robots-Tag header is invisible, so a clean score does not prove that a page can be indexed.
The score is a guide to what to fix first, not a ranking prediction; no search engine publishes a formula, and the weights here are this tool's own.
Links inside script, template and noscript elements are not counted, because they are not part of the rendered page.
- Enter the page URL when you have it: the canonical is then compared with it, and absolute links to the same host are counted as internal.
- For a bulk run, name the files after the URL path: the CSV's first column is the file name and is the only label the rows carry.
Best practices
- Fix duplicates across files before polishing single pages: identical titles or descriptions on many pages is a bigger problem than a title 20 pixels too wide.
- Treat a noindex you did not intend, a canonical that points at another page and a missing title as blocking; h1, alt-text and word-count failures are quality problems for a to-do list.
- When a page has several URL variants (with and without a trailing slash, with tracking parameters), check the HTML of each and confirm they all name the same canonical.
Columns in the CSV report
Each row is one file: its name, score and grade, then the title with its pixel width, the description with its pixel width, the number of h1 elements, canonical, robots meta, language, word count, image count and how many lack alt text, internal and external link counts, the structured data types found, hreflang and social tag counts, the number of failures and warnings, and two columns that say yes when the title or description is shared with another file in the same upload.
Text cells go through the same spreadsheet-safe escaping as the other exports on this site: a title that begins with =, +, - or @ is written with a leading apostrophe so Excel and Sheets do not run it as a formula.
Frequently asked questions
Why do my pixel widths differ from another tool's?
Widths depend on the font used to measure. This page uses Arial at 20 px for titles and 14 px for descriptions and Google's real cut-off is unpublished, so treat the result as an estimate within a few percent, and compare titles with each other rather than with an absolute limit.
Does it fetch the URL I enter?
No. The URL is only used to compare the canonical and to decide which absolute links are internal; the page itself comes from the HTML you paste or the files you drop.