Skip to content

On Page SEO

How to Write the Perfect Heading for SEO

Takes about a minute. You hear back from me personally.

Prefer Saad Raza SEO on Google Add this site as a preferred source to see more of my SEO and AI search guides in Google Top Stories.

Add saadrazaseo.com as a preferred source on Google

Short answer: A good SEO heading tells the reader exactly what the next section covers, in the words they would use to search for it. Use one H1 that states the page topic and matches the title tag, H2s for the main questions, and H3s for their sub-points, in logical order. Include the keyword where it fits naturally, keep each heading short and unique, and never use headings just to make text bigger.

71.6%Screen reader users who first navigate by headings to find information on a long page.WebAIM survey, 2024
70%Share of desktop and mobile pages that had an H1 in 2024, so almost a third still have none.HTTP Archive Web Almanac, 2024
No ideal numberGoogle says there is no magical number of headings a page should have, and out-of-order headings do not matter to Search.Google SEO Starter Guide, 2026

This guide is for bloggers, copywriters and site owners who want headings that help a page rank and get read. You will learn what Google actually says about headings, how to write an H1 and subheadings that match search intent, see before-and-after rewrites, and finish with a checklist you can run on any draft.

What a heading does for SEO

Headings are the HTML elements <h1> to <h6>. They do two jobs at once. For readers, they are the signposts that let someone scan a page and jump to the part they need. For search engines, they show how the page is organised and what each section is about. When Google’s John Mueller was asked about headings, he said Google uses them “to better understand the context of different parts of a page” (Search Engine Land, 2019).

Headings are not a magic ranking lever. Changing an H2 will not lift a weak page. What good headings do is make it obvious that a page covers the questions a searcher has, which helps the page get matched to longer queries, picked for featured snippets, and quoted in AI answers that lift a clean section under a clear heading.

Heading vs title tag

The title tag is what shows in the browser tab and usually becomes the blue link in Google. The H1 is the visible headline on the page. They can be identical, but they do not have to be. Google’s title link documentation says it may use the H1 and other prominent headings when it writes the title link, so if your title and H1 say very different things, Google is more likely to rewrite your result.

Title tagH1H2 and H3
Where it showsSearch results, browser tabTop of the pageThrough the page
Who it is forSearchers deciding whether to clickVisitors confirming they are in the right placeVisitors scanning for their answer
Typical lengthAbout 50 to 60 characters so it shows in fullCan be a little longer and more naturalShort: often 3 to 10 words
KeywordMain keyword near the startMain keyword, natural wordingRelated questions and subtopics
How manyOneUsually oneAs many as the content needs

How to write the H1

  1. State the topic plainly. Match the search intent behind the query: someone who lands from Google should know within a second that this page answers their query. “How to Write Headings for SEO” beats “Words That Work”.
  2. Include the main keyword in natural wording. Use the phrase people search, not an awkward exact-match string.
  3. Keep it close to the title tag. Same promise, perhaps different words. If the title says “10 examples”, the H1 should not say “5 tips”.
  4. Make one H1 the main heading. Google’s position is that multiple H1s are not a problem for its systems; Mueller called them “a fairly common pattern on the web” (Search Engine Land). I still recommend one clear H1 per page because it gives readers, screen readers and Google one unambiguous main topic.

On WordPress, the theme normally prints the post title as the H1, so you should not add another H1 inside the editor. Start your content at H2.

Rather have an expert do this for you?

Hand it over and get back to running your business.

Hand it over to me

How to write H2 and H3 subheadings

The fastest way I know to get subheadings right is to build them from what searchers actually ask:

  1. Search your main query and note the “People also ask” questions, related searches and the subtopics the top results cover.
  2. Check your own Search Console data. The queries a page already gets impressions for are often perfect H2s. See the Search Console performance report for how to filter by page.
  3. Group the questions into 5 to 8 main sections (H2) and put the narrower points under them (H3). This mirrors how I plan a content brief.
  4. Write each heading as the answer’s label. A question heading (“How long should a heading be?”) works well when the section answers that exact question in the first sentence.
  5. Answer straight away. Put a direct one or two sentence answer immediately under the heading, then the detail. That is the structure Google tends to lift for featured snippets.

Keep the hierarchy logical

Nest headings by rank: H2 for sections, H3 inside an H2, H4 inside an H3. The W3C accessibility tutorial says skipping ranks “can be confusing and should be avoided where possible”, for example an H2 followed directly by an H4. Google’s Starter Guide is relaxed about this for Search, saying it does not matter if headings are out of order, but notes semantic order is “fantastic for screen readers”. Since 71.6% of screen reader users in WebAIM’s survey start by jumping through headings, a clean outline is worth the two minutes it takes.

How many headings?

Google says there is no ideal amount, and if a page seems to have too many, it probably does. In practice I let the content decide: a new H2 when the topic changes, an H3 when a section has two or more distinct sub-points. A rough sense check is a heading every few hundred words, so readers never face a long wall of text.

Before and after: heading rewrites

These are the patterns I most often rewrite during content audits. The “after” versions say what the section delivers and use the searcher’s own words.

