How to write meta tags that get clicks
Two lines of HTML decide whether anyone clicks your page in Google: the title and the meta description. Most pages get them wrong — the title is the site name, or a keyword stuffed into a sentence, and the description is whatever the first paragraph happened to be. Here is how to write a title and description that earn the click, what the other meta tags do, and how to generate the whole set in a minute with a free SEO meta tags generator for your website.
What each meta tag actually does
Meta tags are short lines of HTML in the head of a page. Visitors never see them on the page itself, but search engines and social platforms read them to decide what to show. Only four of them matter for clicks, and they do different jobs — confusing them is the first mistake.
Title and description
The title tag is the clickable blue headline in search results. It is the one meta tag that is also a ranking signal: Google uses it to understand what the page is about, and people use it to decide whether the page is worth opening. Google's title-link guidance says the same: title links are often the primary piece of information people use to decide which result to click. A good title does both jobs at once. The meta description is the grey summary underneath the headline. It does not change your ranking position — Google has said so plainly — but it is the closest thing you have to an advert for the page, and a clear description against a vague one is often the difference between a click and a scroll-past. Google's own guidance on meta descriptions describes them the same way: a short, relevant summary that acts like a pitch to convince the user the page is what they are looking for.
Open Graph and Twitter Card tags
The Open Graph tags (og:title, og:description, og:image) control the preview card when your link is shared on Facebook, LinkedIn and WhatsApp, and the Twitter Card tags do the same for X. They never appear in search results, so they do nothing for rankings — but a share with a proper image and a readable title gets opened far more often than a bare link. Write the title and description first, then let the Open Graph and Twitter tags reuse the same words, with an image sized for sharing.
Writing a title people click
Keep the title between 50 and 60 characters. Google measures the width of the text, not the character count, so a title full of wide capital letters can be cut off sooner — but 50 to 60 characters is the range that fits on desktop and mobile in practice. Put the main keyword and the benefit near the start, because if the end is trimmed, the important words must already have been read. The brand name goes at the end, not the beginning: nobody searches for your brand yet, and the first words are the ones that earn the click.
Every page needs its own title. Two pages with the same title compete with each other and confuse Google about which one to show, so write a fresh title per page even when the pages are similar. Say what the page actually delivers, in the words a searcher would use: "Free Invoice Generator — PDF Invoices in Minutes" tells a searcher everything in nine words, while "Home | Acme Ltd" tells them nothing. And resist the temptation to stuff the keyword in twice — one natural mention is enough, and a second one reads like spam to the person deciding whether to click.
Writing a description people click
Aim for 150 to 160 characters: one or two honest sentences that say what the page offers and why it is worth opening. The formula that works for most pages is simple — the benefit, the proof, and a gentle push: what you get, what makes it good, and what to do next. "Create a professional invoice in under two minutes — free, no sign-up, download as PDF. Try it now." That is 105 characters, and it answers the only three questions a searcher has: what is this, why this one, and what happens if I click?
Match the description to the page. If the description promises a free tool and the page asks for an email address first, people bounce straight back to Google — and that bounce tells Google the result was a bad match. Write a different description for every page, just as you do for titles, and never copy the first paragraph of the page as the description: the opening paragraph introduces a topic, while a description has to sell the click. When a page is updated, update the description with it — an old description advertising a feature you removed is a small lie that costs trust.
A worked example: before and after
Take a small bakery in Lahore that sells custom birthday cakes and has a page for ordering one. The original tags were typical: title "Welcome to Sweet Crumbs", description "Welcome to our website. We are a bakery and we make cakes, cupcakes, cookies and more. Visit us today!" The title says nothing a searcher would type, and the description is a greeting, not a reason to click.
The rewritten version: title "Custom Birthday Cakes in Lahore — Order Online | Sweet Crumbs" (59 characters, keyword first, city included, brand last), description "Order a custom birthday cake in Lahore — fresh, made to order, delivered in 24 hours. Prices from Rs. 2,500. Order online in two minutes." (148 characters, benefit, proof, price, and a clear next step). Nothing about the page changed — only the two lines Google shows — but the result now answers the search instead of greeting it. That is the whole job: match the words people search with, and give them a reason to choose your result over the nine others on the page.
Generate the tags and check the preview
- Draft the title and description first. Write them in plain text, count the characters, and read them aloud — if they sound like an advert, rewrite them; if they sound like a summary, they are ready.
- Build the tags with our Meta Tag Generator. Enter the title, page URL and description, then add a social image URL, page type and Twitter card type if you have them. The counters show the length as you type, against the ~60 and ~160 character guidance.
- Check the live previews before you publish. The generator shows a Google search preview and a social share preview side by side — a title that is cut off, or a description that ends mid-sentence, is easy to fix here and embarrassing to discover after the page is live.
- Paste the generated HTML into your page head. Copy the output and place it inside the <head> section, near the top. If the page already has a title element, replace it rather than adding a second one, and keep only one description.
- Verify after publishing. Search for the page after a few days and confirm Google is showing your title and description — Google sometimes rewrites descriptions from page content, and if it does, the page text itself probably needs a clearer opening.
Mistakes that cost clicks
The three most common mistakes
The most common mistake is the same title on every page — usually the site name, or the site name plus one word. Google may then show a title it invents itself, and invented titles are rarely better than a written one. The second mistake is keyword stuffing: "Buy Shoes, Cheap Shoes, Best Shoes Online, Shoes Sale" reads like spam and earns neither trust nor clicks. The third is the missing Open Graph image: a shared link with no image looks broken next to every other card in the feed, even if the title is good.
Three more to avoid
Three more to avoid: a description that is just the first paragraph of the page, a title that promises something the page does not deliver, and — the easiest to overlook — never updating the tags after the page changes. Treat the title and description as part of the page, not a one-time chore: when the offer, the price or the content changes, the two lines Google shows should change with it. Good meta tags do not guarantee rankings, but bad ones guarantee a wasted first impression — and the impression is the click.
Related guides
- How to Write a Meta Title — the title tag in depth: length, keyword placement and brand names.
- How to Write a Meta Description — the 160-character summary that decides whether searchers click.
- How to Check a Page for Basic SEO — a quick check of the tags, headings and links on any page.
Questions people ask
Do meta tags improve Google rankings?
The title tag does — it is a strong on-page ranking signal. The meta description does not change your position in the results, but it decides whether people click once they see you there. Open Graph and Twitter Card tags do not affect rankings either; they control the preview card when your page is shared. So meta tags earn clicks and shares, not positions — except for the title, which does both.
How long should a title tag be?
Aim for 50 to 60 characters. Google measures the space a title takes up, not the character count, so a title with many wide letters can be cut off sooner — but 50 to 60 characters is the practical range that fits on desktop and mobile. Put the main keyword and the benefit near the start, so the important words survive even if the end is trimmed.
How long should a meta description be?
Aim for 150 to 160 characters. Google usually shows about that much before cutting the text off with an ellipsis. These are guidelines, not hard limits — a slightly longer description still works, and Google sometimes rewrites descriptions from the page content anyway. The goal is a complete, honest sentence that fits, not a description squeezed to an exact count.
Do I still need the meta keywords tag?
No. Google has ignored the meta keywords tag for web search ranking for many years, and filling it in can reveal your keyword strategy to competitors who view your page source. Spend the effort on the title, the description, the canonical URL and the Open Graph tags instead — those are the ones that decide how your page looks in results and shares.