TextZap / Schema markup generator
FREE ONLINE TEXT TOOLS

Schema markup generator

JSON-LD · Schema.org

✓ No sign-up✓ Local processing

Schema markup generator

What is Schema markup?

Schema markup is structured data that describes the entities and information on a web page using the vocabulary published by Schema.org. Instead of relying only on visible text, search engines can read explicit properties such as the name of a business, the price of a product or the ingredients of a recipe. JSON-LD is a way to express these properties in a JSON object embedded in an HTML script element.

TextZap creates this code in your browser. You do not need to write JSON manually or register an account. The generator is useful for website owners, developers, online shops and content publishers who want to describe their pages consistently.

How to generate and install JSON-LD

  1. Select the type that best describes the content of your page.
  2. Complete the required fields marked with an asterisk. Use absolute HTTP or HTTPS addresses for URLs and images.
  3. Generate the code and copy the result, including the script tags.
  4. Paste the code into the HTML head or body of the relevant page. In a PHP site, place it in the appropriate template so each page receives its own data.
  5. Validate the published page and correct any errors or missing properties.

Which Schema type should you choose?

WebSite
Describe the website itself, using its name and homepage URL.
Organization
Identify a company or other organization, including its official URL and logo.
LocalBusiness
Describe a physical business with its street address, city, country and telephone number.
Article
Describe an editorial page with a headline, author, publication date and image.
Product
Describe a product and its offer. Enter a price such as 19.99 and a three-letter currency code such as EUR.
FAQPage
Describe questions and their answers that are visible on the page. Enter one question and answer per line, separated by a vertical bar (|).
BreadcrumbList
Describe a navigation hierarchy with at least two entries. Enter each label and absolute URL separated by a vertical bar.
Recipe
Describe a recipe using its name, ingredients and preparation steps. Enter each ingredient and each step on a separate line.

Practical JSON-LD example

Choose WebSite, enter Example Studio as the name and https://example.com/ as the URL. The resulting markup looks like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Example Studio",
  "url": "https://example.com/"
}
</script>

For a breadcrumb trail, select BreadcrumbList and enter the following two lines:

Home | https://example.com/
Tools | https://example.com/tools/

For FAQPage, use a line such as Is registration required? | No, registration is not required. Only publish questions and answers that actually appear on your page.

Structured data and SEO

Structured data can help search engines interpret page content and may make eligible pages available for enhanced search appearances. It does not guarantee a higher ranking or a rich result. Google supports only certain types and properties for specific search features, and FAQ rich results are generally restricted to authoritative government and health websites.

Keep the markup consistent with visible content. Do not invent reviews, prices, authors or business details. The generator provides a starting point, not every property required by every search feature. For example, a recipe may need an image and additional details to qualify for a particular feature.

Frequently asked questions

Where do I put JSON-LD?

Place the generated script in the head or body of the relevant HTML page. Avoid adding identical product or article data to unrelated pages through a global footer.

Can I use several Schema types on one page?

Yes. A product page may also have breadcrumb markup. Make sure each entity is relevant and that overlapping properties do not contradict each other.

How can I check the generated code?

Use the Schema Markup Validator to inspect Schema.org vocabulary and the Google Rich Results Test to check supported Google features. A successful validation does not guarantee display in search.

Do I need to update the markup?

Yes, whenever the underlying information changes. For example, update product prices and availability together with the visible page content.

Explore all 200 text tools

Analysis · 25

Formatting · 30

Cleaning · 15

Generators · 20

Conversion · 30

SEO & extraction · 35

URL slug generatorCreate a clean URL slugKeyword density checkerCalculate frequency and percentage of wordsKeyword occurrence counterCount literal keyword occurrences ignoring caseExtract emailsExtract common email address patternsExtract URLsExtract HTTP and HTTPS URLsExtract numbersExtract signed integers and decimalsExtract hashtagsExtract unique hashtagsExtract mentionsExtract social media mentionsMeta title length checkerMeasure title length against a chosen character targetMeta description length checkerMeasure description length against a chosen targetN-gram counterCount consecutive word groupsExtract domainsExtract hostnames from web URLsText truncatorLimit text to a chosen character countExtract HTML headingsExtract H1 through H6 headings from HTMLExtract HTML linksExtract href attributes from HTML anchorsReadability checkerAnalyze sentence length and long wordsFlesch reading easeEstimate English Flesch reading easeSyllable counterEstimate syllables using language-specific vowel rulesEssay word counterTrack essay word count against a targetText similarity checkerCompare unique word sets using Jaccard similarityStop words removerRemove common words using the list for the selected languageLong sentence finderFind sentences exceeding a word limitGoogle SERP previewPreview a sample search result snippetOpen Graph generatorGenerate escaped social sharing meta tagsRobots.txt generatorGenerate robots.txt from disallowed pathsSitemap XML generatorGenerate sitemap from absolute URLs, one per lineHreflang generatorEnter language code and URL on each lineCanonical tag generatorGenerate canonical tag from absolute URLSchema markup generatorEnter website name and URL on separate linesMeta tag generatorEnter title and description on separate linesTwitter card generatorEnter title, description and image URL on separate linesUTM builderEnter URL, source, medium and campaign on separate linesURL parserInspect URL componentsURL cleanerRemove common tracking parametersRedirect generatorEnter old path and new absolute URL on separate lines

Social Media · 20

Developer Tools · 25