Keywords go in the places search engines read first

Search engines scan your page in a specific order: the title tag (the text that appears in browser tabs and search results), the meta description (the short summary under the title in results), headings, and then the body text. Putting your target keyword in the title tag is the single most effective placement — it tells the search engine what your page is about before it reads anything else.

The meta description doesn't directly affect rankings, but it influences whether people click your result. If someone searches for "how to fix a leaky faucet" and your page title says "Plumbing Repairs" but your description says "Step-by-step guide to fixing a leaky faucet in under 10 minutes," they're more likely to click. That click matters to search engines as a signal that your page answered the question.

After title and description, headings (the H1, H2, H3 tags in your page code) are the next most important places. Your main heading should contain your primary keyword naturally — not forced in, but as part of a real heading that describes the section. The rest of your body text comes last in search engine priority, but it's still where you'll use your keyword most, because that's where you're actually answering the reader's question.

Key Takeaways

  • Your page title tag (what appears in browser tabs and search results) should include your main keyword and be under 60 characters so it displays fully in search results.
  • The meta description should summarize what the page covers and include your keyword naturally, because it affects whether people click your result.
  • Use your keyword in the main H1 heading and in at least one or two subheadings, but only where it fits the actual structure of your content.
  • Keyword density — how often you use the keyword relative to total words — matters less than relevance; using it 2 to 5 times in a 1,000-word page is usually enough.
  • The URL slug (the part after your domain) should include your keyword if possible, because search engines weight it lightly but it also helps readers understand what the page is about.

How to edit your title tag and meta description

Your title tag and meta description live in the code of your page, not in the visible text. If you use WordPress, you can edit both in the Yoast SEO plugin (free version) or Rank Math (free version) — they appear in a box below your editor. If you use Squarespace, Wix, or another website builder, look for an "SEO" or "Search settings" section when you're editing the page. The exact location varies by platform, but every builder has a place to set these.

For the title tag: keep it between 50 and 60 characters (including spaces). Search engines cut off longer titles in results, so "How to Fix a Leaky Faucet: A Step-by-Step Guide" works better than "The informational guide to Fixing Every Type of Leaky Faucet You Might Encounter in Your Home." Put your main keyword near the beginning of the title, because search engines weight the first few words more heavily.

For the meta description: aim for 150 to 160 characters. Write it as if you're explaining the page to a friend — include your keyword once, naturally, and make it clear what the reader will learn. "Learn how to fix a leaky faucet in under 10 minutes with tools you probably already have" is more likely to get clicked than "This page contains information about faucet repair."

Where keywords belong in your headings and body text

Your main H1 heading (the biggest heading on the page) should contain your primary keyword, but it should also be a real heading that describes what the page is about. If your keyword is "best running shoes for flat feet," your H1 might be "Best Running Shoes for Flat Feet" or "Running Shoes Designed for Flat Feet." Don't force it into a heading where it doesn't belong — "Shoes: Best Running Shoes for Flat Feet" looks awkward and reads awkwardly.

Use your keyword in one or two subheadings (H2 or H3 tags) if it fits naturally. If you're writing about running shoes for flat feet, a subheading like "Why Flat Feet Need Different Running Shoes" or "How to Choose Running Shoes for Flat Feet" works. But not every subheading needs the keyword — if you have a section called "What to Avoid," you don't need to force "running shoes for flat feet" into it.

In the body text, use your keyword 2 to 5 times per 1,000 words. Search engines used to reward pages that repeated keywords constantly, but now they penalize that practice (called keyword stuffing). Write naturally, and your keyword will appear as many times as it needs to. If you're writing 800 words about running shoes for flat feet and you only mention it twice, that's fine — you're using related words like "flat feet," "arch support," and "shoe design" that search engines understand as connected.

How to use keywords in your URL and image alt text

Your page URL (the web address) should include your keyword if possible. A URL like yoursite.com/best-running-shoes-flat-feet is better than yoursite.com/page-47 or yoursite.com/shoes-guide. Keep it short and readable — separate words with hyphens, not underscores or spaces. Search engines weight URLs lightly compared to title tags and content, but a keyword-rich URL also helps readers understand what the page is about before they click.

