Structured data generatorCreate JSON-LD code that Google understands.
Choose a type and fill in the form; your schema.org code builds as you type. We mark the fields Google requires for rich results and show address, date, price and currency errors before you publish.
Free, no account needed. Your data is processed in your browser and isn't sent to the server.
Preparing output…
Step-by-step guide
- Choose the type. Choose the type according to what the page is about, not what the site is:
Productfor a shop's product page,OrganizationandWebSitefor the same shop's home page. The note below the selection summarises where that type should be added and which properties Google requires. The selected type is written to the address bar (?tur=Product); if you send the link to a colleague, the form opens with the same type. - Fill in the required fields. If fields marked with an asterisk are left empty, the code is still generated, but a critical finding appears in the checks. Fields labelled "recommended" are information Google recommends; any left empty are listed in a single info note.
- Follow the checks list. The list below the code block updates as you type and orders the findings from critical to passed. The badge in the panel heading counts only critical findings and warnings; it can say "No issues" even when there are info notes, so read the whole list.
- Get the code. Use "Copy" to put it on the clipboard or "Download" to save it as a file such as
yapisal-veri-product.html. The code comes wrapped in the<script type="application/ld+json">tag; you don't need to wrap it yourself. - Publish and test. After adding the code to the page, check the live page with the "Structured data checker" button at the bottom of the panel. If you entered the page's full URL in the form (the product page URL for products, the ticket URL for events), the button opens that address directly.
Form data is kept only in this tab. When you switch between types, each type's values are kept, but if you reload the page, the values you entered are lost.
How do you fill in date, time and number fields?
You enter dates and times with your browser's picker; the tool converts the value to ISO 8601 and adds your computer's time zone. In Türkiye, 6 November 2026 at 09:00 appears in the code as 2026-11-06T09:00:00+03:00. If the event takes place in another time zone, enter the time in that location's local time and correct the +03:00 part of the code by hand.
In number fields such as price, rating and shipping cost, Turkish writing habits cause no trouble: if you type 1.299,90, the tool writes it into the code as 1299.9 and reports this in an info note. It stops only at ambiguous values such as 1.299 and shows a warning: since the dot is the decimal separator in structured data, this value is read not as one thousand two hundred and ninety-nine but as one point two nine nine. If you see the warning, type 1299.
Common problems and how to fix them
Writing TL or ₺ as the currency
The currency field requires an ISO 4217 code: TRY for the Turkish lira. If you type TL or ₺, the code is still generated, but a critical finding appears and the product is not eligible for rich results as it stands. The field converts lowercase letters to uppercase automatically; typing try is enough.
The code has been added to every page
Pasting organisation or product code into the theme's shared header template puts the same markup on every page of the site; the product code also appears on category and blog pages, where it doesn't match the content. Add each piece of code to the page it belongs to: Organization and WebSite to the home page, Product to the relevant product page, Article to the relevant post. In WordPress, for a block that should appear only on the home page, you can add code like this to the theme's functions.php file:
add_action( 'wp_head', function () {
if ( ! is_front_page() ) {
return;
}
$veri = array(
'@context' => 'https://schema.org',
'@type' => 'WebSite',
'name' => 'Örnek Site',
'url' => home_url( '/' ),
);
echo '<script type="application/ld+json">' . wp_json_encode( $veri ) . '</script>';
} );
Short URLs in the breadcrumb
It is tempting to enter short addresses such as / or /cantalar in the BreadcrumbList items, but the tool treats them as critical: "Items, row 1: URL" must be an absolute URL. Write each item's address in full, as in https://www.magaza-ornek.com/cantalar. The last item is the current page; its address is optional and, if you leave it empty, it is omitted from the code. Make the item names match the breadcrumb visible on the page.
A job title or several names in the author field
For the article type, a value like "By: Ayşe Yılmaz, Editor" gets the "Enter each author on a separate row" warning. Write only the person's name in the name field; if there is a second author, open a new row with "Add author" and add the profile page URL if there is one. The same form also warns you if the modified date is earlier than the publication date; when you update a post, change only the dateModified value.
Example: local business code for a neighbourhood bakery
Imagine you are preparing code for "Çınar Fırın", a fictional bakery in Karşıyaka, İzmir. When you choose the type "Local business (LocalBusiness)" and the business type "Bakery or patisserie", the @type value in the code becomes Bakery. Once you fill in the name, street, district and province fields and enter the phone as 0232 555 00 00 and the coordinates as 38.4551 and 27.1127, the checks list looks like this:
- Info: Write the phone number with the country code.
- Info: Enter coordinates with at least five decimal places.
- Info: Recommended fields are empty: Website, Image URLs, Price range, Postal code.
- Passed: Required fields are complete.
The badge says "No issues" and the code is valid as it stands; but the info notes say that information useful for local results is missing. What to do:
- Write the phone number as
+90 232 555 00 00. - In Google Maps, right-click the bakery's location and copy the coordinates with at least five decimal places.
- Fill in the website, shop window photo, postal code and price range (
₺) fields. Make the details match those in your Google Business Profile exactly. - Add two rows to the opening hours: "Monday–Saturday" 07:00–20:00 and "Sunday" 08:00–14:00. In the code, the first row groups the six days in a single
dayOfWeeklist. - Add the code only to your home page or contact page, and after publishing, check it with the "Structured data checker" button.
Frequently asked questions
What is structured data (schema)?
Structured data is code that describes the information on your page in a way search engines can understand unambiguously, such as "this is a product, it costs $49.99, it's in stock". It's written with the Schema.org vocabulary, and the format Google recommends is JSON-LD. Correctly marked-up pages become eligible for rich results that show star ratings, prices, event dates or breadcrumbs.
How do I add the code to my page?
Paste the generated <script type="application/ld+json"> block into the page's <head> or <body> section. In WordPress, you can add it to your theme file, a code snippets plugin or your SEO plugin's custom schema field. Put markup describing each page on that page: product code on the product page, organization and website code on the homepage.
Will structured data improve my rankings?
It isn't a direct ranking factor; its effect is on how you appear. Rich results showing ratings, prices or dates can increase click-through rate. Google uses markup only if it's consistent with information actually visible on the page: marking up reviews that aren't on the page, or misleading prices, can lead to a manual action. Valid code also doesn't guarantee that a rich result will be shown.
How do I test the code?
Before publishing, you can paste the code into Google's Rich Results Test. After publishing, use our Structured data checker to see all JSON-LD blocks on the page, missing fields and errors; the rich result reports in Search Console also list markup errors on your site over time.
Learn more about this topic: Structured data guide