The schema markup generator on this page builds valid JSON-LD structured data for six of the most commonly used schema.org types — LocalBusiness, Organization, Article, Product, Person, and Event — without requiring you to memorize a single property name. You pick the type, fill in plain-language fields, and the tool assembles a <script type="application/ld+json"> block you can paste straight into your page's <head> or before the closing </body> tag.
Structured data will not move rankings on its own, but it can make a listing eligible for richer display in search results. Replace every sample value with your real details before publishing: the form is pre-filled with placeholders, including a fake phone number and address.
What This Schema Markup Generator Does
Structured data is a standardized vocabulary, maintained at schema.org, that describes the meaning of content on a page in a format search engines can parse directly. A human reading your page understands that "4.8 stars, 126 reviews" refers to a product rating. A search engine crawler, without help, just sees text. JSON-LD wraps that same information in a machine-readable format so Google, Bing, and other consumers of the web (including AI assistants that summarize pages) can extract it reliably.
This tool covers the six schema types that small and mid-sized businesses need most often: a LocalBusiness listing for a storefront or service area, an Organization block for your company as a whole, Article markup for blog posts and news content, Product markup for anything you sell, Person markup for author or team bios, and Event markup for webinars, workshops, or in-person gatherings. Each type shows only the fields relevant to it, so you're never stuck guessing which schema.org property maps to which real-world detail.
How to Use It
- Choose your schema type. Pick the option that matches the page you're marking up — a homepage or contact page usually wants LocalBusiness or Organization, a blog post wants Article, a sales page wants Product.
- Fill in the fields. Replace the sample values with your real business details. Every field maps to a specific schema.org property, so accuracy matters — this is data search engines will treat as fact about your page.
- Click Generate Schema. The tool assembles a complete, properly nested JSON-LD object and drops it into the code box.
- Copy the code. Use the Copy Code button, then paste the entire block — including the surrounding script tags — into your page's HTML.
- Validate it. Before you consider the job done, run the live page through Google's Rich Results Test to confirm there are no errors or warnings.
How the JSON-LD Is Built
Behind the scenes, the generator constructs a JavaScript object with an @context of https://schema.org and an @type matching your selection, then attaches the properties schema.org defines for that type — name, address, telephone, and so on for LocalBusiness; headline, author, datePublished for Article; offers and aggregateRating for Product. It then serializes that object to a formatted JSON string and writes it inside a script tag with type="application/ld+json". This is the exact format documented in Google's structured data introduction, which says it recommends JSON-LD where your site's setup allows it (Microdata and RDFa are also accepted if valid).
A subtlety worth understanding: Google's introduction describes structured data as a way to become eligible for "rich results" such as star ratings, event details or breadcrumb trails, and it does not present it as a ranking boost. Rich results can make a listing more engaging, and whether that lifts clicks depends on the page, so measure it in Search Console rather than assuming.
Why LocalBusiness and Organization Are Not the Same Thing
People often use these interchangeably, and schema.org actually defines LocalBusiness as a subtype of Organization that adds physical-location properties like address, telephone, and openingHours. If you run a business with a storefront, service area, or office customers can visit, use LocalBusiness — it describes the physical details of that location. If you're marking up a purely digital brand with no physical location tied to the listing, Organization is the cleaner choice. Inventing an address to satisfy the schema is misleading markup, since Google's structured data policies require markup to be a true representation of the page. Note that this generator always writes addressCountry as "US"; edit the output if your business is elsewhere.
Article Schema and E-E-A-T Signals
Article markup does more than register a headline. The author property, when it points to a real person with their own Person schema or bio page, can help search engines connect a post to a named author. E-E-A-T (experience, expertise, authoritativeness, trust) is a concept from Google's quality rater guidelines, and markup is not a switch that grants it: what matters is a real author with a real bio page. Pairing Article schema with Person schema (this tool builds both) simply makes that connection explicit. Note that this tool's Article output nests only the author's name, not a link to a Person entity.
Product Schema and Review Rich Results
Product schema's offers and aggregateRating blocks are what let a star rating and price appear directly in a search result for an e-commerce page. Google's structured data policies say not to mark up content that is not visible to readers, and they warn that ratings not from real users may lead to a manual action. If you don't have genuine reviews, set the review count to 0: this generator then leaves out the aggregateRating block entirely. The rating and review-count fields start empty, so no rating is emitted unless you enter real figures (a rating from 1 to 5 and a review count above 0).
Testing and Troubleshooting Your Markup
Once your JSON-LD is live, don't assume it's correct just because the page didn't visibly break. Paste your page URL into Google's Rich Results Test, which reads the structured data and flags missing required properties, type mismatches, or malformed JSON. It's common to see warnings for optional-but-recommended fields (like image on an Article) even when the required fields are all present — those are worth fixing but won't block rich-result eligibility. Also avoid duplicate or conflicting blocks describing the same entity on a page, since they make the data ambiguous.
Structured data can be added at template level rather than page by page. Arb Digital's SEO services include technical SEO work.
See Our SEO Services All Free ToolsSchema Types Worth Knowing Beyond These Six
LocalBusiness, Organization, Article, Product, Person, and Event cover the large majority of what a typical business site needs, but schema.org defines hundreds of types, and a few others come up often enough to mention. BreadcrumbList markup (which this very page uses) describes the navigation trail from your homepage down to the current page, and Google frequently displays it in place of a raw URL in search results.
Review and AggregateRating, often nested inside Product, have stricter eligibility rules than most people expect, and the ratings must come from real users. Check Google's review snippet documentation for which item types qualify. VideoObject describes embedded video and may make a video eligible for video results, which is worth checking if your pages include hosted video. If your site grows into territory these six types don't cover, the same general principle applies: describe only what's genuinely on the page, and check the specific type's required and recommended properties on schema.org before publishing.
Combining Multiple Schema Types With @graph
A single page often deserves more than one schema type at once — a blog post might reasonably carry Article, BreadcrumbList, and Person (for the author) simultaneously. Rather than stacking three separate <script> tags, a tidy alternative is a single JSON-LD block using the @graph array, where each entity sits as its own object inside one shared context.
This is exactly the pattern used in this page's own structured data, visible if you view this page's source: one @context, one @graph array, three distinct @type entries for WebApplication, BreadcrumbList, and FAQPage. When you use this generator for more than one type on the same page, it's worth manually merging the outputs into a single @graph block rather than pasting multiple separate script tags — both approaches are generally valid, and a single block is simply easier to maintain.
Keeping Schema in Sync as Your Site Changes
Structured data isn't a "set it and forget it" addition. If your business phone number changes, your Product price updates, or an Article gets a substantial rewrite, the schema needs to be updated at the same time as the visible content — not weeks later. A common failure mode is schema that was accurate on launch day and has since drifted: a LocalBusiness block still listing an old address, or Product schema showing a price that no longer matches checkout.
Beyond the policy risk, an outdated price in structured data can mislead users if it is ever shown in a result. Whenever you update a page's core facts, treat updating its schema as part of the same edit, not a separate follow-up task that's easy to forget.
Common Mistakes to Avoid
- Marking up content that isn't actually visible on the page — Google calls this "invisible content" and treats it as manipulative.
- Leaving placeholder or sample values (like a fake phone number) in the live markup after copying it from a generator.
- Publishing multiple conflicting schema blocks for the same entity across different pages of the same site.
- Forgetting to update the
datePublishedordateModifiedfields on Article schema when content is substantially revised. - Adding an
aggregateRatingwith no genuine reviews behind it. - Nesting the JSON incorrectly by hand-editing the generated code without validating it afterward.
Related Free Tools From Arb Digital
Pair this with the FAQ Schema Generator to mark up common questions, the Open Graph Tag Generator and Twitter Card Generator to control how pages look when shared on social platforms, the Meta Tag Generator for core on-page SEO tags, and the SERP Snippet Preview to see how your titles and descriptions will actually render in Google. Browse everything in our free online tools hub.
Worked Example With the Default Inputs
On load the form is set to LocalBusiness with the sample values shown (Arb Digital, https://arbdigital.agency, +1-555-010-2030, 123 Market St, New York, NY 10001). Press Generate Schema and the code box holds 18 lines: the opening script tag, a JSON object, and the closing tag. The status reads “Valid JSON-LD generated” and “LocalBusiness schema — 18 lines”. The object contains @context, @type, name, url, telephone, description and a nested PostalAddress with street, city, region, postal code and addressCountry: "US" (from the editable Country code field; clear it to leave the country out). The phone number is a fictional placeholder and the address is sample data, so neither should go live.
How to read your result
- “Valid JSON-LD generated” means the output is well-formed JSON. It does not mean Google will show a rich result, or that your facts are right.
- Empty fields are still written as empty strings. Remove properties you cannot fill in honestly before publishing.
- Product output includes
aggregateRatingonly when you enter a rating from 1 to 5 and a review count above 0; both fields start empty.
What to do next
- Replace the placeholders, paste the block into the page, and test the live URL in Google's Rich Results Test.
- Check that every value in the markup is also visible on the page.
- Add FAQ markup with the FAQ schema generator if the page has visible questions.
Frequently Asked Questions
Not directly. Google presents structured data as a way to become eligible for rich results such as star ratings, event details and breadcrumbs, not as a ranking boost. Whether a rich result improves click-through depends on the page, so measure it in Search Console.
If you have a physical location or service area customers interact with, use LocalBusiness. If you're a purely online brand or want to describe your company as a whole rather than one location, use Organization.
No. Focus on pages where rich results actually apply: your homepage or contact page for LocalBusiness/Organization, blog posts for Article, and any page selling a specific item for Product.
Yes. It's common to combine Organization and BreadcrumbList, or Article and Person, on a single page using the @graph array format, which this tool's own page markup demonstrates.
Warnings usually flag optional-but-recommended properties that aren't strictly required for eligibility. Errors mean a required property is missing or malformed and must be fixed for the rich result to show.
Google says it recommends JSON-LD where your site's setup allows it, and also accepts valid Microdata and RDFa. JSON-LD sits in its own script block apart from your visible HTML, which makes it easier to add and update.