Schema.org JSON-LD Generator

Draft structured data for an article, a web application or a page with visible questions and answers.

Loading the interactive tool. Read the instructions.

Choose an entity you already describe on the page

Structured data works best when a visitor can recognise the same details in the visible page. An article can identify its headline, publisher and author. A free browser tool can describe the software people use. A question-and-answer page should contain the questions and complete answers visitors can read, including answers revealed through an expandable control. Choose the entity that describes the primary purpose of your page and use the canonical address you plan to publish.

Methodology

The generator reads the browser form and serializes an object as JSON-LD. The WebApplication template includes the application name, URL, category, operating system, description and a zero-price offer. Review that offer before publishing if the real product is paid. The Article template includes a headline, URL, summary, person author and publisher. It uses the current date in the draft publication field, so replace that date if the page was previously published. The FAQ template includes the supplied question and accepted-answer pairs.

The generator does not evaluate schema eligibility, check a live page or score a document. It escapes less-than characters in JSON values so that pasted data stays inside a single script block. Compare the output with the visible page, then use a validator appropriate to the entity type. A validator can catch syntax and property issues. The meaning of the fields needs an editorial review.

Worked example

A business publishes a guide called “How to check a bicycle chain before a long ride”. Its byline identifies the mechanic and the page shows a publication date. Select Article, enter the exact guide headline and final HTTPS page URL, and fill in the visible author. The generated draft publisher should be replaced if the article belongs to another organisation. Copy the script into that article's template or enter equivalent details in its structured data plugin.

Next inspect the deployed HTML. If the plugin already emitted a second Article object naming a different author, fix the source of the duplicate or make the records consistent before submitting the page. Review both the visible date and the JSON date. If the article was originally published in March and revised in April, keep March as publication date and optionally record the meaningful revision separately with dateModified.

Read a validation result in context

A validator can parse a syntactically correct event or article description while the page still misrepresents key facts. Open the canonical URL as a visitor and read the facts you encoded. To test a web tool, use it and confirm that its advertised price and availability are true. To test questions, expand each answer and compare it with the accepted answer in the markup. For Google display features, check Google’s supported feature documentation for the relevant page type when you publish.

For a tool with multiple localized versions, generate a record for the specific page you are editing. Test a translation where punctuation and phrasing differ, and verify the canonical URL points to the intended language page. A person using two versions should encounter the same actual offer and compatible claims about the software. If features differ between regions, describe what the selected page really makes available before copying the markup.

Common mistakes

Pasting a JSON object into the document without its script wrapper can make it appear as ordinary text. Inserting both a plugin’s version and a manually generated version can introduce contradictory authors or prices. Copying a generated date on an old article can misrepresent publication history. Using a placeholder image URL or injecting review counts the page has never collected creates inaccurate markup. Use only values you can verify against the site.

FAQs

Does valid JSON-LD guarantee a rich result?

Eligibility depends on the page type and search system. A successful validation only reports what that validator checked.

Can the title differ from the visible headline?

Keep the structured name recognisable as the title of the same work. Check the final page rather than copying a generic site title into each article.

Can I put JSON-LD in the page body?

A valid script can be placed in the HTML head or body. Check that your CMS does not strip it and confirm the output in source.

Should I publish the draft date unchanged?

Enter the actual publication date. Use a separate modification date for substantial revisions when appropriate.

How do I avoid duplicate markup?

Inspect both the raw HTML and the rendered page. Decide whether a shared CMS plugin or the page template should emit the primary record.