Weak headingProblemBetter heading
IntroductionSays nothing about the contentWhat a heading does for SEO
Our ServicesGeneric, used on thousands of sitesPlumbing repairs we handle in Gulshan-e-Iqbal
Best SEO Heading SEO Tips for SEO HeadingsKeyword stuffing, unreadableTips for writing SEO-friendly headings
Step 3No meaning when scanned or read by a screen readerStep 3: Check your heading order
PriceToo short to match a real questionHow much does a website audit cost?
Everything You Need to Know About Our Amazing ProductsVague and longChoosing the right office chair size
Worked example: outlining a page from a single query

Query: “how to get a driving licence in Karachi”. H1: How to Get a Driving Licence in Karachi. H2s built from the searches people make around it: Who is eligible; Documents you need; Learner permit first; Booking and taking the test; Fees and timelines; Renewing or replacing a licence; FAQs. Under “Documents you need” the H3s become the separate items people ask about, such as CNIC copies and medical certificate. Each H2 opens with a one-line answer. The page reads like a set of answers, which is what both the reader and Google are looking for.

Mistakes I find on real sites

  • Headings used for styling. A designer wanted big bold text, so a phone number or a “Free Quote” banner became an H2. Use a CSS class instead.
  • Theme widgets in the outline. Sidebar titles like “Recent Posts” and “Categories” output as H2 or H3 on every page, cluttering the structure. Most themes let you change this.
  • Logo in an H1. The site name wrapped in an H1 on every URL, so the real topic heading competes with it.
  • No H1 at all. Common on page builder layouts where the hero text is a styled paragraph. The HTTP Archive data above shows this is still widespread.
  • Duplicate headings across pages. Location pages with identical H2s, apart from the city name, look like templates rather than useful pages. Make each one specific, or merge them.
  • Keyword stuffing. Repeating the target phrase in every heading is the most visible form of over-optimisation, and it reads badly.
  • Clickbait headings. “You won’t believe step 4” makes the section impossible to understand out of context, which is exactly how AI answers and snippets use it.

How to check your headings

  • In the browser: right-click a heading and choose Inspect to see its tag. Browser extensions such as HeadingsMap show the whole outline.
  • Across a site: a crawler such as Screaming Frog lists missing, duplicate and multiple H1s and H2s for every URL.
  • In WordPress: the block editor’s Document Overview (list view) shows the heading outline, and Yoast or Rank Math warn about missing subheadings.
  • On readability: paste a draft into my free readability checker to see whether long sections need breaking up, and use the free text case converter to keep title case or sentence case consistent.

For the HTML side of headings and the other tags that sit around them, see how to use header tags and my guide to HTML and SEO.

SEO heading checklist

SEO heading checklist

  • One clear H1: states the page topic and includes the main keyword naturally.
  • H1 matches the title tag’s promise: same topic, no contradictions.
  • No extra H1 in the editor: on WordPress, content starts at H2.
  • H2s from real questions: built from People also ask, related searches and Search Console queries.
  • Logical nesting: H3 only inside an H2, no skipped levels.
  • Descriptive wording: every heading makes sense on its own, out of context.
  • Answer first: the first sentence under each heading answers it directly.
  • Short: headings are scannable, usually under about 10 words.
  • Unique: no two headings on the page, or across similar pages, are the same.
  • No stuffing: the keyword appears where it fits, with variations elsewhere.
  • Not used for styling: banners, phone numbers and widget titles are not headings.
  • Consistent case: sentence case or title case throughout, not a mix.

Ticks are saved in your browser.

Frequently asked questions

Do headings affect SEO rankings?

Indirectly. Google uses headings to understand the context of each part of a page, and clear headings help a page match specific queries and win featured snippets. They will not make a weak page rank on their own, but poor or missing headings make good content harder to understand.

Is it bad to have more than one H1?

Google has said its systems do not have a problem with multiple H1s. I still recommend one H1 per page as the main topic, because it is clearer for readers and screen reader users, and use H2s for everything below it.

Should the H1 be the same as the title tag?

It can be, but it does not have to be. Keep the same topic and promise. The title tag is often written to fit the search result and win the click, while the H1 can be slightly longer and more natural.

Should I put keywords in every heading?

No. Put the main keyword in the H1 and use related terms and real questions in the subheadings. Repeating the same phrase in every heading reads badly and looks like keyword stuffing.

How long should an SEO heading be?

There is no official limit. Short headings scan best: most of mine are 3 to 10 words. The title tag is the element where length really matters, because Google truncates it in results.

Can question headings help with featured snippets?

Yes, when the text directly beneath the heading answers the question in one or two clear sentences, followed by the detail. Google often lifts that answer, and a list or table under the heading can be shown as a list or table snippet.

Sources

  • Google Search Central, “SEO Starter Guide” (accessed 2026).
  • Search Engine Land, “Multiple H1s won’t get in the way of your SEO, Google says” (2019).
  • W3C Web Accessibility Initiative, “Headings” tutorial (accessed 2026).
  • WebAIM, “Screen Reader User Survey #10 Results” (2024).
  • HTTP Archive, “Web Almanac 2024: SEO chapter” (2024).

If your headings are fine but the page still is not ranking, the problem is usually elsewhere in the content or the site. My on-page optimisation service reviews headings alongside everything else, or you can ask me about a specific page.

Rather have an expert do this for you?

Tell me about your website and goals, and I will reply with a free first review.

Your details are only used to reply to your request. No spam.

Grow my trafficCall