charset.missing

InfoSEO audit

No character encoding is declared, in the HTML or in the Content-Type header.

What to change

Add <meta charset="utf-8"> as the first element in <head>.

A finding of this rule on a page carries the exact edits for that page: the markup it quotes, and what to write instead.

When it runs

Runs on every SEO audit: of a page, a crawl, a build directory or HTML. Info is a best practice: worth doing, rarely urgent, and --no-info leaves it out. Each finding takes 1 point off the page's score.

The severity here is the rule's usual one: a finding can be raised or lowered when the page gives a reason.

Run it, or skip it

Check a page for this rule alone, after a fix for instance:

npx @rivi-software/agentic-seo-check audit https://example.com --rule charset.missing

Or from an assistant, with the MCP tool seo_audit_page:

{
  "url": "https://example.com",
  "rules": [
    "charset.missing"
  ]
}

To leave it out of an audit, pass --disable charset.missing on the command, or disableRules: ["charset.missing"] to a tool.

All 12 rules