Schema Markup Generator
Need FAQ, Article, Product, Local Business, Organization or Breadcrumb? Use the dedicated FHSEO Hub generators for those.
Tip: validate with Google's Rich Results Test after publishing.
FREE TOOL · NO SIGN-UP
This schema markup generator writes valid JSON-LD structured data from a simple form. Choose a schema.org type (WebSite, WebPage, Person, Event, Service, Video, How-To, Recipe, Software/App or Course), fill in the fields, and the code appears instantly inside a ready-to-paste script tag. Empty fields are left out automatically, so the output stays clean. Copy it or download it, add it to your page, and test it before publishing. No coding knowledge is needed.
What Schema Markup Is and How Search Engines Read It
Schema markup is code that describes the content of a page in a structured, machine-readable way. It uses a shared vocabulary from schema.org, a project backed by Google, Microsoft, Yahoo and Yandex. Instead of guessing that a page is about an event, a search engine can read that the page describes an Event with a start date, a venue and a ticket price.
That structured data helps with two things. First, entity understanding: search engines can connect your page to real people, organizations, places and products. Second, search appearance: Google uses some types to show rich results, such as recipe cards with cooking times, event listings or video thumbnails.
Search engines read schema alongside the visible page, not instead of it. Google’s structured data guidelines require that markup describes content users can actually see. Marking up information that isn’t on the page, or that is misleading, can make the page ineligible for rich results and may lead to a manual action.
Why JSON-LD Is the Preferred Structured Data Format
Structured data can be written in three formats: JSON-LD, Microdata and RDFa. Microdata and RDFa add attributes directly to your HTML tags, which mixes the markup with your layout and makes it easy to break during a redesign.
JSON-LD sits in a separate <script type="application/ld+json"> block. It doesn’t touch your visible HTML, so you can add, edit or remove it without changing the page design. It is also easier to read, generate and debug.
Google Search Central recommends JSON-LD where your setup allows it, and it is the format this generator produces. Each output includes the @context set to https://schema.org, the @type you selected, and only the properties you filled in. The script tag can go in the head section or the body; Google reads both.
Schema Types You Can Generate
This generator covers ten schema types from one form: WebSite (with an optional site search action), WebPage, Person, Event, Service, VideoObject, HowTo, Recipe, SoftwareApplication and Course. The form shows only the fields that apply to the type you pick.
Some common types have their own dedicated FHSEO Hub generators with more fields, because they need nested types such as addresses, opening hours or offers. The sections below explain where each popular type fits.
Organization, Person and LocalBusiness
Person is built into this generator. Add a name, URL, description, image, job title, the organization the person works for, and social profiles as sameAs links, one per line. It suits author pages and personal sites.
Organization markup describes a company: name, logo, contact details and profiles. It can feed a knowledge panel and helps Google connect your brand to its official channels. Use the Organization Schema Generator for it.
LocalBusiness adds an address, phone, geo-coordinates and opening hours for shops, clinics and service businesses. The Local Business Schema Generator handles those details.
Article, Product and Event
Event is built in. Enter start and end times, choose in person, online or mixed attendance, then add the venue (or online URL), address, ticket price and organizer. The event status is set to scheduled automatically.
Article markup describes blog posts and news stories with a headline, author, publish date and image. Use the Article Schema Generator.
Product markup covers price, availability, brand and reviews for ecommerce pages, which can enable product rich results and merchant listings. Use the Product Schema Generator, which handles offers and aggregate rating in more detail.
FAQPage and BreadcrumbList
FAQPage marks up a list of questions and answers. Google stopped showing FAQ rich results in May 2026, but the markup can still help other systems read your Q&A content. Build it with the FAQ Schema Generator.
BreadcrumbList describes a page’s position in your site hierarchy and can replace the plain URL in search results with a readable trail. The Breadcrumb Schema Generator creates it.
How to Generate and Add Schema Markup
- Pick the schema type that matches the main content of the page. One page can carry several types, but start with the primary one.
- Fill in the common fields. Name or title is required. URL, description and image URL are recommended for almost every type.
- Complete the type-specific fields. The form shows only relevant inputs: job title and profiles for Person; dates, venue and price for Event; provider, area served and service type for Service; upload date, duration, file and embed URLs for Video; time, yield, supplies or ingredients and steps for How-To and Recipe; category, operating system, price and rating for Software.
- Check the code. The JSON-LD updates live. Durations are converted to ISO 8601 format (for example, 30 minutes becomes
PT30M) and lists become proper arrays. - Adjust the currency if needed. Event and software prices are written in USD. If you charge in another currency, change
priceCurrencyin the code to the correct ISO code, such asEURorPKR. - Copy or download the snippet.
- Add it to the page. In WordPress, use a header/footer code plugin, a custom HTML block, or your SEO plugin’s schema feature. On other sites, paste it into the template’s head section or body.
Everything runs 100% in your browser. Nothing you enter is uploaded.
Testing Code With the Rich Results Test
Always test markup before and after publishing. Google offers two tools:
- Rich Results Test (search.google.com/test/rich-results) checks whether your markup qualifies for Google’s rich results. Paste the code or a live URL. It flags missing required properties as errors and missing recommended properties as warnings.
- Schema Markup Validator (validator.schema.org) checks any schema.org markup against the vocabulary, including types Google doesn’t use for rich results.
Errors must be fixed for the page to be eligible. Warnings are optional, but filling in recommended properties gives Google more to work with. After the page is live, Search Console’s Enhancements reports show valid items and errors across your whole site for the supported types.
Rich Results, Rankings and AI Overviews
Schema markup is not a direct ranking factor. Google has said repeatedly that structured data doesn’t raise rankings by itself. What it can do is make a page eligible for rich results, which take up more space and can improve click-through rate.
Eligibility also changes over time. Google has retired several displays: How-To rich results in 2023, the sitelinks search box in late 2024, Course info in 2025 and FAQ rich results in 2026. The markup is harmless to keep, but those types no longer change how results look in Google. Recipe, Event, Video, Software and Product rich results are still supported.
For AI Overviews and other AI search features, Google says no special markup is required. Structured data still helps machines read facts like prices, dates and authors accurately, and many systems beyond Google parse schema.org data.
Structured Data Errors to Avoid
- Marking up hidden content. Every value should match something visible on the page.
- Wrong type for the page. Product markup on a category page, or Recipe markup on a roundup article, breaks Google’s guidelines.
- Missing required properties. Each rich result type has required fields. Check them in the Rich Results Test.
- Fake or self-serving reviews. Ratings must come from real users. Google ignores self-serving review markup for businesses about themselves.
- Bad dates and durations. Use ISO 8601 formats. This generator converts minutes to durations for you.
- Relative URLs. Image and page URLs should be absolute, starting with
https://. - Duplicate conflicting blocks. A theme, plugin and manual snippet can all output schema. Check the page source and remove duplicates.
- Invalid JSON. A missing comma or quote breaks the whole block. Copy the generated code as-is rather than retyping it.
When Schema Will Not Help a Page
Schema can’t fix weak content, poor rankings or a page that doesn’t match search intent. It also won’t produce rich results for types Google doesn’t support, or for pages Google doesn’t consider high quality. If a page isn’t indexed or ranking at all, work on the content and internal links first. Add structured data once the page itself deserves to be shown.
Matching Markup to Visible Page Content
The best schema simply restates what the page already shows, in a format machines can read. Generate it, test it, and update it when the page changes. For specific types, use the FAQ Schema Generator, Organization Schema Generator and Local Business Schema Generator, or browse all tools on the FHSEO Hub free SEO tools page.
