Meta Tags Generator
AI-poweredGenerate the SEO, Open Graph and Twitter Card meta tags for a page, with a link preview. An AI model can suggest the title and description from a brief.
Replaces the title, description and their OG and Twitter variants below. The other fields are left alone.
Page details
example.com
How OKLCH Replaces HSL
A practical migration guide for modern color systems.
<title>How OKLCH Replaces HSL</title> <meta name="description" content="A practical migration guide for modern color systems."> <link rel="canonical" href="https://example.com/oklch-guide"> <meta name="theme-color" content="#0a0a0a"> <meta name="robots" content="index, follow"> <meta property="og:type" content="article"> <meta property="og:title" content="How OKLCH Replaces HSL"> <meta property="og:description" content="A practical migration guide for modern color systems."> <meta property="og:url" content="https://example.com/oklch-guide"> <meta property="og:image" content="https://example.com/og/oklch.png"> <meta property="og:site_name" content="Example"> <meta property="og:locale" content="en_US"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="How OKLCH Replaces HSL"> <meta name="twitter:description" content="A practical migration guide for modern color systems."> <meta name="twitter:image" content="https://example.com/og/oklch.png"> <meta name="twitter:site" content="@example">
01 · Definition
What are meta tags?
Meta tags are elements in a page's <head> that describe the page to search engines, browsers and the apps that build link previews. The title and meta description feed the search result, Open Graph tags such as og:title and og:image feed previews in social and chat apps, and twitter: tags set the card shown on X.
02 · Overview
How the Meta Tags Generator works
Build the meta tag block for a page: title, description, canonical, robots, theme color, Open Graph tags (type, title, description, url, image, site name, locale), article:published_time for articles, and Twitter card tags. Fill the fields in yourself, or describe the page and let an AI model (Claude) suggest the title and description. Empty fields are left out of the output and flagged. The tool does not fetch your URL; it works from what you type.
03 · Guide
Open Graph tags: which are required?
The Open Graph protocol names four properties as required for every page: og:title, og:type, og:image and og:url. The rest are optional. This tool always writes og:type and writes each of the others when its field is filled in, so fill in the title, URL and image to cover the required four.
og:title and og:description fall back to the page title and description unless you enter separate social versions. article:published_time is added only when the type is article and a date is entered.
| Property | Status in the protocol | What it holds |
|---|---|---|
| og:title | Required | The title as it should appear in a preview |
| og:type | Required | The kind of object, such as website or article |
| og:image | Required | URL of the preview image |
| og:url | Required | The canonical URL of the page |
| og:description | Optional | A one to two sentence description |
| og:site_name | Optional | The name of the site the page belongs to |
| og:locale | Optional | language_TERRITORY; the default is en_US |
04 · Guide
How long should a title tag and meta description be?
Google sets no limit on either. Its documentation says there is no limit on how long a <title> element or a meta description can be, and that the title link and the snippet are truncated in search results as needed, typically to fit the device width.
The 50 to 60 character range for titles and 140 to 160 for descriptions that this tool marks as good are working targets chosen to keep most text visible. They are not Google rules. The counter under each field shows the length as you type and marks it short, good or long.
05 · Use cases
When to use the Meta Tags Generator
- 01
Add the right social preview tags to a marketing page
- 02
Generate the full meta block for a new blog post
- 03
Get an AI-suggested title and description from a one-line page brief
- 04
Sanity-check that title length, description length, and OG image are all set
06 · Examples
Meta Tags Generator examples
Title: How OKLCH Replaces HSL · Description: A practical migration guide for modern color systems. · Image: https://example.com/og/oklch.png
ex 01<title>How OKLCH Replaces HSL</title> <meta name="description" content="A practical migration guide for modern color systems."> <meta property="og:title" content="How OKLCH Replaces HSL"> <meta property="og:image" content="https://example.com/og/oklch.png"> <meta name="twitter:card" content="summary_large_image">
Excerpt of the block for the built-in example, ready to paste into <head>.
AI suggest: pricing page for a developer tool, friendly tone
ex 02A suggested title and description, plus Open Graph and Twitter variants, filled into the form
The model is asked for a 50-60 character title and a 140-160 character description. Edit them before copying.
Robots: noindex, nofollow
ex 03<meta name="robots" content="noindex, nofollow">
Blocks indexing at the page level, for a staging page. robots.txt alone does not do this.
OG type: article · Published date: 2026-08-27
ex 04<meta property="og:type" content="article"> <meta property="article:published_time" content="2026-08-27">
Choosing the article type shows a Published date field and adds article:published_time.
07 · FAQ
Meta Tags: frequently asked questions
What's the ideal title and description length?
Do I need both OG and Twitter Card tags?
Where do these tags go?
What size should the OG image be?
Does the meta description affect rankings?
What is the canonical tag for?
Can it read my page and fill the tags in from the URL?
What happens to the brief I type?
08 · Reference
Specs and further reading
These are the primary sources this tool follows. Where a specification defines the behaviour, we link the specification, not a summary of it.
- The Open Graph protocol
Open Graph. The og: property vocabulary used by most social and chat link previews.
- The meta element
WHATWG. The normative definition of name, property, and content attributes.
- Control your snippets in search results
Google. How Google uses the description tag when generating a result snippet. States that a meta description has no length limit and is truncated as needed.
- Influencing your title links in search results
Google. States that a <title> element has no length limit and that the title link is truncated as needed, typically to fit the device width.
- Images in Link Shares
Meta. Facebook's image requirements for link previews: at least 1200×630 for high-resolution displays, 200×200 minimum, 8 MB maximum, 1.91:1 aspect ratio.
09 · More
Tools that pair with Meta Tags
Favicon Generator
Make a favicon from text, an emoji or an image. Get a zip with favicon.ico, six PNG sizes from 16 to 512 px, site.webmanifest and the HTML link tags.
Slug Generator
Convert a title into a URL slug as you type. Choose hyphen or underscore, case and a maximum length; accents become ASCII. One title per line for bulk.
Open Source License Generator
Pick MIT, Apache 2.0, GPL v3, BSD, ISC, MPL 2.0, Unlicense or CC0. Get the full LICENSE file to copy or download.
.gitignore GeneratorAI-powered
Pick from 21 stack templates or describe your project in plain English. Get a labelled, deduplicated .gitignore to copy or download.
Robots.txt Generator
Build a robots.txt file with Allow and Disallow rules per crawler, sitemap lines and presets for blocking AI training bots. Copy or download it.
UTM Link Builder
Add utm_source, utm_medium, utm_campaign and other UTM parameters to a URL. The tool keeps existing parameters and #fragments and encodes values.