Meta Description Tag: What It Is, How Long It Should Be and How to Fix It
Add, check and fix the meta description tag so search results can show a clear summary of your page.
Free to use 16 min read Updated Oct 2026
Meta Description Tag: The Quick Answer
Quick answer: The meta description tag is a meta element in the head of a page whose content attribute holds a short summary that search engines may show under your title link. Our report wants exactly one such tag, with 50 to 160 characters of text, and it marks a missing, empty or repeated tag as failed.
- Pass: One meta description tag whose text is 50 to 160 characters long once the spaces at both ends are trimmed.
- Fail: No tag, a tag with no text, or two or more tags. A single tag that is too short or too long is a warning, not a failure.
- Fix: Print one tag in the head of the page and aim for about 110 to 155 characters.
The check is free and needs no account, so run it on the live page before you touch anything.
What Is a Meta Description Tag in HTML?
A meta description is a single meta element placed inside the head of an HTML document. Its name attribute is set to description and its content attribute carries the text. You may also see it called the description meta tag, the HTML meta description or the page description. Visitors never see it on the page itself. It exists for machines: Googlebot, Bing, link previewers and other crawlers read it as a ready-made summary of what the page offers.
<meta name="description" content="Short summary of this page.">That is the whole syntax. It belongs in the HTML head section, the part of the document that holds the title and other page metadata. The meta description element is a void element in HTML, so there is no closing tag and nothing to wrap.
The tag has a narrow job. The clickable headline in search results usually comes from the title element, and the description plays the supporting role underneath it. Because the two are read together, you write them as a pair. If you want to check the headline half first, our meta title check covers it.
The HTML Standard sets one firm rule: a document must not contain more than one meta element named description, and the name is compared without regard to letter case (see the HTML Standard description rule). Two tags in one page are therefore invalid markup, not a style choice.
Meta description vs title and og:description
The title is the headline and the description is the sentence or two that backs it up. The old meta keywords tag is a different thing entirely and carries no weight with Google today. The og:description property belongs to the Open Graph protocol and feeds social cards, and Twitter Cards have a description of their own as well. Both are covered by a separate check in our report. A page excerpt inside your CMS is also separate, because it only becomes a meta description if your theme or plugin copies it into the head.
Does the Meta Description Tag Affect SEO?
Not as a ranking signal. Google has long said it does not use the description tag as a ranking input, and its snippet documentation describes the tag only as one possible source of the snippet. What it can change is the snippet: the few lines of text under your title link. A clear search snippet helps the people who already see your result decide whether to click, so the gain shows up as a better click-through rate (CTR) on your search listing, not as a jump in position. You can watch organic click-through per page in Google Search Console.
It also helps to know how Google treats it. The Google snippet guidelines explain that snippets are built mostly from the content on the page, and that the meta description is used only some of the time, when it describes the page better than the visible text does. The same documentation asks for a unique description on every page rather than one copied across the site, and it says long runs of keywords are less likely to be shown.
Google can show a different snippet for each search on the same URL, because it swaps in whichever passage fits the query best. A snippet that changes from week to week is therefore normal, and a good description only raises the odds that your wording appears.
That explains a common complaint: a meta description not showing in Google although the tag is fine. A pass in our report means the tag is well formed, not that Google will print it, because page text that answers the query more directly can win, and a changed description stays hidden until Google recrawls.
Length matters only a little here: a truncated snippet ends in an ellipsis, which is not an error. To control display directly, the nosnippet robots directive, the max-snippet value and the data-nosnippet attribute exist, and they work separately from this tag.
Some social platforms may also fall back to the page description when og:description is missing, although behavior differs. For the craft of writing a description that earns clicks, read our meta description writing guide. This page stays with the tag and the test.
How SEO Site Checker Tests Your Meta Description Tag
Our report reads the page the way a browser builds it, then applies one fixed rule. The table below lists every outcome, what triggers it and what you see on screen.
| Result | What triggers it | What the report shows |
|---|---|---|
| Passed | One tag, 50 to 160 characters inclusive | A green tick, a line saying the page uses a good meta description tag, the saved text and its length |
| Warning | One tag with 1 to 49 characters | An amber result and the How to Fix button |
| Warning | One tag with 161 characters or more | An amber result and the How to Fix button |
| Failed | No matching tag found | A red result and the How to Fix button |
| Failed | One tag whose content attribute is missing, empty or only spaces | A red result and the How to Fix button |
| Failed | Multiple meta description tags | A red result, the How to Fix button and a flag in the Google preview card |
What the report reads
A headless Chromium browser opens your URL, waits for the load event and takes the page as it stands at that moment. Tags that your scripts add before load are therefore visible to the check, while tags injected later may be missed. An HTML parser then searches every meta element in the document, not just the head, and keeps those whose name attribute is exactly description. A tag written as name="Description" with a capital D is not matched today.
Characters are counted after the spaces at both ends are trimmed. Inner spaces count, and HTML entities such as an ampersand escape count as the single character they decode to, so the length is measured on the decoded text and not on the raw source.
Passed, warning and failed
The rules are short. One tag of 50 to 160 characters passes, one tag outside that band warns, and no tag, an empty tag or two or more tags fail. The quirks below are what tends to surprise people when they read a result.
- Several tags. The character count on screen can add their text together, so trust the failed status and ignore the number.
- Empty tag. A tag with an empty content attribute gets the same missing message as a page with no tag, even though the element is present.
- The preview card. The Google preview card in the report cuts the shown text at 160 characters and flags a page where it found several tags.
- AI readiness. The AI readiness list in our report has a meta description line that only passes when this check passes. A tag that is merely too long or too short can therefore show as failed there even though the tag exists, and the message may read as if it were missing. Fix the length and both results clear.
- Placement. The check does not look at where the tag sits, so one in the body or a noscript block still passes even though it belongs in the head.
Bot protection can also skew the result. If a challenge screen answers our audit instead of your page, the description judged is the one on that screen, so a surprising result on a protected site deserves a second look.
Where 50 to 160 comes from and what we skip
A similar band appears in the federal meta description standard published for US government websites, which Digital.gov currently marks as pending. The same standard also requires a unique description on every page, and it makes 50 characters the minimum a page must meet and offers 50 to 160 as a tip, because longer descriptions often get truncated on results pages. Our floor of 50 and ceiling of 160 follow that guidance, although only the floor is a hard requirement there. Lighthouse is more lenient, because it fails only a missing or empty tag. Our report is stricter on length and on duplicates.
The check does not measure pixel width, keyword fit, relevance or whether the text is unique across your site, and it can't tell you what Google finally shows. Open Graph and Twitter descriptions belong to the separate social media meta tags check. The keyword table in the report only reads the first description tag to mark which frequent words appear in it.
- Pass: Shown as a green tick with the saved text and its length.
- Warning: The tag exists, but the How to Fix button still appears.
- Fail: Shown in red, and a duplicate also gets a flag in the Google preview card.
- Not tested: Pixel width, keyword fit, relevance, site-wide uniqueness and the snippet Google really displays.
How to Check the Meta Description Tag on Any Page
You have four quick ways to look at the tag, and you can use them in any order. The first two work on a page you don't own as well as your own.
- View page source. Open the page and press Ctrl+U, or Cmd+Option+U in Chrome on a Mac. Search the source for name="description" and read the content value.
- Ask the console. Open Chrome DevTools, switch to the Console and run the two lines shown below the list. The first should return 1 and the second returns the trimmed character count. The DevTools Elements panel also shows the tag inside the head after scripts have run.
- Use the analyzer. Paste the URL into the Meta Tag Analyzer to see the text and its length. That tool reads the raw source and grades 80 to 160, not 50 to 160, so it may be stricter than our report.
- Run the full report. Read the Meta Description row, which follows the rules in the table above. For a walkthrough of every other tag in the head, see our guide to meta tags.
document.querySelectorAll('meta[name="description"]').length
document.querySelector('meta[name="description"]').content.trim().lengthIf the first line prints 0, nothing matched, so skip the second line, which would throw a TypeError because there is no tag to read. If it prints 2 or more you have a duplicate, and the second line then reports only the first tag, so fix the duplicate before trusting the length. The console sees the live page after scripts have run, so a tag injected by JavaScript appears there but not in view-source. That gap matters: a crawler or social scraper that skips scripts sees the view-source version, and our audit reads the page right after the load event, so a tag added later may be missed.
How to Fix a Missing, Empty or Duplicate Meta Description Tag
The fix is almost always small. What takes time is finding which template, theme file or plugin owns the tag. If you would rather not write the markup by hand, the Meta Tag Generator builds a valid tag you can paste.
- Find the source. Look in the page template, the theme header, the SEO plugin field or the CMS box where editors type a description. View the source to see whether the tag prints once or twice.
- Add or repair the tag. Put one meta element inside the head with real summary text in the content attribute. Never leave the attribute out or empty, because an empty description counts as a failure.
- Remove the extra tag. Keep a single source, usually the SEO plugin, and delete the hard-coded tag from the theme header file.
- Fit the length. Rewrite the text so it lands between 50 and 160 characters, with the main point first. Aim for 110 to 155.
- Save and re-test. Clear the page cache and any server cache, reload the source and run the report again.
Pro tip: Write a different description for each page. On a large site, build it from a template that uses fields such as the product name or the category, then let editors override it on the pages that matter most.
Missing or empty tag
Add a single line inside the head, with text that says what the page is and who it helps. You must escape double quotes in the attribute value, because a raw one ends the attribute early and cuts your text short. The simplest habit is to use single quotes or rephrase, and " works if you need the character. This is also the fix when a template left the field blank.
<head>
<title>Free Website SEO Checker</title>
<meta name="description" content="Run a free SEO check on any page and see which fixes matter most, from titles and descriptions to speed and links.">
</head>Two or more tags
Search the page source, find both lines and work out which system prints each one. A theme that hard-codes a tag in header.php while an SEO plugin adds its own through wp_head is the classic case. Delete one source and keep the other, then confirm the console count returns 1.
<!-- Before: two tags, the check fails -->
<meta name="description" content="Welcome to our store.">
<meta name="description" content="Handmade leather bags and wallets, made to order and shipped worldwide within five days.">
<!-- After: one tag, the check passes -->
<meta name="description" content="Handmade leather bags and wallets, made to order and shipped worldwide within five days.">Too short or too long
A warning means the tag exists but its text falls outside 50 to 160 characters, so the description is too short or too long. Rewrite it so the useful part comes first, because a trimmed snippet loses its end, never its start. Count the characters with the console line from the previous section and stop trimming once you are comfortably inside the band.
The 110 to 155 target is deliberate. It clears our 50 character floor, the stricter 80 character floor of the Meta Tag Analyzer and our 160 character ceiling, so every tool shows green. Desktop results usually have room for roughly 155 to 160 characters, while narrower screens trim earlier, and Google publishes no exact figure, which is why the main point belongs in the first sentence.
How to Add a Meta Description Tag in WordPress, Shopify, Wix and HTML
Where you set the description depends on the platform. Menu names change from time to time, so treat the labels below as a map and check them against your own dashboard.
| Platform | Where to set it | Watch out for |
|---|---|---|
| Plain HTML | Edit the head of the file | Keep one tag only |
| WordPress | The snippet or SEO box of a WordPress SEO plugin such as Yoast SEO or Rank Math | If a second tag appears, search header.php and functions.php for a hard-coded one |
| Shopify | Search engine listing preview, via Edit website SEO on a page, product or collection | The home page is set under Online Store, then Preferences |
| Wix | The page's SEO settings, under the SEO basics section | Set it per page, not once for the whole site |
| Squarespace | The SEO tab of the page settings, in the SEO description field | Set it per page, then view the source to confirm that exactly one tag prints |
| Next.js | The description field of the exported metadata object in the App Router | Define it per route so pages do not all inherit one value |
Meta Description Tag Examples: Passing, Warning and Failing
Here is a tag of 126 characters that our report passes, followed by the cases that do not.
<meta name="description" content="Check a page for a clear meta description tag. See its length, fix a missing or doubled tag and test again with a free report.">It opens with the point and sits comfortably inside the range. The table lists how the report grades several variations.
| Tag | Characters | Report result |
|---|---|---|
| The 126 character example above | 126 | Passed |
| content="SEO tool" | 8 | Warning, below 50 |
| A single sentence of 190 characters | 190 | Warning, above 160 |
| Two description tags on one page | Not applicable | Failed |
| content="" | 0 | Failed |
| A tag with no content attribute | 0 | Failed |
| name="Description" with a capital D | Not applicable | Failed, reported as missing |
The last row deserves a comment. The HTML Standard compares the name without regard to case, so parsers should accept a capital D, but our report matches only the lowercase spelling today. Write it in lowercase and the question never comes up.
Common Meta Description Tag Mistakes to Avoid
- Two systems print a tag. A theme that hard-codes one and an SEO plugin that adds another is the usual cause of a failed result, and the fix section above shows how to remove one.
- The tag arrives late. Google renders JavaScript and will usually find a late tag eventually, but our audit, simple crawlers and social scrapers may not, so print the tag in the server-rendered HTML. If a tag shows only in the Elements panel and not in view-source, a script adds it late.
- One text on every page. Identical descriptions give searchers no reason to choose one of your URLs over another, so write each one for its own page.
- An unescaped double quote. A raw one ends the content attribute early, so your description is silently chopped at that point.
- Keyword stuffing or pasted body text. A summary should be written, not copied from the first paragraph or filled with repeated terms. Our keywords usage check shows which of your most frequent words appear in the description.
- Chasing the count. A line such as "Welcome to our website, the best in the business, with great service and great prices for every customer." runs 105 characters and passes the length test, yet it tells a searcher nothing. Reread the first sentence once the count is green. The full writing guide goes deeper on wording.
How to Fix
The short version, the same steps you see when you click How to Fix in your report.
Why this fails: The rendered page needs exactly one meta element with the name description, and its text must be 50 to 160 characters long after the spaces at both ends are trimmed. No tag, an empty tag or two or more tags fail, while a single tag outside that length range is a warning. The name value must be the lowercase word description, or the report will not see it.
How to fix it:
- Find where the tag is set. Check the page template, the theme header and the description field of your SEO plugin or CMS.
- Remove any second tag so that only one source prints it, since two tags fail the check outright.
- Add the tag if it is missing, or repair the one you kept, inside the head with a plain summary of the page, written for a person and not stuffed with keywords.
- Aim for about 110 to 155 characters, which clears the 50 to 160 band with margin. Avoid double quotes inside the value, since single quotes are always safe there, or write them as ".
- Save the change and clear the page cache and any server cache, so the live source shows the new tag.
<head>
<title>Free Website SEO Checker</title>
<meta name="description" content="Run a free SEO check on any page and see which fixes matter most, from titles and descriptions to speed and links.">
</head>Platform shortcuts:
- WordPress: use the description field in Yoast SEO or Rank Math, and check header.php if a second tag remains.
- Shopify: open Search engine listing preview on the page (Edit website SEO), or Online Store, then Preferences for the home page.
- Wix and Squarespace: set the SEO description in the page settings.
- Plain HTML: edit the head of the file.
Re-test: Open the page, then in the browser console run document.querySelectorAll('meta[name="description"]').length and confirm it returns 1. Next run document.querySelector('meta[name="description"]').content.trim().length and confirm the number is between 50 and 160. Then run the free SEO check again to see the green tick.
Frequently Asked Questions
How long should a meta description tag be?
Is the meta description tag a ranking factor?
Can a page have more than one meta description tag?
Does Google rewrite the meta description tag?
Where does the meta description tag go in HTML?
What happens if a page has no meta description tag?
How do I check the meta description tag of a website?
How do I add a meta description tag in WordPress?
See how your site scores right now
Paste your address into the free report, then use the How to Fix button on anything that needs work.
Free to use. Results in under a minute for most sites.