How to Write Meta Tags for SEO (With Examples)

Meta tags are one of the easiest SEO wins. A well-written title tag and meta description can improve your click-through rate from Google — without changing anything else on your page.

Open Meta Tag Generator 100% free. No sign-up. Works in your browser.

Quick Answer

Write a title tag under 60 characters with your main keyword at the front. Write a meta description under 155 characters that tells searchers what they'll get. Use the free meta tag generator at dotsapps.com to preview and generate the code.

What Are Meta Tags and Why Do They Matter?

Meta tags are snippets of HTML that tell search engines and browsers about your page. The two most important ones for SEO are the title tag and the meta description.

The title tag appears as the clickable blue link in Google results. The meta description appears as the gray text below it. Together, they're your page's "ad" in search results.

Google uses the title tag as a ranking factor. The meta description doesn't directly affect rankings, but a compelling one increases clicks — which can indirectly boost your position over time.

How to Write a Great Title Tag

Follow these rules for effective title tags:

  • Under 60 characters. Google cuts off longer titles with an ellipsis.
  • Front-load your keyword. Put the most important keyword near the beginning.
  • Make it specific. "Best Running Shoes for Flat Feet (2026 Guide)" beats "Running Shoes."
  • Include your brand at the end if there's room: "... | YourBrand"

Examples of good title tags:

  • How to Remove Stains from White Shirts | CleanGuide
  • 10 Best Budget Laptops Under $500 (2026)
  • Free Invoice Template — Download PDF | DotsApps

How to Write a Meta Description That Gets Clicks

The meta description is your chance to sell the click. Think of it as ad copy:

  • 140-155 characters. Google truncates longer descriptions.
  • Include the main keyword. Google bolds matching search terms in the description.
  • Start with a benefit or answer. Tell people exactly what they'll get.
  • Use active voice. "Learn how to..." beats "This page contains information about..."
  • Add a call to action. Words like "free," "instant," "step-by-step" encourage clicks.

Bad: "This website has information about making invoices online for free."

Good: "Create professional invoices in minutes. Free PDF download, no sign-up. Add your logo, items, and tax automatically."

Other Important Meta Tags

Beyond title and description, here are meta tags you should include:

  • Viewport: Essential for mobile responsiveness. Every modern site needs this.
  • Open Graph tags: Control how your page looks when shared on Facebook and LinkedIn.
  • Twitter Card tags: Control how your page looks when shared on Twitter/X.
  • Canonical URL: Tells Google which version of a page is the "main" one to avoid duplicate content.
  • Robots: Tells search engines whether to index the page.

The meta tag generator at dotsapps.com creates all of these tags for you. Just fill in the fields and copy the HTML code.

How to Do It: Step-by-Step

  1. 1

    Open the Meta Tag Generator at dotsapps.com.

  2. 2

    Enter your page title, description, and URL.

  3. 3

    Add Open Graph and Twitter Card information.

  4. 4

    Preview how your page will look in search results.

  5. 5

    Copy the generated HTML code and paste it into your page's head section.

Try Meta Tag Generator Now →

Frequently Asked Questions

How long should a meta title be?

Keep it under 60 characters. Google will cut off anything longer and show an ellipsis, which looks unprofessional and can lose meaning.

Does the meta description affect SEO rankings?

Not directly. Google doesn't use meta descriptions as a ranking factor. But a better description gets more clicks, which can indirectly improve rankings over time.

What happens if I don't add meta tags?

Google will auto-generate a title and description from your page content. The result is usually worse than what you'd write yourself — less compelling and often cut off at awkward points.

Can I use the same meta description on every page?

No. Each page should have a unique meta description that matches its specific content. Duplicate descriptions confuse search engines and reduce click-through rates.

Should I put keywords in meta tags?

Put your main keyword in both the title tag and meta description. The meta keywords tag is completely ignored by Google and is not worth adding.

Ready to Try It?

Meta Tag Generator is free, private, and works right in your browser. No sign-up needed.

Open Meta Tag Generator

Related Tools You Might Like

Cloud Sync

Connected to Google Drive