HTML-SEO-Inspektor

Inspizieren Sie HTML auf Title, Meta-Description, Canonical und Headings

Inspecting HTML Pages for On-Page SEO Elements

On-page SEO determines how search engines understand, categorize, and rank individual pages. Every HTML document communicates metadata to crawlers through title tags, meta descriptions, canonical URLs, heading hierarchy, structured data, and social media previews. Missing or misconfigured elements mean search engines cannot properly display your content in results pages, understand page relationships, or extract rich snippets that drive click-through rates. The HTML SEO Inspector analyzes your page markup to identify gaps in this critical metadata layer.

Paste any HTML document and receive a comprehensive audit covering title optimization, meta description quality, canonical URL configuration, heading structure, OpenGraph tags for social sharing, Twitter Card metadata, JSON-LD structured data validation, and image accessibility. Each finding includes the current value (or absence), its SEO impact, and specific recommendations for improvement. All processing happens in your browser — your HTML content never leaves your device.

Title Tags and Meta Descriptions

Title tags and meta descriptions are the primary elements displayed in search engine results pages (SERPs). The inspector validates:

  • Title presence: Pages without <title> tags cannot rank effectively
  • Title length: Titles exceeding 60 characters get truncated in Google results
  • Title uniqueness: Generic titles like "Home" or "Page" provide no ranking signal
  • Meta description presence: Missing descriptions mean Google auto-generates snippets
  • Description length: Descriptions beyond 160 characters get truncated
  • Canonical URL: Missing <link rel="canonical"> risks duplicate content issues
  • Robots meta: Accidental noindex or nofollow directives block indexing

The inspector distinguishes between missing elements (critical), suboptimal configurations (warnings), and well-optimized elements (passing), giving you a clear prioritization of fixes.

Heading Hierarchy and Content Structure

Search engines use heading hierarchy to understand content structure and topic organization. The inspector checks:

  • H1 presence: Every page should have exactly one H1 describing its primary topic
  • Multiple H1s: More than one H1 dilutes the page's topic signal
  • Level skipping: Jumping from H2 to H4 (skipping H3) indicates poor structure
  • Heading depth: Deep nesting (H5, H6) without matching content indicates misuse
  • Empty headings: Headings without text content provide no semantic value

Proper heading hierarchy helps both crawlers and users understand page organization. Screen readers use headings for navigation, making correct hierarchy an accessibility requirement as well as an SEO best practice.

Structured Data and Social Previews

Rich results (featured snippets, recipe cards, product listings) require structured data markup. The inspector validates:

  • JSON-LD presence: Detects <script type="application/ld+json"> blocks
  • Schema validation: Checks for required properties in common schemas (Article, Product, FAQ)
  • OpenGraph tags: og:title, og:description, og:image for Facebook/LinkedIn sharing
  • Twitter Cards: twitter:card, twitter:title, twitter:image for Twitter previews
  • Image alt text: Images without alt attributes miss ranking opportunities in image search

Social preview metadata controls how your pages appear when shared on social platforms. Missing OpenGraph images result in generic link previews that dramatically reduce engagement rates.

Code Examples

Well-Optimized HTML Head Section

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>JSON Formatter — Pretty Print and Validate JSON Online</title>
  <meta name="description" content="Format, validate, and beautify JSON data with syntax highlighting. Free online tool with instant results and no data transmission.">
  <link rel="canonical" href="https://stratecode.tools/tools/json-formatter/">
  <meta name="robots" content="index, follow">

  <!-- OpenGraph for social sharing -->
  <meta property="og:title" content="JSON Formatter — Pretty Print JSON Online">
  <meta property="og:description" content="Format and validate JSON with instant results.">
  <meta property="og:type" content="website">
  <meta property="og:url" content="https://stratecode.tools/tools/json-formatter/">
  <meta property="og:image" content="https://stratecode.tools/images/og-json-formatter.png">

  <!-- Twitter Card -->
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:title" content="JSON Formatter — Pretty Print JSON Online">

  <!-- Structured Data -->
  <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "SoftwareApplication",
    "name": "JSON Formatter",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Web"
  }
  </script>
</head>