How to Add Schema Markup to Any Website

Adding schema markup to your website sounds technical. It is not. Generate your JSON-LD using our tool, copy it, paste it into your website. The whole process takes under 5 minutes regardless of what platform your site is built on. Here is the step-by-step guide for every major platform.

Step 1 — Generate your schema markup

Paste your website URL into our AI Schema Generator. It fetches your live page, detects your business type from 90+ schema types, and writes the complete JSON-LD block in about 60 seconds.

Use the enrich panel to add any information not on your page — opening hours, Google Business Profile URL, social profiles, aggregate rating. The more complete your schema, the better your rich results eligibility.

Copy the generated JSON-LD. It looks like a block of code starting with a curly brace — copy all of it.

Step 2 — Add it to your website

WordPress: go to Appearance > Theme Editor, open header.php, and paste the JSON-LD before the closing tag. Alternatively, use a plugin like Insert Headers and Footers, or add it via a Custom HTML block on your homepage.

Wix: go to Settings > Custom Code > Add Custom Code. Paste the code, set it to load in the Head, select All Pages. Save and publish.

Squarespace: go to Settings > Advanced > Code Injection. Paste the JSON-LD into the Header box. Save.

Shopify: go to Online Store > Themes > Edit Code > theme.liquid. Find the closing tag and paste the JSON-LD just before it. Save.

Custom HTML: open your page in a code editor. Find the closing tag. Paste the JSON-LD inside a script tag just before it: .

Google Tag Manager: create a new Custom HTML tag, paste the JSON-LD (including the script tags), set it to fire on All Pages, submit.

Step 3 — Confirm it is working

Run your URL through our Schema Debugger. It fetches your live page and confirms your schema is reading correctly. You will see your score, any errors and any warnings.

Alternatively use Google Rich Results Test (search.google.com/test/rich-results) to check rich result eligibility for specific schema types.

Generate your schema markup now

Paste your URL. AI reads your page, detects your business type and writes complete, production-ready schema in 60 seconds.

Try It Free →