A WordPress plugin that serves clean Markdown versions of your content to AI agents and crawlers.
AI agents from OpenAI, Anthropic, Google, Perplexity, and others are crawling the web constantly. They read your content not to index it for a search results page, but to understand it — so they can answer questions, summarize topics, and generate responses. These AI consumers don't care about your CSS or JavaScript. What they want is your content: clean, structured, and easy to parse.
Serve Markdown adds three access methods to your WordPress site so AI crawlers get exactly that. Every Markdown response includes YAML frontmatter with structured metadata — title, author, date, categories, tags, featured image — followed by your post content converted from WordPress HTML to clean Markdown. Zero configuration required: install, activate, and it works.
- Content Negotiation — Responds with Markdown when a request sends
Accept: text/markdown - .md URLs — Append
.mdto any post or page URL to get the Markdown version - Auto-discovery — Adds
<link rel="alternate" type="text/markdown">to every page head - Frontmatter — YAML metadata block with configurable fields on every response
- Crawler Log — Identifies and logs AI bot requests with per-bot dashboard
- Admin Controls — Toggle features, choose post types, exclude categories/tags, map custom fields
- WordPress 6.5+
- PHP 8.1+
- Upload the
serve-markdownfolder towp-content/plugins/ - Activate the plugin in Plugins > Installed Plugins
- Visit Settings > Serve Markdown to review defaults
- Test by appending
.mdto any published post URL
Initial release.
GPL-3.0-or-later — see LICENSE for the full text.