فارسی

Build Schema.org JSON-LD

Build Schema.org structured data for an article, product, FAQ or organization and copy a script tag to add to your page.

Use this tool in your browser without installing software.

About this tool

Structured data tells a search engine what a page is about: an article with an author and date, a product with price and availability, an FAQ page or an organization. This page builds that data as JSON-LD: fill the fields and take the output as JSON or a script tag you can add to the page. URLs must be complete and start with http or https, the price is numeric, and every FAQ item needs both a question and an answer. Incomplete data is not produced; the reason for each rejected field is listed. Put the result in the page head or add it to the HTML file. Everything runs in your browser.

How to use it

  1. 1

    Choose the type: article, product, FAQ or organization.

  2. 2

    Fill the fields; for FAQs write one “question | answer” per line.

  3. 3

    Copy or download the JSON or script tag and put it in the page.

If the answer looks wrong

  • The output is empty.

    Fill the required fields: title and URL for an article, name and price for a product, and at least one question with an answer for an FAQ.

  • Search engines do not read it.

    Put the tag inside the page head and make sure the JSON is valid. The page URL should match the URL inside the data.

  • The URL is rejected.

    A URL must be complete and start with http or https. A relative address such as /about is not accepted.

Frequently asked questions

What is JSON-LD?

It is a standard format for structured data placed inside a script tag on the page, which a search engine reads. Unlike microdata it does not clutter the page text and stays separate from the visible layout.

Which type should I choose?

Article for a post or news story, Product for a product page, FAQPage for a question-and-answer page and Organization for a company page. If a page does several things, choose its main purpose.

How are price and currency written?

Enter the price as a number without separators; the page turns it into a string. The currency is a three-letter code such as IRR or USD. Availability is one of InStock, OutOfStock, PreOrder or BackOrder.

Why is there no output?

The document is not built until the required fields are complete. The reason for each rejected field is listed under the box, such as a URL without http or https or a question without an answer, with its row number.

Is my information sent anywhere?

No. Building the JSON-LD happens in your browser and no field is sent to a server.