Meta Tag Inspector

Paste HTML and get a detailed analysis of all meta tags, Open Graph, Twitter Card, and SEO signals.

Analyze your HTML meta tags with this free online inspector. Paste any HTML source and instantly see a categorized breakdown of all meta tags including title, description, Open Graph, Twitter Card, viewport, charset, and canonical URL. The tool checks title and description lengths against search engine recommendations, identifies missing essential tags, calculates an SEO completeness score, and provides actionable recommendations. Perfect for pre-launch audits, debugging social sharing previews, and competitive SEO analysis. All processing runs locally in your browser for complete privacy.

Your data stays in your browser
Tutorial

How to use

1
1

Paste your HTML

Copy the HTML source of your page (or just the <head> section) and paste it into the input area.

2
2

Click Inspect Meta Tags

Press the inspect button to analyze all meta tags, Open Graph properties, Twitter Card tags, and essential SEO signals.

3
3

Review results and score

Check your SEO score, see which tags are present, missing, or have warnings, and follow the recommendations to improve your on-page SEO.

Guide

Complete Guide to HTML Meta Tags for SEO

What Are Meta Tags and Why Do They Matter?

Meta tags are HTML elements placed in the <head> section of a web page that provide metadata about the page to search engines and social platforms. While not visible to users browsing the page, meta tags significantly influence how search engines index and display your content. The title tag and meta description directly appear in search engine results pages (SERPs), making them critical for click-through rates. Viewport and charset tags ensure proper rendering across devices and character sets. Without proper meta tags, search engines may misinterpret your page content, display truncated or irrelevant previews, and rank your pages lower than competitors with optimized tags.

Essential Meta Tags Every Page Needs

Every web page should include at minimum: a descriptive title tag (50-60 characters), a compelling meta description (150-160 characters), a viewport meta tag for mobile responsiveness, and a charset declaration (UTF-8). Beyond these essentials, a canonical URL prevents duplicate content issues, and robots meta tags control indexing behavior. For pages that will be shared on social media, Open Graph tags (og:title, og:description, og:image, og:url) and Twitter Card tags are equally important. Missing any of these can result in poor search visibility, broken mobile layouts, or unappealing social sharing previews.

Open Graph and Twitter Card Tags Explained

Open Graph (OG) tags, originally created by Facebook, control how your content appears when shared on social platforms including Facebook, LinkedIn, Pinterest, and messaging apps. The four essential OG tags are og:title, og:description, og:image, and og:url. Twitter Card tags serve a similar purpose specifically for Twitter/X, with twitter:card, twitter:title, twitter:description, and twitter:image being the key tags. When Twitter Card tags are missing, Twitter falls back to OG tags, but having both ensures optimal display on all platforms. The og:image should be at least 1200x630 pixels for high-quality previews.

Common Meta Tag Mistakes and How to Avoid Them

The most frequent meta tag mistakes include: duplicate title tags across multiple pages (each page needs a unique title), meta descriptions that are too short or duplicated (write unique, compelling descriptions for every page), missing Open Graph images (always include an og:image for social sharing), incorrect canonical URLs pointing to the wrong page version, and viewport tags that disable user scaling. Other pitfalls include using meta keywords (ignored by Google since 2009), setting noindex on pages that should be indexed, and using hreflang tags incorrectly for multilingual sites. Regular auditing with a meta tag inspector catches these issues before they impact your SEO performance.
Examples

Worked Examples

Example: Auditing a Blog Post for Missing Social Tags

Given: A blog post that shows a blank preview when shared on Facebook and Twitter.

1

Step 1: View the page source and paste the <head> section into the inspector.

2

Step 2: The inspector shows title and description are present but all Open Graph tags (og:title, og:description, og:image, og:url) and all Twitter Card tags are missing.

3

Step 3: Add the missing OG and Twitter Card tags to the page template, using the existing title and description values plus a featured image URL.

Result: SEO score improves from 38% to 100%. Social shares now display rich previews with the correct title, description, and featured image on all platforms.

Example: Fixing Title and Description Length Warnings

Given: A product page with a title tag of 95 characters and a meta description of 80 characters that is underperforming in search results.

