Skip to content

BLOG

SEO Meta Tags Explained: What They Do and How to Write Them

Meta tags are invisible to visitors but critical for how search engines understand, index, and display your pages. They are also the first impression your site makes in search results, since the title tag and meta description form the snippet that users see before deciding whether to click. This guide covers every meta tag that matters for SEO, explains which ones are myths, and shows you how to write them effectively.

The Title Tag

The title tag is the single most important on-page SEO element. It appears in the browser tab, in search result snippets, and when someone shares your link on social media. Google uses it as a strong ranking signal.

Best practices for title tags:

  • Keep it under 60 characters. Google truncates titles longer than about 580 pixels, which is roughly 60 characters. Truncated titles lose information and look unprofessional.
  • Put your primary keyword near the beginning. Search engines give more weight to words that appear early in the title.
  • Make it descriptive and specific. "Home" is a wasted title. "Free Online JSON Formatter | FastTool" tells both users and search engines exactly what the page offers.
  • Avoid keyword stuffing. "JSON Formatter, JSON Validator, JSON Beautifier, JSON Tool" looks spammy and may trigger a manual penalty.

The Meta Description

The meta description does not directly affect rankings, but it heavily influences click-through rate (CTR), which indirectly affects your position over time. Google shows the description in search results when it matches the query.

  • Aim for 150-160 characters. Shorter descriptions waste space; longer ones get cut off.
  • Include a call to action. Phrases like "Learn how," "Discover why," or "Try our free tool" encourage clicks.
  • Include your target keyword naturally. Google bolds matching words in the snippet, drawing the searcher's eye.
  • Write unique descriptions for every page. Duplicate descriptions across pages signal low-quality content.

A Meta Tag Generator helps you craft titles and descriptions with character count feedback, so you know immediately when you exceed the recommended length.

The Robots Meta Tag

The robots meta tag tells search engine crawlers whether to index a page and whether to follow its links. The default behavior (without the tag) is to index and follow everything. You use the robots tag to override this:

  • noindex prevents the page from appearing in search results. Use it for admin pages, thank-you pages, or staging environments.
  • nofollow tells crawlers not to follow links on the page. Rarely used on an entire page; more common on individual links.
  • noarchive prevents Google from showing a cached version of the page.
  • max-snippet:-1 allows Google to show any length of text snippet. You can limit it with a character count if you prefer shorter previews.

The Canonical Tag

The canonical tag is not technically a meta tag (it is a link element), but it is critical for SEO. It tells search engines which URL is the "official" version of a page when the same content is accessible through multiple URLs. Without it, search engines may split ranking signals across duplicate URLs, weakening all of them. Every page should have a self-referencing canonical URL.

Open Graph Tags for Social Sharing

When someone shares your URL on Facebook, LinkedIn, Twitter/X, or messaging apps, the platform fetches Open Graph (OG) meta tags to build a preview card. The essential OG tags are:

  • og:title — The headline shown in the preview card.
  • og:description — A short summary below the title.
  • og:image — The preview image. Use at least 1200x630 pixels for best results across platforms.
  • og:url — The canonical URL of the content.
  • og:type — "website" for homepages, "article" for blog posts.

Without OG tags, platforms try to guess what to display, often with poor results: wrong images, truncated text, or no preview at all. An OG Image Preview tool lets you test how your URL will look when shared before you publish.

Twitter Card Tags

Twitter/X has its own set of meta tags that override OG tags when present. The most useful is twitter:card, which can be "summary" (small image) or "summary_large_image" (large banner image). If you do not include Twitter-specific tags, the platform falls back to OG tags, so at minimum ensure your OG tags are set correctly.

The Robots.txt File

While not a meta tag, the robots.txt file works alongside the robots meta tag to control crawler behavior at the site level. It specifies which directories or files crawlers should avoid. A properly configured robots.txt prevents search engines from wasting crawl budget on utility pages, API endpoints, or asset directories. A Robots.txt Generator creates a valid file with the correct syntax for common CMS platforms and static sites.

Meta Tags That Do NOT Affect SEO

Several meta tags are widely believed to affect rankings but do not:

  • meta keywords. Google has ignored this tag since 2009. Do not waste time on it.
  • meta author. Useful for internal tracking but has no ranking impact.
  • meta revisit-after. Crawlers ignore this entirely and crawl on their own schedule.
  • meta rating. Used to flag adult content but does not affect rankings for general sites.

A Practical Meta Tag Checklist

For every page on your site, verify:

  1. Title tag is unique, under 60 characters, and includes the primary keyword.
  2. Meta description is unique, 150-160 characters, and includes a call to action.
  3. Canonical URL points to the correct version of the page.
  4. Robots tag is set correctly (index/noindex as appropriate).
  5. OG tags are present with a proper image, title, and description.
  6. Robots.txt does not accidentally block important pages.

Use a Meta Tag Generator to build all of these tags with proper formatting, then validate the output against your live pages.

All SEO tools on FastTool run in your browser with no signup or data collection. Explore the full collection of 350+ free tools.

Sponsored