Skip to content

Meta Tag Generator

Generate complete HTML meta tags for SEO and social sharing. Preview how your page looks in Google, Facebook, and Twitter.

0/60
0/160
GENERATED HTML
🔍 Google Search Preview
📘 Facebook Share Preview
🐦 Twitter Card Preview

Related Tools

Character Counter Headline Analyzer SEO Content Analyzer Schema Markup Generator Robots.txt Generator URL Slug Generator

How to Use

  1. Enter Page Details — Fill in your page title and meta description (the counters flag titles over 60 characters and descriptions over 160, a common rule of thumb), page URL, and share image URL. Optional: site name, author, keywords, and robots directive.
  2. Preview Across Platforms — See live previews of how your page will appear in Google search results, Facebook shares, and Twitter cards. The previews update in real-time as you type. Character counters show title and description length with color warnings.
  3. Copy the Tags — Click Copy Meta Tags to copy the complete HTML code including title, meta description, canonical, Open Graph, and Twitter Card tags. Paste directly into your page's <head> section.

About the Meta Tag Generator

The Meta Tag Generator turns a few fields (title, description, page URL, share image and site name) into a ready-to-paste block of HTML for a page’s <head>: the title and description used by search engines, a canonical link, and the Open Graph and Twitter Card tags that social apps read when someone shares the link. Live mockups show roughly how the page could look in Google, on Facebook and on X. It suits anyone hand-coding a page or checking what their site builder should be producing.

What each field produces

FieldTags generated
Title<title>, og:title, twitter:title
Descriptionmeta name="description", og:description, twitter:description
Page URLlink rel="canonical" (when Canonical is ticked) and og:url
Share image URLog:image, twitter:image
Site name, author, keywordsog:site_name, meta name="author", meta name="keywords" (each only when filled in)
OG typeog:type: website, article, product, profile, video.other or music.song
Twitter card typetwitter:card: summary_large_image or summary
Robotsmeta name="robots" with index/noindex and follow/nofollow (always included)
Charset and Viewport boxesmeta charset="UTF-8" and the standard responsive viewport tag

Quotes, ampersands and angle brackets are escaped, so a title such as “Feed, Store & Revive” is written as Feed, Store &amp; Revive. The counters turn amber above 50 title characters or 140 description characters and red above 60 or 160. These are the tool’s rules of thumb, not limits set by Google.

Worked example

For a recipe-blog page we entered the title Sourdough Starter Guide: Feed, Store & Revive (45 characters), a 111-character description, the URL https://example.com/sourdough-starter, an https share image, the site name and OG type “article.” The output was 16 tags: charset, viewport, title, description, robots and canonical, six Open Graph tags and four Twitter Card tags. Both counters stayed green.

What Google says about these tags

From Google Search Central documentation, checked on 2026-10-14 (our title and meta description length guide has a pixel-width checker):

Limitations

Practical tips

Privacy: the tags and previews are built in your browser, and nothing you type is sent to WritePadPro; the only request is your browser loading an https share image from its host, without a referrer, to show it in the previews.

Frequently Asked Questions

What tags does this generator create?

It generates a complete set: charset, viewport, title tag, meta description, meta keywords (optional), meta author (optional), robots directive, canonical URL, Open Graph tags (og:type, og:title, og:description, og:url, og:image, og:site_name), and Twitter Card tags (twitter:card, twitter:title, twitter:description, twitter:image). All standard tags needed for proper SEO and social sharing.

What is the ideal title length?

Google does not set a length limit for titles, but it truncates title links in search results as needed to fit the device width, so long titles get cut off. As a rule of thumb, the counter stays green up to 50 characters, turns amber from 51 to 60 and red above 60. Put the words that identify the page first, and keep each page's title distinct and descriptive.

What is the ideal meta description length?

Google says there is no length limit for meta descriptions; snippets are truncated as needed to fit the device width, and Google builds snippets primarily from page content, using your description when it summarizes the page more accurately. The counter stays green up to 140 characters, turns amber from 141 to 160 and red above 160, as a rule of thumb. Write a unique, accurate summary for each page rather than a list of keywords.

How do the social previews work?

The Google preview simulates how your page appears in search results with the truncated title, URL, and description. The Facebook preview shows the share card with your OG image, title, description, and site name. The Twitter preview shows either a large image card or summary card based on your twitter:card selection. All previews update live as you edit.

What is Open Graph and why do I need it?

Open Graph (OG) tags control how your page appears when shared on Facebook, LinkedIn, WhatsApp, Slack, Discord, and many other platforms. Without OG tags, these platforms guess what title, description, and image to show — often incorrectly. With proper OG tags, you control the exact appearance of every share. The og:image tag is especially important as it provides the share card image.

Is my data sent to a server?

Your title, description, URL, and other fields are never sent to WritePadPro or any other service — tag generation and previews run locally in your browser. One thing to know: when you enter a share image URL starting with https://, your browser downloads that image from its host to show it in the previews, exactly as if you opened the image in a new tab, so that host sees a normal image request. No requests are made to Google, Facebook, or X, and the previews are mockups, not actual platform renders.