Meta Description Generator
Generate a meta description tag with character-count and focus-keyword checks.
Written by Golam Rabbani, Founder & Lead Engineer
How to use this meta description generator
- Write your description in the text area.
- Optionally enter a focus keyword to verify it appears in the description.
- Watch the character counter — the target band is 120–160 characters.
- Watch the focus-keyword indicator — it confirms the keyword is present (case-insensitive).
- Press Generate to emit a ready-to-paste <meta name="description"> tag.
About this meta description generator
The meta description generator produces the exact HTML tag Google reads for SERP snippets: <meta name="description" content="…">. The character counter highlights when you go below 120 (leaving SERP space unused) or above 160 (risking truncation). Internal whitespace is collapsed so accidental double spaces from copy-paste do not inflate the count. The content attribute is HTML-escaped so ampersands, quotes, and angle brackets in your description cannot break the head.
Worked example: description = "Format SQL queries in your browser with clause-per-line indentation, keyword case control, and instant copy — entirely client-side.", focus keyword = "sql formatter". The counter shows 137 characters (in target band) and the keyword indicator shows ✓. Press Generate and you get: <meta name="description" content="Format SQL queries in your browser with clause-per-line indentation, keyword case control, and instant copy — entirely client-side.">
Drop that into the <head> of your page. The tool is purely client-side, so even drafts you are still iterating on never leave the browser.
FAQ
- Why the 120–160 character target?
- Google's desktop SERPs display roughly 155–160 characters before truncating with an ellipsis. Below 120 leaves usable space empty. Hitting the middle of the band gives a description Google can show in full while leaving room for the brand or pipe segment Google sometimes appends.
- Will Google always use my meta description?
- No. Google often rewrites descriptions based on query relevance. A well-written description gets used more often, but you should treat it as a strong hint, not a contract.
- Does the focus-keyword check do anything for SEO?
- It checks presence only. Including the focus keyword in the description does not change rankings directly, but a matching keyword tends to get bolded in the SERP snippet, which lifts CTR.
- How are quotes inside my description handled?
- Double quotes are HTML-escaped to " so the surrounding content="…" attribute stays well-formed. Ampersands and angle brackets are escaped too. The escaped form renders correctly in the browser and is what crawlers actually read.
- Can I generate descriptions in non-English languages?
- Yes. The counter measures Unicode characters, not bytes, so CJK, Arabic, or Cyrillic copy is counted accurately. Targets stay the same since Google's pixel budget is similar across languages.
- Is my draft sent anywhere?
- No. The description and focus keyword stay in your browser. Nothing is uploaded or logged.