How I Built an AI-Powered Meta Tag Generator (And Why 90% of Sites Get OG Tags Wrong)

2026-06-07 ยท by MetaCraft

The Problem Nobody Notices

I was building a landing page last week and spent 45 minutes writing custom meta descriptions and Open Graph tags. 45 minutes. For metadata that nobody sees unless they inspect the page source.

Then I started noticing something: every time I pasted a URL into Slack, Discord, or Twitter, half the time there was no image, the description was gibberish, or the title was cut off.

Broken OG tags are everywhere.

The Stats Are Worse Than You Think

I checked 50 random landing pages from Product Hunt. 43 had missing or broken OG tags. That's 86% failure rate.

The most common issues:

What I Built

MetaCraft โ€” paste any URL, get optimized meta tags and a social card preview in 5 seconds. No signup, no account needed for the first 3 uses.

It reads the actual page content (not just the URL), understands the context, and generates human-readable meta descriptions that match the content. No keyword stuffing, no generic filler.

The Stack

How It Works Under the Hood

When you paste a URL into MetaCraft, here's what happens:

  1. Fetch the page โ€” HTTP request with proper user-agent, handles redirects
  2. Extract content โ€” Readability-style algorithm pulls the actual article text, title, and existing meta tags
  3. AI analysis โ€” The page content is sent to an LLM with a structured prompt that asks for optimized meta tags across all platforms
  4. Return structured data โ€” Meta title, description, OG tags, Twitter cards, and a social preview rendering

Why AI Works Well Here

Meta tag generation is actually a perfect use case for LLMs:

Lessons Learned

1. Social platforms render the same tags differently

Discord shows a large preview with full description. Slack shows a compact card. LinkedIn strips everything if the image isn't the right aspect ratio. Twitter needs explicit twitter:card tags even if you have OG tags.

2. Most page builders don't set OG tags correctly

Wix, Squarespace, Webflow โ€” they all handle meta tags differently. Some set og:title but not twitter:title. Some set og:image but use a tiny thumbnail.

3. AI does a surprisingly good job

I was skeptical about AI-generated meta descriptions, but when fed the actual page content, the outputs are consistently better than manually written ones โ€” they're more specific, include relevant keywords naturally, and fit within character limits.

Try It

MetaCraft is live at metacraft.tools โ€” free for 3 generations (no account needed), $9/mo for unlimited.

I built it because I was tired of manually checking OG tags. Turns out a lot of other devs have the same pain.

Try MetaCraft for free

Paste any URL, get perfect meta tags in 5 seconds.

โœจ Generate Meta Tags