Markdown for AI Agents
Markdown for AI Agents is a lightweight WordPress plugin that enables HTTP content negotiation for your site’s content. When a client (like an AI agent or a custom script) requests a page with the Accept: text/markdown header, the plugin intercepts the request and returns a clean, structured Markdown representation of the post or page content. This is ideal for AI crawlers, RAG (Retrieval-Augmented Generation) systems, and non-browser clients that prefer machine-friendly text over complex HTML. Important note: This plugin is primarily a developer/integration tool. Human visitors browsing your site will never see any difference — the Markdown output is only served when explicitly requested via the Accept: text/markdown HTTP header. Normal browser requests always receive the standard HTML page. Key Features: Automatically detects Accept: text/markdown headers. Converts HTML content to clean Markdown using the League HTMLToMarkdown library. Strips away theme layout, navigation, headers, footers, and sidebars — serving only the main content. Adds useful HTTP response headers: Content-Type: text/markdown, Vary: Accept, and X-Markdown-Word-Count. Respects WordPress visibility rules and filters. No configuration required — works out of the box for posts, pages, and custom post types. How It Works This plugin uses a standard web technique called HTTP content negotiation. The same URL on your site can serve different representations of the same content depending on what the client asks for: A regular browser sends Accept: text/html → receives your normal HTML page. An AI agent sends Accept: text/markdown → receives a clean Markdown version of the same page. No extra URLs, no duplicate content, no configuration needed. The plugin hooks into WordPress’s template_redirect action, detects the Accept header, captures the rendered HTML, converts it to Markdown, and returns it with appropriate headers. Why Markdown for AI Agents? When building RAG (Retrieval-Augmented Generation) applications or AI pipelines that ingest web content, HTML is extremely noisy. A typical WordPress page contains thousands of tokens worth of HTML tags, inline styles, navigation menus, scripts, and layout markup — none of which carries meaning for an AI model. Serving clean Markdown instead can reduce token consumption by up to 60%, which means: Lower API costs — fewer tokens ingested when loading pages into vector stores or LLM pipelines. Faster processing — less text for the model to parse, filter, and discard. Better retrieval accuracy — higher signal-to-noise ratio improves the quality of RAG results. Simpler pipelines — no need for custom HTML stripping logic on the client side; the plugin handles it server-side. Any AI agent, crawler, or ingestion script that sends Accept: text/markdown in its request header will automatically receive the clean Markdown version — no extra URLs, no separate endpoints, no changes to your content workflow.
Top keywords
- markdown15×3.38%
- content10×2.25%
- html9×2.03%
- text9×2.03%
- accept8×1.80%
- ai8×1.80%
- accept text6×1.35%
- page6×1.35%
- text markdown6×1.35%
- accept text markdown5×1.13%
- clean5×1.13%
- clean markdown4×0.90%
SEOPress – AI SEO Plugin & On-site SEO
SEOPress – The fast, privacy-first WordPress SEO plugin, ready for AI search Rank higher in Google AND in AI answer engines (ChatGPT, Claude, Perplexity, Gemini). SEOPress is the all-in-one WordPress SEO plugin trusted by 350,000+ websites since 2017: fully white label, privacy by design, and now AI-ready. ✔ One SEO plugin, every page builder: Universal SEO metabox for Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence and more. See all integrations. ✔ AI-powered metadata: Generate SEO titles, meta descriptions, Open Graph, X (Twitter) Cards and image alt text in bulk with OpenAI, Google Gemini, Anthropic Claude, MistralAI or DeepSeek. Learn more. ✔ Built for AI search (AEO / GEO): Native llms.txt support and one-click Agent Readiness toggle so ChatGPT, Claude, Perplexity & Gemini understand your content. ✔ Privacy-first & fully white label: No tracking, no data footprint, no upsells in admin. Your data stays yours. Why white label matters. ✔ Content analysis with unlimited target keywords: No artificial limit per post. ✔ Migrate in one click: From Yoast SEO, Rank Math, AIOSEO, The SEO Framework, Slim SEO, SmartCrawl, Squirrly, SEO Ultimate, WP Meta SEO, Premium SEO Pack, SiteSEO. Start migration. ✔ Translated into 27+ languages with professional translations. Help translate. SEOPress PRO from $49/year: 1 site • Unlimited sites for $149/year Features | Migrate | PRO | Integrations | Support | White Label | AI What’s new in SEOPress 10.1 AI metadata on autopilot, a new Technical site audit, richer WooCommerce schemas and portable settings. 🤖 AI metadata on autopilot (PRO): Automatically generate your meta title and description with AI when you publish a post — and now for your taxonomy terms (categories, tags…) too. 🔑 AI under control (PRO): Restrict AI generation features to specific user roles, see your AI credits balance right from the SEOPress dashboard, and use the latest DeepSeek V4 models. 🩺 Site Audit: new Technical tab (PRO): Site-wide checks for your homepage to catch technical SEO issues at a glance. 🕘 robots.txt revision history (PRO): Compare changes and restore any previous version of your robots.txt in one click. 🛒 Richer WooCommerce schemas (PRO): ProductGroup schema for variable products, plus sale price and merchant return policy support in Product schema. 🗂️ Schemas, easier to manage: A new Manual tab lists all content with manually assigned schemas (PRO), and dynamic variables are now resolved in your custom schema fields. ⚙️ Portable settings: Export a reusable configuration file without site-specific data — perfect for reuse on other sites — and import a JSON settings file directly from the installation wizard. ↪️ Better migrations: Import your redirections from Slim SEO (PRO), with improved Yoast (social profiles, feed settings) and SureRank migrations. ⌨️ Command palette quick actions (PRO): Trigger SEOPress PRO actions right from the WordPress command palette. Read the full 10.1 release notes → Why SEOPress is the best WordPress SEO plugin? All-in-one: Schemas, redirections, XML sitemaps, GSC, image SEO, breadcrumbs, broken links and more in one plugin. Fewer plugins, fewer conflicts, lower maintenance. Modular: Don’t need a feature? Disable it in one click without losing your settings. Affordable: PRO from $49/year for 1 site. Unlimited sites for $149/year. No “agency” tax. White label by default: Replace plugin name, logo, links and screens. Perfect for agencies and freelancers. GDPR-friendly: Privacy by design. Built-in compatibility with consent platforms. Beginner to expert: Installation wizard for newcomers, hundreds of hooks, REST API and WP-CLI for developers. Free guides and SEO ebooks. Battle-tested: 350,000+ active installs, weekly releases, dedicated team since 2017. SEOPress Free Features Installation wizard: Get configured in minutes. Universal SEO metabox: Edit titles, descriptions, Open Graph, X Cards, schema, robots and canonical from any editor (Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence…). Command palette (Cmd/Ctrl+K): Jump to any setting instantly. Content analysis with **unlimited target keywords** to write content that ranks. Mobile & Desktop Google preview: See your SERP snippet before you publish. Facebook & X (Twitter) social preview for higher CTR on social. Titles & meta descriptions with dynamic variables (custom fields, terms, taxonomies). Open Graph & X (Twitter) Cards for Facebook, LinkedIn, Instagram, Pinterest, WhatsApp, Threads… Google Knowledge Graph: Organization data with address & legal fields (new in 9.8). llms.txt & Agent Readiness: Help AI search engines understand your site (new in 9.8). Google Analytics 4 & Matomo: Downloads tracking, custom dimensions, IP anonymization, remarketing, demographics, cross-domain tracking, GDPR-friendly. Microsoft Clarity integration: Free heatmaps and session recordings. Custom canonical URLs and meta robots (noindex, nofollow, noimageindex, nosnippet). XML sitemaps (posts, pages, CPTs, taxonomies, images, authors): faster than ever in 9.8. HTML sitemap for accessibility & navigation. Image XML sitemap for Google Images. Redirections at the post / page / CPT level. URL clean-up: Remove /category/, /product-category/, ?replytocom; redirect attachment pages to parent or file URL. Image SEO: Auto-set image title, alt, caption and description. Google Indexing API & IndexNow (Bing/Yandex) for instant indexing. Import/export settings from site to site. One-click migration from Yoast, Rank Math, AIOSEO, SEO Framework, SureRank, Slim SEO, SmartCrawl, Squirrly, SEO Ultimate, WP Meta SEO, Premium SEO Pack, SiteSEO. Check out all SEOPress Free features here SEOPress PRO: Take SEO further AI SEO: Auto-generate titles, descriptions, OG / X tags and image alt text in bulk with OpenAI, Google Gemini (incl. **Gemini 3 Flash & 3.1 Pro**), Anthropic Claude, MistralAI, DeepSeek. Site Audit: Full React + DataViews experience with **GSC-backed recommendations**, scan history, live progress, one-click AI alt text fixes, CSV export. SEO alerts: Be warned before SEO regressions hit production. Google Search Console: Clicks, impressions, CTR, average position right inside post lists. Google Suggestions in content analysis for long-tail keyword discovery. Redirect manager: Unlimited 301/302/307/410/451 redirects, regex, URL tester modal, categories, CSV/htaccess import & export. 404 monitoring & auto-redirect with email notifications. Broken link checker: Reliable CRON-based batch scan, even on the largest sites. Schema.org / JSON-LD editor with **live preview**: Article, LocalBusiness, Service, How-to, FAQ, Course, Recipe, SoftwareApplication, Video, Event, Product, JobPosting, Review, ProfilePage, Custom schema. Automatic schemas with advanced conditions (AND/OR, post types, taxonomies). Accessible breadcrumbs: Schema.org, A11Y-ready, live preview, custom per CPT/term. Local SEO: Local Business schema with opening hours, multiple stores. WooCommerce SEO: Product schema with global identifiers (GTIN, MPN, brand), Enhanced Ecommerce, OG price/currency, noindex on cart/checkout/account. Easy Digital Downloads integration. Internal linking suggestions. Video XML Sitemap with automatic YouTube discovery + **Google News sitemap**. Google Analytics dashboard: Metrics inside WordPress, no context switching. PageSpeed Insights & Core Web Vitals reports. robots.txt & .htaccess editor: Multisite / multidomain ready. Custom RSS feed options. Multilingual llms.txt with TranslatePress. Get SEOPress PRO → SEOPress Insights: Track rankings & backlinks inside WordPress Keyword rank tracker: 52 Google Search locations. Track 50 keywords/site daily. Competitor tracking: See who outranks you. Backlinks monitored weekly. Google Trends: Find new content angles. Lifetime data access: Export to CSV / PDF / Excel. Email & Slack alerts. Get SEOPress Insights → WooCommerce & EDD SEO (SEOPress PRO) Product schema with global identifiers (GTIN, MPN, brand). OG price & currency for richer social shares. XML sitemaps for products, including image galleries. Centralized noindex for cart/checkout/account/thank-you pages. Removes WooCommerce/EDD generator meta tag. Manual or automatic JSON-LD product schemas. Breadcrumbs with WooCommerce support. Global dynamic tags for titles & meta descriptions. Google Enhanced Ecommerce: purchases, product views, cart events. Boost your store’s SEO → Universal SEO metabox: works with every editor Edit your SEO directly inside Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence, WP Fusion. No more back-and-forth between page builder and WordPress admin. Built for developers Hundreds of hooks: Browse the hooks reference. REST API: Power headless and static sites. Get started. WP-CLI commands: Automate everything. CLI reference. 13+ new dev hooks in 9.8. From the same team Try MailerPress, the best email marketing plugin for WordPress