Generate recommended JSON-LD structured data — Organization and WebSite with Sitelinks Search — prefilled from your page, ready to paste into your <head> to help unlock rich results.
⚡ Interactive demo — sample data
Generated Organization + WebSite JSON-LD for this sample site. No existing structured data was found on the page.
Existing structured data: none found — adding schema can unlock rich resultsWarning
Organization schema built: name, URL, description and logo prefilled from the pageLooks good
WebSite schema built with a Sitelinks SearchAction (target /?s={search_term_string})Looks good
Output wrapped in <script type="application/ld+json"> blocks, ready to paste into <head>Looks good
Valid Schema.org JSON-LD — passes the Rich Results TestLooks good
Generate recommended JSON-LD structured data — Organization and WebSite with Sitelinks Search — prefilled from your page, ready to paste into your <head> to help unlock rich results.
How it works
Enter your website URL
Paste your homepage URL and run the generator. We fetch the page and read its title, meta description and favicon to prefill an Organization and a WebSite schema with your real name, URL, description and logo — no manual typing of boilerplate.
Review the generated JSON-LD
You get two ready-made <script type="application/ld+json"> blocks — an Organization object and a WebSite object with a Sitelinks SearchAction — formatted and indented so it's easy to read and confirm the values are right before you ship them.
Copy or download and add it to your site
Paste both blocks into the <head> (or sitewide footer) of your pages, or download the snippet. Then validate it in Google's Rich Results Test and request a re-crawl so search engines pick up the new structured data.
What we check
Organization schema — Builds an Organization object with your business name, site URL, description and logo. This is the entity Google ties to your Knowledge Panel and brand signals across search.
WebSite schema with Sitelinks SearchAction — Adds a WebSite object including a potentialAction SearchAction, the markup that can enable a search box directly inside your Google sitelinks for branded queries.
Valid JSON-LD syntax — Outputs well-formed, indented JSON-LD wrapped in <script type="application/ld+json"> — the format Google recommends over inline Microdata or RDFa because it's easiest to add and maintain.
Existing structured data on the page — Detects JSON-LD blocks already present so you know whether you're adding fresh schema or duplicating something your CMS or plugin already emits.
Logo and brand details — Pulls your favicon/icon link as the logo and your title as the name, so the generated entity matches what users already associate with your brand.
Schema.org @context and @type — Sets the correct https://schema.org @context and explicit @type on each object so parsers recognize the markup as standard Schema.org vocabulary.
Common issues we catch
No structured data at all — Many sites ship zero schema, leaving search engines to infer your business name, logo and search action from raw HTML. Adding Organization + WebSite gives them an explicit, machine-readable description of who you are.
JSON-LD placed in the body instead of the head — Schema works in either the <head> or <body>, but a common mistake is dropping it inside a visible element where a builder strips or escapes it. Keep it in a clean <script> tag so the JSON isn't mangled.
Invalid JSON breaking the whole block — A single stray comma, smart quote or unescaped character makes the entire JSON-LD block invalid, so Google ignores all of it. Hand-written schema is especially prone to this — generated, indented JSON avoids it.
Duplicate Organization across plugins — SEO plugins, theme settings and a manual snippet can each emit an Organization, leaving conflicting names or logos. Check the 'existing structured data' count before adding more so you consolidate instead of duplicate.
SearchAction target pointing at the wrong URL — The Sitelinks search box only works if the SearchAction target matches your real on-site search URL pattern. The generated default uses /?s={search_term_string} — swap it for your actual search path if it differs.
Logo that doesn't meet Google's requirements — Google prefers a logo that's a real, crawlable image of reasonable size. A tiny favicon may be accepted as a placeholder but a proper square logo image gives the strongest result — replace the prefilled value if needed.
Schema describing a different entity than the page — If you reuse one snippet across very different brands or subdomains, the Organization name and URL can drift from the page they're on. Each distinct brand should carry its own matching Organization markup.
Where this matters
Google rich results — Google reads JSON-LD to power brand Knowledge Panels and the Sitelinks search box. Organization and WebSite are the two foundational schemas it looks for on a homepage.
Bing — Bing also consumes Schema.org JSON-LD for entity understanding and enhanced results, so the same markup helps you across both major engines.
WordPress, Shopify, Wix & Squarespace — Paste the blocks into a header/footer code injection area or an SEO plugin's custom-schema field. Most platforms support a sitewide <head> snippet without touching theme files.
AI assistants & answer engines — ChatGPT, Perplexity and Gemini increasingly lean on structured data to identify the entity behind a site, so clean Organization markup helps them attribute answers to your brand.
Rich Results Test & Schema validators — The output is standard JSON-LD that validates cleanly in Google's Rich Results Test and the Schema.org validator, so you can confirm it's eligible before going live.
Frequently asked questions
What is JSON-LD structured data?
JSON-LD is a way to describe your business and site to search engines using a small block of JSON wrapped in a <script type="application/ld+json"> tag. It tells engines facts they'd otherwise have to guess — your name, logo, URL and search action. Google recommends JSON-LD over older formats because it's the easiest to add and maintain.
Where do I put the generated schema?
Paste both <script> blocks into your page's <head>, or into a sitewide header/footer area so they appear on every page. Most CMSs and SEO plugins have a 'custom code' or 'custom schema' field for exactly this — you don't need to edit theme files directly.
What is the WebSite SearchAction for?
It's the markup behind the Sitelinks search box — the small search field Google sometimes shows under your homepage for branded queries. It points to your site's own search results URL so users can search your site directly from Google. It only appears when Google chooses to show it.
Will adding schema improve my rankings?
Structured data isn't a direct ranking factor, but it makes your site eligible for rich results and helps engines and AI assistants understand your brand entity confidently. That clarity and the enhanced appearance can improve clicks, which is the real benefit.
Do I need to change anything in the generated code?
Usually just confirm the name, logo and description look right, and update the SearchAction target if your site search URL isn't /?s=. If a value is wrong because we couldn't read it from your page, edit it in the JSON before publishing.
How do I know it's working?
Run your URL through Google's Rich Results Test or the Schema.org validator — both will parse the JSON-LD and flag any errors. After it validates, request indexing in Search Console so Google re-crawls and picks up the markup.
Can I add other schema types too?
Yes. Organization and WebSite are the foundation, but you can layer on more specific types like LocalBusiness, Product, Article or FAQPage on the relevant pages. Start with the foundation here, then add page-specific schema where it fits.
Will this duplicate schema my plugin already adds?
It might, which is why the generator reports how many JSON-LD blocks already exist on the page. If your SEO plugin already emits an Organization, either disable that or skip the Organization block here so you don't send conflicting entities.
This is one of several free SEO tools from Custom Web Audits.
For a complete, prioritized analysis of your whole website,
run a full audit.