Skip to content

JSON-LD output

Fill in name, URL, and description to generate Dataset schema.

This tool checks one thing. Our audit checks 190+.

DarnItSEO Audit scans your entire site and writes the fix instructions for every issue it finds. Included in every yearly plan.

Describing a data file so search tools can find it

This tool builds Dataset structured data in JSON-LD: the markup that describes a collection of data, such as a downloadable spreadsheet of survey results, a public statistics table, or a research data file, so that search engines can index it as data rather than as an ordinary article. You fill in the name, description and page URL, plus optional creator, license, keywords, publication date, time period, place, download link and file format, and the generator assembles a valid block as you type.

Dataset markup is what Google Dataset Search, Google's dedicated search engine for data, reads to list datasets from across the web. It describes data meant to be used, not prose meant to be read, which is why its most important fields are about scope, licensing and where to download the file.

Required fields and the ones that make data findable

Google requires only two properties: name and description. The description must be between 50 and 5,000 characters, and the generator shows a live count so you stay inside that range. A thin description is the most common reason a dataset is valid but practically invisible, because Dataset Search relies heavily on it to match queries. Say what each row represents, what period and place the data covers, and how it was collected.

The recommended properties do the rest. creator names the person or organisation responsible. license states how the data may be reused, ideally as a link to a recognised licence such as Creative Commons. distribution holds a DataDownload with a contentUrl for the file and an encodingFormat such as text/csv. temporalCoverage uses ISO 8601 dates or ranges like 2024-01/2026-02, and spatialCoverage names the place. Google also documents properties this form does not collect, including identifier (for a DOI), variableMeasured, version and citation; add those to the output by hand if you have them.

A filled-in Dataset block

This example uses every field the generator offers. Note the specific name, the description that explains what a row is, and a contentUrl that points at the CSV itself rather than at a landing page.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Dataset",
  "name": "UK Independent Coffee Shop Prices, 2024-2026",
  "description": "Monthly prices for a flat white, latte and filter coffee at 1,200 independent coffee shops across the UK, collected by in-store visits. One row per shop per month, with city, region and price in GBP.",
  "url": "https://example.com/data/coffee-prices",
  "creator": { "@type": "Organization", "name": "Example Research" },
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "keywords": ["coffee prices", "inflation", "hospitality"],
  "datePublished": "2026-03-01",
  "temporalCoverage": "2024-01/2026-02",
  "spatialCoverage": "United Kingdom",
  "isAccessibleForFree": true,
  "distribution": [
    {
      "@type": "DataDownload",
      "contentUrl": "https://example.com/data/coffee-prices.csv",
      "encodingFormat": "text/csv"
    }
  ]
}
</script>

Licence and provenance decide whether data gets reused

For datasets, the licence is often the deciding factor in whether anyone uses the data at all. A researcher, a journalist or a developer needs to know whether they may reuse, redistribute or build on it. A clearly stated open licence widens who can rely on your dataset and cite it confidently; a missing one forces cautious users to assume they cannot. Only state a licence you have actually granted.

Provenance is the companion. Naming the creator, the collection method and the coverage dates lets people judge whether the data is authoritative and current enough for their purpose. Data from a named, licensed, dated source is also easier for anyone, including AI systems that cite sources, to attribute correctly. If you publish statistics in articles, our GEO score checker shows how well those numbers are presented and sourced on the page.

What counts as a dataset, and what does not

Google's guidelines describe a dataset as a structured collection of data: tables, files of records, image collections with annotations, and similar. A single chart, a blog post that quotes a few numbers, or a general report is not a dataset, and marking it up as one dilutes the meaning. If the data is available only on request, you can still describe it; set isAccessibleForFree accurately and explain access in the description.

Publishing it on WordPress, a data portal or a custom site

WordPress

Add the block to the page that presents the data with a header code plugin such as WPCode, scoped to that page. Upload the CSV to the media library or your file store and use its direct URL as the contentUrl.

Data repositories and portals

Many repositories, such as Zenodo, Figshare and Kaggle, already add Dataset markup to their pages, and CKAN portals can do so with extensions. Check the page source before adding a second block; if the platform already describes the dataset, improve the description and licence in the platform instead.

Custom sites

Generate the JSON-LD from the same metadata that renders the page, so the modified date and coverage update whenever you refresh the data. Keep the block in the server HTML so crawlers that do not run JavaScript see it.

Mistakes that keep datasets out of Dataset Search

A vague name and a short description leave nothing to match against. A distribution pointing at a landing page instead of the file claims a download that does not exist. A missing licence quietly tells cautious users to stay away. Coverage dates or file formats that do not match reality damage trust in exactly the place where trust matters most. Fix those four before worrying about optional fields.

Validating and keeping it current

Paste the block into the dataset's page, then test the URL with Google's Rich Results Test, which supports Dataset markup, and our JSON-LD Validator. Click the download URL yourself to make sure it serves the file and format you declared. Dataset Search can take weeks to pick up a new dataset after Google crawls the page. When you refresh the data, update the dates and coverage in the markup too. Our schema markup guide covers how Dataset fits with Organization and Article markup on the same site.

How it works

  1. Add Dataset Details

    Name, description, URL, and optional creator/license/keywords/date.

  2. Generate JSON-LD

    Built in real-time as you type. No server round-trip.

  3. Copy and Paste

    Add the script block to your dataset's HTML head. Validate with Google's Rich Results Test.

Frequently asked

Who should use Dataset schema?

›

Anyone publishing structured data people can download or reuse: research datasets, public data tables, statistical releases, government data or downloadable spreadsheets. It is not for a blog post that mentions a few numbers or a single chart.

Does Google Dataset Search still exist?

›

Yes. Google Dataset Search is a separate search engine for data, and it builds its index from Dataset structured data on pages across the web. Adding the markup is how your data gets listed there.

What's the minimum required for valid Dataset schema?

›

Google requires name and description, and the description must be 50 to 5,000 characters. The generator also asks for the page URL. Adding creator, license, distribution, temporal and spatial coverage, and keywords makes the dataset easier to find and trust.

What goes in the distribution field?

›

A DataDownload with a contentUrl pointing directly at the file, such as a CSV, and an encodingFormat naming its type, such as text/csv. Point it at the file itself, not at a landing page.

How do I write temporalCoverage?

›

Use ISO 8601 dates or ranges: 2025 for a single year, 2024-01/2026-02 for January 2024 to February 2026, or 2020-01-01/.. for an open-ended range. Keep it in line with what the data actually covers.

Which license URL should I use?

›

Link to the licence you actually grant, for example https://creativecommons.org/licenses/by/4.0/ for CC BY 4.0. A recognised licence URL is clearer to people and machines than free text. Only state a licence you have the right to grant.

Can I add a DOI or version number?

›

Yes. Google documents identifier (for a DOI or other persistent ID), version, variableMeasured and citation, among others. This form does not collect them, so add them to the generated JSON by hand.

How long until my data appears in Dataset Search?

›

It depends on when Google next crawls the page. It can take days to weeks. Make sure the page is indexable, the markup is valid in the Rich Results Test, and the page is linked from your site or sitemap.

Related tools

More Schema Markup tools

See all Schema Markup tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans