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.