1

Step 1: Paste the HTML into the inspector. The tool flags the title as too long (95 chars, recommended 50-60) and the description as too short (80 chars, recommended 150-160).

2

Step 2: Rewrite the title to focus on the primary keyword and brand, trimming to 58 characters.

3

Step 3: Expand the meta description to 155 characters, adding a clear value proposition and call to action.

Result: Both tags now fall within recommended ranges. The title displays fully in search results without truncation, and the longer description provides more context to searchers, improving click-through rate.

Use Cases

Use cases

Pre-Launch SEO Audit

Before launching a new website or landing page, paste the HTML into the inspector to verify that all essential meta tags are present and correctly configured. This catches common oversights like missing Open Graph images that would result in blank previews when shared on social media, or missing viewport tags that hurt mobile rankings. Running this check as part of your launch checklist prevents embarrassing gaps that could take days to notice through organic traffic drops.

Social Media Preview Debugging

When your links look wrong on Facebook, Twitter, or LinkedIn, paste the page HTML to quickly identify which Open Graph or Twitter Card tags are missing or malformed. The inspector shows exactly which social sharing tags are present and their content, eliminating the guesswork of debugging social previews. This is faster than using platform-specific debuggers since you can check all platforms at once.

Competitor SEO Analysis

View the source of competitor pages and paste it into the inspector to understand their meta tag strategy. See how they structure their title tags, what descriptions they use, and which structured data they implement. This intelligence helps you craft better meta tags for your own pages by learning from what works in your niche. You can compare SEO scores across multiple competitor pages to benchmark your own optimization efforts.

Frequently Asked Questions

?What meta tags does the inspector check?

The inspector analyzes the title tag, meta description, viewport, charset, canonical URL, all Open Graph tags (og:title, og:description, og:image, og:url), and all Twitter Card tags (twitter:card, twitter:title, twitter:description, twitter:image). It also detects any additional meta tags present in your HTML.

?How is the SEO score calculated?

The SEO score is a percentage based on the presence of essential tags. It checks 13 key elements: title, description, viewport, charset, canonical URL, four Open Graph tags, and four Twitter Card tags. Each present tag adds to your score. Tags with length warnings (like too-short titles) still count as present.

?What is the recommended title tag length?

Google typically displays 50-60 characters of a title tag in search results. Titles shorter than 30 characters may not provide enough context, while titles longer than 65 characters get truncated. Aim for 50-60 characters to maximize visibility and click-through rates.

?What is the recommended meta description length?

Meta descriptions should be between 150-160 characters. Google may display up to 155-160 characters on desktop and slightly less on mobile. Descriptions shorter than 120 characters may miss an opportunity to convey your page's value, while longer ones get cut off.

?Is my HTML data private when using this tool?

Yes, completely private. All analysis runs entirely in your browser using JavaScript. Your HTML is never sent to any server, never stored, and never logged. You can safely inspect pages containing sensitive information or proprietary code.

?Is this meta tag inspector free?

Yes, 100% free with no registration required, no usage limits, and no data collection. Use it as many times as you need for any number of pages.

?Why are Open Graph tags important?

Open Graph tags control how your page appears when shared on Facebook, LinkedIn, and other social platforms. Without proper OG tags, platforms will guess your title, description, and image, often producing unappealing previews that reduce click-through rates from social shares.

?What is a canonical URL and why does it matter?

A canonical URL tells search engines which version of a page is the primary one. This prevents duplicate content issues when the same page is accessible via multiple URLs (with/without www, HTTP/HTTPS, query parameters). Missing canonical tags can split your page authority across multiple URLs.

Related Tools

Recommended Reading

Recommended Books on SEO & Meta Tags

As an Amazon Associate we earn from qualifying purchases.

Boost Your Capabilities

Professional Products for Web Developers

As an Amazon Associate we earn from qualifying purchases.

How do you like this tool?

Newsletter

Get Free Productivity Tips & New Tools First

Join makers and developers who care about privacy. Every issue: new tool drops, productivity hacks, and insider updates — no spam, ever.

Priority access to new tools
Unsubscribe anytime, no questions asked