DevTools Logo

Meta Tag Generator

Meta Tag Generator

Generate SEO-friendly meta tags for your website.

Website Information

Enter your website details to generate tags.

0/60

0/160

Examples

A complete meta-tag block

Input
Title: My Awesome Site
Description: A demo site for SEO meta tag generation.
Keywords: seo, meta tags, tools
Author: MrYesiller
URL: https://example.com
Image: https://example.com/cover.jpg
Output
<!-- Standard Meta -->
<title>My Awesome Site</title>
<meta name="description" content="A demo site for SEO meta tag generation." />
<meta name="keywords" content="seo, meta tags, tools" />
<meta name="author" content="MrYesiller" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://example.com" />
<meta property="og:title" content="My Awesome Site" />
<meta property="og:description" content="A demo site for SEO meta tag generation." />
<meta property="og:image" content="https://example.com/cover.jpg" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://example.com" />
<meta property="twitter:title" content="My Awesome Site" />
<meta property="twitter:description" content="A demo site for SEO meta tag generation." />
<meta property="twitter:image" content="https://example.com/cover.jpg" />

Each social network reads its own block — Facebook and LinkedIn consume Open Graph, X (Twitter) prefers the twitter:* card set. Repeating the title/description in every block keeps each network happy.

Long title gets the live counter

Input
Title: A Very Long Marketing Title That Definitely Exceeds The Sixty Character SEO Recommendation
Output
<!-- Standard Meta -->
<title>A Very Long Marketing Title That Definitely Exceeds The Sixty Character SEO Recommendation</title>
...

The input field caps at 60 characters and the counter shows n/60. Google truncates SERP titles around 580–600 px, which usually lands near 50–60 characters — staying under the cap avoids the … cut-off.

Empty fields are still emitted

Input
Title: (empty) · Description: (empty) · Image: (empty)
Output
<title></title>
<meta name="description" content="" />
<meta property="og:image" content="" />

The generator emits every tag regardless of whether the field is filled in. If you don't need a tag, remove the line from the output before pasting — the alternative would silently skip fields and leave the document inconsistent.

About this tool

Meta tags are the HTML <meta> and <title> elements that describe a page to search engines, social networks and link previews. The classic <meta name="description"> and <meta name="keywords"> still influence SERP snippets, while Open Graph (og:type, og:title, og:image) and Twitter Card tags drive the rich previews shown when a link is shared on Facebook, LinkedIn, Slack, Discord, iMessage, X and most other modern surfaces.

This generator assembles the standard set in one block: a <title>, the meta name description/keywords/author tags, the Open Graph set (type, url, title, description, image), and the Twitter Card set (card=summary_large_image plus matching url/title/description/image). Copy the result straight into your <head>.

Live character counters on title and description help you stay within Google's recommended 60-character title and 160-character description limits, so the SERP snippet doesn't get truncated. Everything is generated in the browser — your site details never leave the page.

How to use

  1. Fill in your site details

    Type the site title (max 60 characters), description (max 160), keywords, author, the canonical URL and the cover image URL.

  2. Watch the character counters

    Title and description show live counts so you can trim before the SERP snippet is truncated.

  3. Copy the generated HTML

    Hit the copy button next to the output panel and paste the block into the <head> of every page that should share this metadata.

Use cases

Adding SEO meta to a static site

Drop the generated block into your shared <head> partial so every page inherits the same description, keywords, Open Graph and Twitter Card tags.

Fixing missing social-link previews

If a link shared on Slack or iMessage shows no image, og:image or twitter:image is missing or its URL is wrong — generate a complete block and replace the existing tags.

Sharing a landing page on LinkedIn / Facebook

Open Graph needs og:type, og:title, og:description and og:image at minimum. Copy the OG block from the generator, paste it into the page, and use LinkedIn's Post Inspector to confirm.

Auditing what tags a page already has

Compare your existing <head> to the generator output to spot missing og:url, missing author tag, or unescaped ampersands in descriptions.

What gets generated

GroupTags emitted
Standard<title>, description, keywords, author
Open Graphog:type=website, og:url, og:title, og:description, og:image
Twitter Cardtwitter:card=summary_large_image, twitter:url, title, description, image

The Open Graph and Twitter Card blocks share the same title/description/url/image — change them in one place and the output updates everywhere.

Common mistakes

Mistake:Setting only <title> and <meta name="description"> and expecting rich social previews.

Fix:Open Graph and Twitter Card tags are separate blocks — without og:image or twitter:image, most platforms show a blank or generic thumbnail.

Mistake:Using non-absolute URLs in og:image / twitter:image.

Fix:Image URLs must be absolute (https://example.com/cover.jpg). A relative /cover.jpg is rejected by most social crawlers.

Mistake:Writing a 200-character description.

Fix:Search engines truncate snippets around 155–160 characters. Use the live counter and trim your copy.

Mistake:Including an unescaped & in any content= attribute.

Fix:Ampersands inside attribute values must be &amp; — most renderers tolerate the raw & but the HTML validator will flag it and some strict crawlers refuse the page.

Frequently asked questions

References & standards