Free Tools

Meta Tag Generator

Generate HTML meta tags with a live search engine preview

About This Tool

Writing meta tags by hand and remembering to include both Open Graph and Twitter Card variants while staying under the right character limits is a chore that gets skipped or done badly.

Fill in title, description, URL, and image, and the generator produces the full set: standard meta description, Open Graph (og:title, og:description, og:image, og:url, og:type), and Twitter Cards (twitter:card, twitter:title, twitter:description, twitter:image). Character counters warn when you exceed Google's recommended title (60 char) or description (155 char) limits.

Facebook, LinkedIn, and most messaging apps read Open Graph. Twitter prefers Twitter Cards but will fall back to OG if the Twitter-specific tags are missing — which is why the generator outputs both rather than picking one.

The set of tags the generator produces maps to specific consumers. Standard meta description and title — Google, Bing, DuckDuckGo, and most search engines. Open Graph (og:* tags) — Facebook, LinkedIn, Slack, Discord, iMessage previews, and most chat apps. Twitter Cards (twitter:*) — only Twitter/X cares, and they fall back to OG when missing. Canonical link — search engines for deduplication. Each protocol came from a different vendor at a different time, which is why there's no single universal format.

The pain this avoids: shipping a page where the OG image is wrong size, the title is duplicated between og:title and meta title with slightly different text, and the LinkedIn preview shows your old logo because their cache is stale. Each of these requires a different validator (Facebook Sharing Debugger, Twitter Card Validator, LinkedIn Post Inspector) to confirm fixes propagated. Get the tags right the first time and you avoid this fix-revisit-fix loop.

Worked example: a blog post titled 'How to Set Up Postgres on a Raspberry Pi' with a 1200×630 hero image. The generator outputs: ```html <title>How to Set Up Postgres on a Raspberry Pi</title> <meta name="description" content="Step-by-step guide to installing Postgres on a Raspberry Pi 4..."> <meta property="og:title" content="How to Set Up Postgres on a Raspberry Pi"> <meta property="og:description" content="Step-by-step guide..."> <meta property="og:image" content="https://example.com/hero.jpg"> <meta property="og:url" content="https://example.com/postgres-pi"> <meta property="og:type" content="article"> <meta name="twitter:card" content="summary_large_image"> <link rel="canonical" href="https://example.com/postgres-pi"> ``` The duplication between og:title and standard title isn't a mistake — search and social parse different tags, and they need to be set explicitly.

Where this can mislead: Google has been pretty clear that meta keywords are dead and have been since 2009. The generator doesn't include them because they're useless and including them looks like you're following 2005 SEO advice. Google also occasionally rewrites your meta description to a snippet they generated from page content if they think theirs is more relevant — you can't force your description to display, you can only suggest it.

The about text and FAQ on this page were drafted with AI assistance and reviewed by a member of the Coherence Daddy team before publishing. See our Content Policy for editorial standards.

Frequently Asked Questions

Are Twitter Cards still needed if I have Open Graph?
Twitter falls back to OG when Twitter Cards aren't present, so you can get away with OG only. Specific Twitter features (large image cards, app cards) require Twitter Cards. For most sites, the fallback is enough.
What's the right image size?
1200×630 pixels works across all platforms — Facebook, LinkedIn, Twitter, Slack, Discord. Some platforms crop differently (Twitter shows 1.91:1, Facebook is similar), so keep important content centered. Aim for under 5MB so previews load quickly.
Why do my updates not show on Facebook?
Facebook caches OG data aggressively. Use their Sharing Debugger to fetch a fresh scrape after you update tags. Without that, the old preview can persist for days even if you've shipped new tags.
What does og:type actually do?
It tells consumers (Facebook, LinkedIn) what kind of object the page represents — website, article, product, video, etc. Most pages should be 'website' or 'article'. Article type unlocks additional fields like article:published_time and article:author.
Should I include a canonical URL?
Yes, especially if the page is reachable through multiple URLs (with/without query strings, www vs apex). It tells search engines which version is authoritative and prevents duplicate-content dilution.
What's a summary_large_image card?
Twitter's larger preview format. The image takes up more space, and the card looks closer to a Facebook OG preview. It's the default most sites should use unless you specifically want the smaller summary card. The image needs to be at least 300×157 pixels and under 5MB.
Will Google use my meta description verbatim?
Sometimes. They rewrite it about 70% of the time based on the user's query, choosing whichever snippet from the page seems most relevant. Your meta description is a suggestion, not a guarantee. Make it good anyway — when Google does use it, click-through rate matters.
Meta Tag Generator | Free Tools - Coherence Daddy