JSON-LD Basics

Introduction to structured data for SEO rich results.

What is JSON-LD?#

JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for implementing Schema.org markup. It helps search engines understand your content and display rich results.

Without Schema

example.com/restaurant
Joe's Pizza
Best pizza in Austin. Visit us today...

With Rich Results

example.com/restaurant
Joe's Pizza
★★★★☆ 4.2 (156)
$$ · Pizza · Austin, TX · Opens 11AM

Why Use Schema Markup?#

Rich Results

Stars, prices, images, and more in search

Better CTR

Rich results get 30%+ more clicks

Voice Search

Better compatibility with assistants

Knowledge Panel

Appear in Google's knowledge graph

Basic Structure#

JSON-LD is embedded in your HTML using a <script> tag:

index.html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Joe's Pizza",
  "image": "https://example.com/photos/joes-pizza.jpg",
  "telephone": "+1-555-123-4567",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "Austin",
    "addressRegion": "TX",
    "postalCode": "78701"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 30.2672,
    "longitude": -97.7431
  },
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
    "opens": "11:00",
    "closes": "22:00"
  }
}
</script>
Testing Your Schema
Use Google's Rich Results Test to validate your JSON-LD and preview how it will appear in search.

Supported Schema Types#

dataclean.to generates JSON-LD for these popular Schema.org types:

LocalBusiness
Product
FAQPage
Recipe
Event
JobPosting
Article
Organization
Person
Place
Review
HowTo

How dataclean.to Helps#

We automatically generate valid JSON-LD from your cleaned data:

1

Upload your data (CSV, Excel, or Google Sheets)

2

Select a schema template (LocalBusiness, Product, etc.)

3

Map your columns to schema properties

4

Export or fetch via API with embedded _schema

API Response
// API response includes _schema for each item
{
  "data": [
    {
      "id": "row_123",
      "name": "Joe's Pizza",
      "phone": "+15551234567",
      "_schema": {
        "@context": "https://schema.org",
        "@type": "LocalBusiness",
        "name": "Joe's Pizza",
        "telephone": "+15551234567"
      }
    }
  ]
}