Ecom Outpost — Discover more storesJournalFor merchants

Schema Markup Generator

Fill in a few details and get JSON-LD structured data to add to your page, checked as you type for missing or invalid values.

FreeNo signupWorks on mobile

Product details

Numbers only, no currency symbol.

Three-letter code, such as USD, CAD, EUR or GBP.

We check the barcode's check digit.

What schema markup does

Structured data is code that describes a page in a standard vocabulary (schema.org), so search engines can understand details like a product's price or a business's address. Google can use it to show rich results, such as prices in search results. Valid markup makes a page eligible for these features; it doesn't guarantee them. See Google's introduction to structured data.

This tool creates JSON-LD, the format Google recommends. Everything runs in your browser.

Which type to use

This tool doesn't generate reviews or star ratings. Rating markup has to reflect real reviews shown on the page.

Example: product markup

For a fictional product, the generator produces:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Linen Throw Pillow Cover",
  "image": "https://example.com/images/linen-pillow.jpg",
  "description": "Stonewashed linen pillow cover with a hidden zipper.",
  "sku": "LPC-18",
  "brand": {
    "@type": "Brand",
    "name": "Example Home Co."
  },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/products/linen-pillow-cover",
    "price": "24.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}

How to add it to your store

  1. Check what's already there. Many Shopify themes and WooCommerce SEO plugins already add Product and Organization markup. Run the page through the SEO Page Checker to see which types it has, and avoid adding a duplicate.
  2. Paste the code into the page's HTML. On Shopify, that usually means a theme section or custom liquid block, or an app. On WordPress, use a plugin or a custom HTML block.
  3. Test the live page with the Rich Results Test or the Schema Markup Validator.
  4. Keep it accurate. Markup must match what's visible on the page, and prices and availability must stay current (Google's structured data guidelines).

Markup you paste by hand doesn't update itself. If prices change often, markup generated by your theme or an app is usually easier to keep correct.

  • SEO Page Checker

    Check one page for common technical SEO issues: indexing, title, description, headings, images, links and structured data.

  • Meta Title and Description Generator

    Get title and description ideas built from your own page details, with length checks and a search result preview.

  • Product Description SEO Helper

    Check a product description for readability, natural keyword use and unsupported claims, and get title, outline and alt text ideas.

  • Ecommerce Keyword Brainstormer

    Brainstorm keyword ideas for a product or category, grouped by intent: research, comparison, buying, how-to and questions.

  • Robots.txt Generator and Checker

    Create a robots.txt for Shopify, WooCommerce or any site, or check an existing file and test which URLs crawlers may visit.

  • XML Sitemap Checker

    Check that your XML sitemap loads and is valid, and test a sample of its URLs for errors, redirects, noindex and robots.txt blocks.

  • PageSpeed Checker

    Test your store's speed with Google's free PageSpeed Insights, then get the results explained in plain English with next steps.

  • Guides for store owners

    Articles from the Outpost Journal on getting found, product pages and marketing for independent stores.

See all free SEO tools