Skip to content
Schema Generator
Menu

Discussion Forum Post schema generator

A forum thread or social post with its replies, written by users.

Rich result availableDiscussionForumPosting · Discussion forum

Fields marked with an asterisk are required. Your input stays in this browser.

Required

Without these, Google won't use the markup.
Fill what applies. More complete markup gets richer results.
Replies
    OptionalExtra detail for other search engines and tools.Show 2 fields

    Guide

    What Google does with DiscussionForumPosting markup

    Threads can appear in the Discussions and forums feature. Use it for user-generated threads; for a single question with answers, a Q&A page fits better.

    Google's discussion forum documentation

    Fields Google looks for

    PropertyStatusIn the form
    headlineRecommendedThread title
    textRequiredFirst post
    authorRequiredPosted by
    authorUrlRecommendedAuthor profile URL
    datePublishedRequiredPosted
    urlRecommendedThread URL
    commentRecommendedReplies

    Example output

    This is what the builder produces from the example data. Paste it into the page's HTML, in the <head> or the body.

    {
      "@context": "https://schema.org",
      "@type": "DiscussionForumPosting",
      "headline": "Best tent for windy coastal campsites?",
      "text": "Heading to the Hebrides in May. What holds up in 50 km/h gusts?",
      "url": "https://forum.example/t/windy-tents",
      "datePublished": "2026-04-02T18:20",
      "author": {
        "@type": "Person",
        "name": "coastal_camper",
        "url": "https://forum.example/u/coastal_camper"
      },
      "interactionStatistic": {
        "@type": "InteractionCounter",
        "interactionType": "https://schema.org/LikeAction",
        "userInteractionCount": 14
      },
      "comment": [
        {
          "@type": "Comment",
          "text": "Tunnel tents pitched tail-to-wind have been fine for me.",
          "datePublished": "2026-04-02T19:05",
          "author": {
            "@type": "Person",
            "name": "hill_walker"
          }
        }
      ]
    }