Meta Tag Generator
Generate complete HTML meta tags for SEO and social sharing. Preview how your page looks in Google, Facebook, and Twitter.
Related Tools
How to Use
- 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.
- 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.
- 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
| Field | Tags generated |
|---|---|
| Title | <title>, og:title, twitter:title |
| Description | meta name="description", og:description, twitter:description |
| Page URL | link rel="canonical" (when Canonical is ticked) and og:url |
| Share image URL | og:image, twitter:image |
| Site name, author, keywords | og:site_name, meta name="author", meta name="keywords" (each only when filled in) |
| OG type | og:type: website, article, product, profile, video.other or music.song |
| Twitter card type | twitter:card: summary_large_image or summary |
| Robots | meta name="robots" with index/noindex and follow/nofollow (always included) |
| Charset and Viewport boxes | meta 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 & 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):
- Title: there is no length limit, but title links are truncated as needed to fit the device width. Google asks for descriptive, concise titles that are distinct for each page, without repeated keywords or boilerplate (title links). Google may also build the title link from headings or other page text.
- Description: also no length limit, with snippets truncated to fit the device. Snippets come primarily from the page content; Google may use your meta description when it describes the page more accurately. Write a unique summary for each page, not a list of keywords (snippets).
- Keywords: Google Search does not use the keywords meta tag, and it has no effect on indexing or ranking (meta tags Google supports).
- Robots: indexing and following links is the default, so
index, followchanges nothing.noindexworks only if Google can crawl the page, so do not also block that page in robots.txt (robots meta tag). - Canonical: a strong signal, not a guarantee; Google may still pick a different URL. Use an absolute URL (canonical URLs).
Limitations
- The previews are mockups. The Google preview cuts the title at 60 characters and the description at 160, while Google itself truncates by display width and may rewrite both. Facebook and X may crop images and text differently.
- Nothing is checked online. The tool does not fetch your page, test that the URL works, or measure the share image.
- One URL is used twice. The page URL becomes both the canonical and
og:url, so enter the clean, preferred address without tracking parameters. - Shared links are cached. Social apps store link previews, so an updated image or title may not appear on links that were already shared.
Practical tips
- Check your page source first. Many site builders and SEO plugins already output these tags, and a second title, description or canonical creates conflicting signals.
- Put the words that identify the page at the start of the title, where they survive truncation.
- Use an absolute https:// URL for the share image; most platforms ignore relative paths.
- For writing the description itself, see How to Write Meta Descriptions That Get Clicks. To keep pages out of search, pair this tool with the Robots.txt Generator correctly: noindex here, and no Disallow for that page. For structured data, use the Schema Markup Generator.
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.