# What is LLM-ready data?

LLM-ready data is web or document content cleaned of boilerplate and put in a consistent format, usually markdown or JSON, that a model can use directly.

LLM-ready data is web or document content that has been cleaned, structured and formatted so a large language model can consume it directly, usually markdown or JSON with navigation, ads, scripts and boilerplate removed. Because only the meaningful text remains, it uses fewer tokens, introduces less noise, and gives RAG and agent pipelines better material to answer from.

## Why raw HTML isn't enough for language models

Much of a typical webpage is not content. Navigation menus, cookie banners, ad slots, tracking scripts, sidebars and footer links often account for more of the HTML than the article does. Feed that raw markup to a language model and you pay for it twice: once in tokens, and again in quality, because the model has to find the signal inside the clutter.

LLM-ready data is the opposite. It is the same page reduced to what a human reader would call "the article", with its headings, paragraphs, lists, tables and code blocks, expressed in a format the model handles well.

## What makes data LLM-ready

In practice, LLM-ready data has four properties:

- **Boilerplate removed.** Navigation, ads, consent banners and repeated page furniture are stripped so that tokens go to substance.
- **Structure preserved.** Headings, lists, tables and links survive the conversion, because models use document structure to reason about content.
- **A model-friendly format.** Markdown is the usual choice for prose, and JSON is used when you need specific fields. See [what HTML to markdown conversion is](https://millionshort.com/docs/glossary/what-is-html-to-markdown).
- **Predictable shape.** Every page comes back in the same format, so pipelines do not need parsing logic for each site.

## Where LLM-ready data is used

Retrieval-augmented generation is the largest consumer: [RAG](https://millionshort.com/docs/glossary/what-is-rag) pipelines index and retrieve cleaned text, and noisy input degrades answers (see [RAG noise](https://millionshort.com/docs/glossary/what-is-rag-noise)). Agents are the second: an agent browsing the web uses up its context window quickly on raw HTML, so tools that return clean text let it read more pages per task. Fine-tuning and evaluation datasets built from web content need the same cleanup for the same reasons.

## How teams produce it

Some teams run their own pipeline of fetch, render, strip and convert, using open-source readability libraries. Others use an extraction service that does this as a managed step. When the target is specific fields and not prose, that is [structured data extraction](https://millionshort.com/docs/glossary/what-is-structured-data-extraction), a closely related technique.

## Where MillionShort fits

MillionShort search results are LLM-ready in the narrow sense that matters for a search call. The response is JSON with the same fields for every result and every source, and each `snippet` is a plain-text passage of up to 2,000 characters with no markup. An agent can read a result list without any cleanup step.

With `include_content`, `web` and `news` results also carry the cleaned text of the page as we hold it, as plain text and not as markdown. A search does not fetch a URL you name; [Extract](https://millionshort.com/docs/extract/parameters) does, and returns the page as Markdown or plain text.
