Structured data is the only part of on-page SEO where being almost right counts as being wrong. A missing comma does not degrade a block of JSON-LD, it invalidates the whole thing, and nothing on the page warns you. The markup simply gets ignored while you assume it is working.
That fragility is the reason a form beats a text editor for this job. You supply the facts, the generator handles the syntax, and the output is valid by construction rather than by careful proofreading.
On this page
Why the Syntax Is Worth Handing Over
JSON-LD sits inside a script tag and uses the schema.org vocabulary to state facts about a page in a form a machine can read directly, rather than inferring them from layout. A heading that visually reads as a business name is a guess for a parser. A name property is not.
The format itself is unforgiving: nested braces, quoted keys, commas between properties but never after the last one, and a type declaration that has to match a real schema.org type. Writing it by hand is perfectly possible and routinely goes wrong, usually during a later edit rather than the original build. Using a schema generator removes that class of error entirely, which leaves you free to worry about whether the facts are correct, the part no tool can check.
The LocalBusiness Tab
Free tool: see which AI crawlers can read your site, and which are blocked. Run the AI crawler check
The first tab covers a single physical location, which is the right scope: one page, one place.
The business type dropdown is the field worth slowing down for. It offers a long list of specific types, from dentist and veterinary care through to roofing contractor and hair salon, and the guidance is to pick the most specific type that genuinely applies, falling back to the general local business option only when nothing fits. A specific type carries more meaning than a generic one.
Address fields split into street, city, state or region, postal code and country code, which is how the vocabulary expects them rather than as one free text line. Latitude and longitude are optional. Google requires the name and address, and recommends the phone, website, hours and coordinates, so the optional fields are worth filling when you have them.
Opening hours work through grouped sets. Tick the days that share the same hours, then add another set for days that differ, and leave every day unticked if you would rather omit hours entirely. That structure matches how real businesses actually operate, with weekday and weekend patterns rather than seven identical entries.
Filling it in takes a minute, and the output appears below.
Reading the generated code is a useful education in itself. The business becomes a LocalBusiness type, the address becomes a nested PostalAddress, the coordinates become GeoCoordinates, and the hours become an openingHoursSpecification array with day names and opening and closing times. Blank fields are left out rather than included as empty strings, which keeps the block clean.
One rule sits outside the tool’s control and matters more than any field: the details must match both the page and your Google Business Profile. Markup that contradicts your visible content is worse than no markup.
The FAQ Tab
The second tab handles question and answer content, with a hard limit of ten pairs.
The instruction above the fields is the one people ignore: use the same questions and answers that are visible on the page. FAQ markup describes content, it does not create it. Marking up questions that a visitor cannot see is a guideline violation rather than a shortcut.
Each pair becomes a Question with a nested acceptedAnswer in the output.
Generated FAQPage JSON-LD with question and accepted answer objects
The structure is an FAQPage containing a mainEntity array, with each entry holding the question text and an Answer object carrying the answer text. Straightforward to read, tedious to type correctly ten times over.
Now the honest part, which the tool states plainly rather than burying. Since 2023, Google has shown FAQ rich results only for a limited set of well-known government and health sites. For most businesses the markup will not produce the expanded accordion in search results, and anyone promising otherwise is selling something. It remains worth adding as a clear machine readable statement of what your page answers, which has value for systems other than Google’s rich result display, but it should not be sold internally as a visual upgrade to your listing.
| LocalBusiness | FAQPage | |
| Use it on | The page for one physical location | A page with visible questions and answers |
| Required by Google | Name and address | Questions and answers present on the page |
| Recommended extras | Phone, website, hours, coordinates | None, but keep answers concise |
| Rich result chance | Supports local presentation when details are consistent | Limited to specific government and health sites since 2023 |
| Common mistake | Details that disagree with the Google Business Profile | Marking up questions not visible to visitors |
Where the Code Goes, and How to Check It
Paste the complete script tag into the HTML of the page it describes, in either the head or the body. Both work. Most site builders and WordPress SEO plugins provide a field for custom code or structured data, which is usually the cleanest place to put it.
Then verify. Google’s Rich Results Test accepts either pasted code or a published URL, and it reports errors along with which rich results the markup is eligible for. This generator does not call that test, so verification is a separate deliberate step rather than something to assume.
Two further practical notes. The generator runs in your browser and sends nothing to SEO Sets, so drafts for unpublished pages are safe to build. And the free version covers LocalBusiness and FAQ only, with Article, HowTo, Breadcrumb and Organization markup sitting in the fuller version.
What Structured Data Will Not Do
Valid markup makes a page eligible for a rich result. It does not guarantee one, and it does not improve rankings on its own. It also cannot rescue content that fails to answer the question it claims to answer.
The sequence that works is to get the content right first, then describe it accurately in markup, then test and fix any errors reported. Reversing that order produces beautifully structured descriptions of pages nobody wants to read.
Frequently Asked Questions
Where exactly does the code go?
Inside the HTML of the page it describes, in the head or the body. A custom code or structured data field in your CMS or SEO plugin is usually the most maintainable spot.
Will FAQ markup give me rich results?
For most sites, no. That display has been restricted to a limited set of government and health sites since 2023.
How do I confirm the markup is valid?
Run it through Google’s Rich Results Test, either as pasted code or as a live URL after publishing.
Final Thoughts
Structured data is unglamorous work with a low ceiling and a very low floor. Done well it quietly confirms what your page says. Done by hand at the end of a long day it silently fails and nobody notices for a year.
Fill the form for your main location page, paste the block in, and run the Rich Results Test before you move on. Every free tool on SEOsets.com works without an account, so while you are there, check the same page’s title and description pair and you will have cleared two of the three on-page basics in one sitting.
Free, no signup
Is your site blocking the AI crawlers that cite you?
The free AI crawler check reads your robots.txt and requests your page as GPTBot, ClaudeBot, PerplexityBot and the other AI crawlers, so you can see who gets in and who gets blocked.
Run the free checkSee all free tools



