Structured Data Generator by Yoshinya
Everyone says structured data is a must for SEO — but nobody says how to write it, or where on the site it goes. Sound familiar? Structured data is JSON-LD that tells search engines and AI what a page is — who wrote this article, where this shop is. It is what qualifies a result for rich results like ratings and prices, and lately it is credited with helping AEO too: making a page easier for AI answers to cite. With Structured Data Generator by Yoshinya you do not need to know how to write it. Pick the type, fill in the fields you know, and valid JSON-LD builds as you type, with a note on which page and where to paste it. Then paste the code into your site. Nothing you enter is sent to a server; it all stays in your browser, so a company address or phone number is safe to type here.
- Free
- No sign-up
- Processed in your browser
🔒 Nothing you enter is sent to a server. All processing happens in your browser.
① Choose a type
② Fill in the details
Google needs the fields marked “Required” for the rich result. Everything else is optional — leave blank what you don’t have, and it simply won’t appear in the code.
③ Copy the code
<!-- Structured data: Article (Article) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article"
}
</script>Guide
How to use the tool
- Choose the type under ① Choose a type — an article, your organization, a local business, an FAQ, a breadcrumb trail or a product.
- Fill in what you have under ② Fill in the details. Fields marked Required are what Google needs for the rich result; anything left blank is simply left out of the code.
- The code under ③ Copy the code updates as you type. Press Copy code and paste it into the page described under Where to paste it.
- Check the page with the Rich Results Test link. If a field is reported missing, come back, fill it in, and paste again.
When is it useful?
- You want the star rating, price or FAQ dropdown to show under your result in Google.
- You built a site for a client and structured data is the last item on the handover list.
- Your SEO plugin handles articles but not the shop’s address, opening hours or the product you sell.
- You have copied a JSON-LD snippet from somewhere and are not sure which fields to keep.
- You know what to write but not which page it goes on, or where in the HTML.
What structured data is
Structured data is a block of JSON-LD in a page that describes, in a vocabulary search engines agree on (schema.org), what the page is about: this is an article by this author on this date, this is a shop at this address open these hours. Visitors never see it. Search engines use it to understand the page and, when the type qualifies, to show a richer result — a rating, a price, a breadcrumb trail instead of a URL. It does not raise a ranking by itself; it makes the result clearer and more likely to be clicked. More recently it is also credited with helping AEO — answer engine optimization — since a page whose facts are stated in a machine-readable form is easier for AI answers to draw on and cite.
Which type to use
- Article
- Blog posts and news. Goes on each post with its own headline, date and author. Choose Blog post for a blog and News article for a news site.
- Organization
- Who is behind the site: name, logo, contact details, and the social profiles that belong to the same organization. Once, on the homepage.
- Local business
- A place people visit — a shop, restaurant, clinic, salon or hotel. The address is required; add opening hours, phone and coordinates for the map result.
- FAQ page
- Questions and answers that are visible on the page. Note that since 2023 Google shows the FAQ rich result only for well-known government and health sites; the markup still helps search engines read the page, but do not expect the dropdown.
- Breadcrumb list
- The Home › Section › Page trail. Google shows it in place of the URL under your result. One block per page, listing that page’s own trail.
- Product
- One product with a price, currency and availability, and optionally a rating. Goes on the product page itself — not on a category page.
Where the code goes
Inside the page’s <head>, right before </head> (after the <title> and <meta> tags), is the usual place; if your platform only lets you edit the body, right before </body> works just as well. The block must be on the page it describes: an article’s data on that article, a product’s on that product, and the organization on the homepage only. The same block can sit alongside others — a product page can carry both Product and BreadcrumbList. On WordPress, look for a custom schema or header-code field in your SEO plugin (Yoast, Rank Math, All in One SEO) or add a header-insertion plugin; on Shopify, Wix, Squarespace or STUDIO, the per-page custom code or header setting.
Privacy and security
What you type — names, addresses, phone numbers — is turned into code inside your browser and is not sent to a server. It is remembered on this device for 30 days so a company’s details do not have to be typed again, and Clear this form removes it sooner. The analytics record only which type was chosen and that a copy happened, never the values.
Frequently asked questions
- Does structured data improve my ranking?
- Not directly. Google has said it is not a ranking factor. What it does is make your result eligible for a richer display — a rating, a price, a breadcrumb — which tends to earn more clicks from the same position.
- Do I have to fill in every field?
- No. Fill in what you have. The fields marked Required are the ones Google needs before it will show the rich result; everything else is optional, and a blank field is simply left out of the code rather than emitted empty.
- Where in the HTML does it go?
- Right before </head> is the convention, and right before </body> also works if you cannot edit the head. What matters more is which page: the block must describe the page it sits on.
- Can I put two types on one page?
- Yes. Generate each one separately and paste both blocks; a product page commonly carries Product and BreadcrumbList. Only Organization should stay on the homepage alone.
- How do I know it works?
- Open Google’s Rich Results Test, paste the URL of the page (or the code itself), and it tells you which rich result the page qualifies for and which required fields are missing. The Schema Markup Validator checks the markup against schema.org without Google’s rules on top.
- Why does the FAQ type say the dropdown may not appear?
- In 2023 Google limited the FAQ rich result to well-known government and health websites. The markup is still valid and still helps search engines understand the page, but on most sites the expandable questions will not show under the result.
- Is what I type sent anywhere?
- No. The code is built in your browser, and your entries are saved only in this browser’s storage for 30 days. Nothing is uploaded, and the analytics carry only the type you chose and a count of copies.
