Skip to main content
New: 190 SEO checks now available. See what's new
mediumMetadataCHARSET_MISSING

Character encoding declaration missing — the fix

This page does not declare its character encoding via a <meta charset> tag or Content-Type HTTP header. Without a declared encoding, browsers may guess incorrectly, causing garbled text.

Where this fits: metadata in SEO

Metadata is how your page introduces itself to search engines and social platforms: the title tag, meta description, canonical URL, Open Graph and Twitter cards. Titles remain one of the strongest on-page relevance signals, and descriptions drive click-through rate from the results page even though they aren't a direct ranking factor. Bad metadata rarely breaks a site — it quietly bleeds clicks on every query where you appear.

Why character encoding declaration missing hurts your rankings

Missing charset declarations can cause text rendering issues, especially for pages with non-ASCII characters. Browsers use heuristics to guess the encoding, which may produce garbled text (mojibake). Search engines may also misinterpret the content, affecting indexing accuracy. This can also create security vulnerabilities related to encoding-based attacks.

This is a medium-severity issue: individually modest, but it compounds — dozens of medium issues across hundreds of pages add up to a real quality deficit in how search engines assess the site.

How to fix it

Add a <meta charset="UTF-8"> tag as the first element in the <head> section. It must appear within the first 1024 bytes of the document for browsers to process it correctly.

<head>
  <meta charset="UTF-8" />
  <!-- other head elements -->
</head>

Metadata best practices

  • Write one unique title per page, 50–60 characters, primary topic first, brand last.
  • Write meta descriptions as ad copy: 140–155 characters, include the query intent, end with a reason to click.
  • Ship Open Graph + Twitter Card tags on every shareable page — social embeds are free impressions.
  • Keep canonical URLs absolute, lowercase, and consistent with your internal links.
  • Never duplicate titles across pages — duplicates tell Google the pages are interchangeable.

The full library: SEO best practices, by category.

Frequently asked questions

What does "Character encoding declaration missing" mean?

This page does not declare its character encoding via a <meta charset> tag or Content-Type HTTP header. Without a declared encoding, browsers may guess incorrectly, causing garbled text.

Why does character encoding declaration missing matter for SEO?

Missing charset declarations can cause text rendering issues, especially for pages with non-ASCII characters. Browsers use heuristics to guess the encoding, which may produce garbled text (mojibake). Search engines may also misinterpret the content, affecting indexing accuracy. This can also create security vulnerabilities related to encoding-based attacks.

How do I fix character encoding declaration missing?

Add a <meta charset="UTF-8"> tag as the first element in the <head> section. It must appear within the first 1024 bytes of the document for browsers to process it correctly.

How serious is this issue?

This is a medium-severity issue: individually modest, but it compounds — dozens of medium issues across hundreds of pages add up to a real quality deficit in how search engines assess the site. It belongs to the metadata family of checks.

How do I find every page affected by this on my site?

Run a free Dr Urls audit: it crawls your site, detects character encoding declaration missing on every affected page, shows example URLs, and generates a ready-to-use fix task. Re-scan after fixing to verify the issue is gone.

Does your site have this issue?

A free Dr Urls audit crawls your site, finds every page affected by character encoding declaration missing, and hands you a ready-made fix task.

Check my site free

Related metadata guides