DevKits

application/*

application/ld+json

File extensions: .jsonld

JSON for Linked Data — semantic web / Schema.org markup embedded in HTML.

What is application/ld+json?

application/ld+json is a JSON-based serialization for Linked Data. It is what you use when embedding Schema.org structured data inside a <script type="application/ld+json"> tag on an HTML page — the standard way to feed Google rich results.

Typical usage

Embed inside HTML for SEO structured data (FAQPage, Article, Product, HowTo). Also served by APIs that expose semantic data.

Common gotchas

Google Search Console will not accept plain application/json for structured data — the +json suffix distinguishes it as Linked Data and is required for rich-result eligibility.

HTTP header example

Response header

Content-Type: application/ld+json; charset=utf-8

Reference

W3C JSON-LD 1.1

Frequently asked questions

What is the application/ld+json MIME type?

application/ld+json is a JSON-based serialization for Linked Data. It is what you use when embedding Schema.org structured data inside a <script type="application/ld+json"> tag on an HTML page — the standard way to feed Google rich results.

What file extension does application/ld+json use?

Files served as application/ld+json typically use the extension .jsonld. The most common is .jsonld.

How do I set the Content-Type for application/ld+json?

Send the HTTP response header Content-Type: application/ld+json; charset=utf-8. Embed inside HTML for SEO structured data (FAQPage, Article, Product, HowTo). Also served by APIs that expose semantic data.

Is application/ld+json an official MIME type?

Yes. application/ld+json is officially registered with IANA (W3C JSON-LD 1.1), so standards-conformant clients recognize it.

What are common mistakes with application/ld+json?

Google Search Console will not accept plain application/json for structured data — the +json suffix distinguishes it as Linked Data and is required for rich-result eligibility.

Related MIME types

Handle application/ld+json with these tools