This guide explains how to use Discussion Forum Schema Generator, step by step, with screenshots of the real tool. It is written for site owners and SEOs who add structured data to their pages. Create DiscussionForumPosting JSON-LD for forum threads and community posts, so Google can show them in Discussions and forums results.
Quick answer: To use the Discussion Forum Schema Generator, open the free tool, enter the thread title, enter the thread URL, enter the author and enter the author profile URL, then copy the text it creates. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server.
On this page

What is the Discussion Forum Schema Generator?
Create JSON-LD for forum threads with headline, author, date, text and interaction counts.
This schema helps forum and community threads appear in Googleβs Discussions and forums features.
How to use Discussion Forum Schema Generator step by step
-
Step 1: Open the Discussion Forum Schema Generator
Go to the Discussion Forum Schema Generator on hasnainsanmal.com. It loads with example values already filled in, so you can see how it works straight away. It works the same way on a phone, tablet or computer.
-
Step 2: Enter Thread title
In the Thread title box, type your own value.
-
Step 3: Enter Thread URL
In the Thread URL box, type your own value.
-
Step 4: Enter Author
In the Author box, type your own value.
-
Step 5: Enter Author profile URL
In the Author profile URL box, type your own value.
-
Step 6: Enter Date
In the Date box, type your own value.
-
Step 7: Paste Post text
Paste or type your text into Post text.
-
Step 8: Read the results
The output appears inside the tool card. Change any input to compare different scenarios.

Screenshot of the Discussion Forum Schema Generator results. -
Step 9: Copy or download the output
Use Copy code to take the result into your document, CMS, spreadsheet or report.
What does each field in the Discussion Forum Schema Generator mean?
| Field | What to enter | Example |
|---|---|---|
| Thread title | Your text | Your own value |
| Thread URL | Your text | Your own value |
| Author | Your text | Your own value |
| Author profile URL | Your text | Your own value |
| Date | Your text | Your own value |
| Post text | Text, one item per line where asked | Your own value |
What does a worked example look like?
With the example input already in the tool, the Discussion Forum Schema Generator returns: <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Discussion, Forum, Posting" } </script>
Replace the example with your own input to get your own result, then review it before you use it.
How do you get the best results from the Discussion Forum Schema Generator?
- Fill in the fields; the JSON-LD updates as you type.
- Paste it into the page HTML or your SEO pluginβs schema box.
- Test it in Googleβs Rich Results Test, then request indexing.
- Keep the schema text identical to what the page shows.
- Use one main type per page and test it in the Rich Results Test.
For background, read the Google introduction to structured data. If you are working on a related task, our guide on how to use the Return Policy Schema Generator walks through it the same way. You can also browse all free Schema Markup Generators.
What mistakes should you avoid with the Discussion Forum Schema Generator?
- Marking up content that visitors cannot see on the page.
- Adding fake ratings or reviews, which breaks Google guidelines.
- Not testing the code in the Rich Results Test before publishing.
Key terms
- Structured data
- Code added to a page, usually as JSON-LD, that describes its content in the Schema.org vocabulary. Search engines use it to understand entities such as products, articles and businesses, and some types can unlock rich results in Google.
- JSON-LD
- JavaScript Object Notation for Linked Data, the format Google recommends for structured data. It sits in a script tag, separate from the visible HTML, which makes it easy to add, test and update without changing the page design.
- Title tag
- The HTML title element that names a page in browser tabs and usually becomes the clickable headline in search results. A clear title of about 50 to 60 characters with the main keyword near the start tends to work best.
- HTML
- HyperText Markup Language, the standard language that structures web pages with elements such as headings, paragraphs, links and images. Search engines read the HTML to understand page content, links and metadata.
- JSON
- JavaScript Object Notation, a light text format for data made of key and value pairs, arrays and nested objects. It is used by APIs, configuration files and JSON-LD structured data, and must follow strict syntax to be valid.
Related free tools
Frequently asked questions
Is the Discussion Forum Schema Generator free to use?
Yes. The Discussion Forum Schema Generator is completely free, with no sign up, no daily limit and no watermark. It is one of more than 500 free SEO and marketing tools on hasnainsanmal.com.
Is my data stored when I use the Discussion Forum Schema Generator?
No. The Discussion Forum Schema Generator runs in your browser with JavaScript, so the values and text you enter are processed on your own device and are not sent to or saved on our server.
How accurate is the Discussion Forum Schema Generator?
It creates a solid first draft from your inputs. Always review and edit the output so it is accurate, specific and sounds like you before you publish or send it.
Does the Discussion Forum Schema Generator work on a phone?
Yes. The tool is built for screens from 360 pixels wide, so you can use the Discussion Forum Schema Generator on a phone, tablet or computer in any modern browser.
Can I use the Discussion Forum Schema Generator for client work?
Yes. You can use the results for your own sites and for client projects. Check the output first, and keep a note of the inputs you used so you can repeat the check later.
What should I do after using the Discussion Forum Schema Generator?
Apply the result on your page, campaign or document, then measure the effect. If you would like expert help, see the SEO services or message Hasnain on WhatsApp for a free recommendation.
How we checked this guide: every step and screenshot was taken from the live Discussion Forum Schema Generator on 2 November 2026. Further reading: Schema.org.




