Structured data

Structured data is information organised according to a fixed, explicit model, such as rows and columns in a database table, so that every value has a defined place and meaning.

Structured data is the tidy kind. A sales table has a column for date, one for product, one for price and one for quantity, and every row fills them in the same way. Because the layout is defined in advance by a data model, software can sort, filter, total and join it reliably. Business records such as accounts, orders and stock lists are typically kept this way, often in relational databases.

It sits at one end of a spectrum. Unstructured data, such as emails, PDFs, images and recordings, has no predefined model. In between is semi-structured data, such as JSON and XML files, which uses tags to label its parts but does not have to follow a fixed schema. A product listing written as JSON is semi-structured; the same listing loaded into a database table is structured.

The phrase has a second, related meaning on the web. Google describes structured data as a standardised format for describing a page and classifying its content, usually written in the Schema.org vocabulary. A recipe page can mark up its ingredients, cooking time and calories, which lets search engines show them directly. Google recommends the JSON-LD format for this and says markup makes a page eligible for richer results but does not guarantee them.

For AI, the distinction matters in both directions. Classic machine learning, such as fraud scoring or demand forecasting, mostly works on structured tables. Large language models were trained mostly on unstructured text, and one of their most common business uses is turning that text into structured records: pulling names, dates and amounts out of contracts or emails into fields a database can hold. Asking a model to return output in a fixed format is part of that same job.

Common questions

What is the difference between structured and unstructured data?

Structured data follows a predefined model, like a database table where each column has a set meaning. Unstructured data, such as free text, images and audio, has no such model. Structured data is easy for traditional software to query, while unstructured data usually needs extra processing first.

What are examples of structured data?

Database tables of customers, orders or transactions, spreadsheets with consistent columns, sensor logs with fixed fields, and inventory records. Each value sits in a defined field with a known type.

What is structured data in SEO?

It is markup added to a web page, usually in the JSON-LD format with the Schema.org vocabulary, that tells search engines what the page contains, such as a recipe's ingredients or an event's date. It can make a page eligible for enhanced search results, though it does not guarantee them.

Is JSON structured data?

JSON is usually called semi-structured. It labels each value with a key, but it does not have to follow a fixed schema, so two records can have different fields. Once checked against a schema or loaded into a table, it behaves like structured data.

Finding more

Search for "structured vs unstructured data", "semi-structured data JSON" or "structured data markup Schema.org". Reliable sources include database textbooks and vendor-neutral references for the data management sense, and Google Search Central and Schema.org for the web markup sense. Make sure a source is talking about the sense you mean, since the same phrase covers both.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.