Image alt text (the text that describes an image to search engines and screen readers) is another place to use keywords naturally. If you have a photo of running shoes on your page, the alt text might be "Best running shoes for flat feet with arch support." Don't write "shoes shoes shoes" or "running shoes for flat feet running shoes for flat feet" — write a real description that happens to include your keyword. Alt text serves people using screen readers, so it needs to be useful to them first.

Why keyword placement matters less than relevance

Search engines have become much better at understanding what a page is actually about, even without the keyword appearing in every possible place. A page about "how to fix a leaky faucet" will rank for that phrase even if you use "repair a dripping faucet" in some sections, because the search engine understands those phrases mean the same thing. This is called semantic search, and it means you don't need to repeat your exact keyword obsessively.

What matters more is that your page actually answers the question someone is searching for. If someone searches "how to fix a leaky faucet" and lands on your page, and your page gives them clear, step-by-step instructions that solve their problem, the search engine will notice that they stay on the page, don't immediately go back to search results, and possibly share or link to your page. Those signals tell the search engine your page is relevant, regardless of how many times you used the exact keyword.

This is why writing for your reader first and keywords second produces better results than the reverse. A page written naturally, with your keyword in the title and a few times in the body, will outrank a page where you've forced the keyword into every sentence.

Tools to research and track your keywords

Before you write, use a keyword research tool to understand what people are actually searching for and how much competition exists. Google Search Console (free, from Google) shows you what searches already bring people to your site and which pages rank for which keywords. Google Keyword Planner (free, but requires a Google Ads account) shows search volume for keywords. Ubersuggest (free version available) and Ahrefs (paid) both show search volume, competition level, and related keywords.

After you publish, use Google Search Console to track which keywords your page ranks for and where it appears in results. If you rank on page 2 or 3 for a keyword you targeted, you know the page is relevant but needs improvement — that might mean adding more detailed information, improving the title tag, or building more links to the page. Check your rankings monthly rather than daily; search engines update rankings gradually, and obsessive checking creates false impressions of change.

Common mistakes that hurt keyword placement

The biggest mistake is using different keywords on the same page. If you write about "best running shoes for flat feet" in your title but "arch support shoes" in your body, you're splitting your relevance signal. Search engines see two different topics instead of one strong signal about one topic. Pick your primary keyword before you write, and use it consistently in title, headings, and body.

The second mistake is targeting keywords that don't match your actual content. If your page is a beginner's guide to running shoes but you're trying to rank for "professional running shoe fitting," you'll attract the wrong readers and they'll leave immediately. Search engines notice that bounce and downrank you. Target keywords that match what you actually wrote.

The third mistake is ignoring long-tail keywords — longer, more specific phrases like "best running shoes for flat feet and overpronation" instead of just "running shoes." Long-tail keywords have less search volume but less competition, and they often convert better because they're more specific. A reader searching for the longer phrase knows exactly what they want.

Frequently Asked Questions

How many times should I use my keyword on a page?

Use it enough that it's clear what the page is about — typically 2 to 5 times in a 1,000-word page. More than that usually means you're forcing it, which makes the page harder to read and can actually hurt your ranking. Write naturally, and the keyword will appear as often as it needs to.

Does keyword placement in the first paragraph matter?

Yes, slightly. Search engines weight the first paragraph more heavily than the rest of the body, so including your keyword in the first sentence or two is helpful. But it should fit naturally — don't write an awkward sentence just to get the keyword in early.

Can I use different variations of my keyword, like singular and plural?

Yes. Search engines understand that "running shoe" and "running shoes" are the same keyword. Using both variations naturally throughout your page is fine and actually makes the page read better than repeating the exact same phrase.

What if my keyword is too long to fit in the title tag?

Shorten it or rephrase it. If your keyword is "best running shoes for people with flat feet and overpronation," your title might be "Best Running Shoes for Flat Feet and Overpronation" (shorter) or "Running Shoes for Flat Feet: Complete Buying Guide" (rephrased to include the core idea). The title should be under 60 characters, so prioritize the most important part of your keyword.

Do I need to use keywords in every heading on my page?

No. Use your keyword in the main H1 heading and one or two subheadings if it fits naturally, but not in every heading. A heading like "Common Mistakes" or "How to get your free guide" doesn't need your keyword — it's fine to have variety in your headings as long as your main topic is clear.