TextTwin: AI-Readable Pages, Markdown and llms.txt
Gives every page a clean text copy that AI tools like ChatGPT and Claude can read.
Install in
When an AI tool like ChatGPT or Claude reads a WordPress page, it has to dig through menus, pop-ups, scripts and page builder code to find your actual words. It often misses steps or mixes in menu text.
TextTwin gives every page you choose a clean text copy, its “text twin”: just your headings, text, lists, tables, links and videos. AI tools read the twin quickly and correctly. Your visitors see nothing different.
Your SEO plugin can already make an llms.txt list of your pages. TextTwin does the part it doesn’t: it makes every page itself readable by AI.
How AI tools get the clean copy
- A note in each page: every included page carries a short “LLM/AI Agent Notice”, alternate links and a Link header, all pointing AI tools to its clean copy.
- A hidden note for AI chat tools: ChatGPT and Gemini skip the page head, so each page also carries a short note at the top of its body that only AI tools read. It is hidden from people and gives the exact address of the page’s clean copy.
- Fixed addresses: each copy is also at /llms-guides/page-slug.txt and at the page’s own address with .md added, as the llms.txt standard suggests.
- A list of every page: an llms.txt index, grouped into sections with a one-line summary for each item, plus llms-full.txt with everything in one file.
Works alongside your SEO plugin
If Yoast SEO, All in One SEO, Rank Math, SEOPress PRO or another plugin already makes your llms.txt, TextTwin leaves it alone. It keeps making the page copies and puts its own list at /llms-guides.txt. There is nothing to switch off and nothing to choose.
Built for help centers and knowledge bases
TextTwin recognizes popular help center plugins on its own, including Heroic Knowledge Base and BetterDocs, as well as Echo Knowledge Base. It groups articles by category, in the order your help center already uses, and links between articles point to their clean copies. It also works with posts, pages, products and any other public content type.
Safe by design
- Nothing changes for visitors: no scripts, styles, buttons or pop-ups are added to your pages, and the AI note is hidden in every browser.
- Safe with page caches and CDNs: every copy has its own address, so a cache can never mix it up with your real pages.
- Safe for Google: the copies are marked noindex, so they never compete with your real pages. Each copy names its page as the source.
- Private stays private: drafts, private, password-protected and scheduled content never appear, and copies are always built as a logged-out visitor. If a login wall or maintenance mode blocks your site, it blocks the copies too, and pages locked by MemberPress, Paid Memberships Pro, Restrict Content Pro or WooCommerce Memberships are left out.
- Light on your site: no files are written. Copies are built on request and kept in one small compressed cache, which never loads on normal page views.
- Clean removal: deleting the plugin removes everything it stored, including its settings and cache.
- Email addresses stay hidden: addresses in your content are replaced with “[email protected]” in the copies, the way Cloudflare protects them on your pages, so bots reading the copies cannot collect them.
- Nothing sent anywhere: TextTwin never contacts an outside service.
Simple to set up
The settings page has just three options, and everything else is worked out for you. To leave out a single page, tick one box on its edit screen. Pages set to noindex in Yoast SEO, Rank Math or SEOPress are left out on their own.
TextTwin reads content from both WordPress editors and from Elementor, including synced patterns and shortcodes.
For developers
- Change any built-in choice with the
texttwin_settingsfilter, such as the section order, the folder name or the item limit. - Optional: set
answer_markdownto 1 in that filter to answer requests that ask for Markdown (Accept: text/markdown) with the clean copy at the page’s normal address. It is off by default because some server and CDN caches ignore “do not store” headers. Only turn it on when your caching respects Cache-Control. - Leave out any post with the
texttwin_is_publicfilter. - Turn off the hidden note for AI tools by setting
body_noticeto 0 in thetexttwin_settingsfilter. - Keep email addresses in the copies by setting
hide_emailsto 0 in the same filter. - WP-CLI:
wp texttwin status,wp texttwin rebuildandwp texttwin print index|full|slug.
Written by Joobi from the project's own listing. See the source page
1.2.4
- The Markdown copies at each page’s address with .md added are now sent as plain text, the same as the .txt copies. Gemini could not open them before because it rejects files marked as Markdown. The content is unchanged.
1.2.3
- Email addresses in the plain text copies are now replaced with “[email protected]”, the way Cloudflare’s email protection hides them on the HTML pages. Before, a bot could collect addresses from the copies that the pages kept hidden. Developers can turn this off with
hide_emailsin thetexttwin_settingsfilter.
1.2.2
- The plain text copies no longer send a canonical header that points to the HTML page. Some AI tools followed it and skipped the copy, even though they could read llms-full.txt. The copies stay noindex, and each one still names its page as the source.
1.2.1
- The note for AI tools now sits at the top of the page body, so AI tools read it before the page itself, and it asks them more clearly to use the clean copy. Themes that do not support this get it at the end of the page, as before. Nothing changes for visitors or for your layout.
1.2.0
- Each included page now ends with a short note that only AI tools read, with the exact address of its clean copy. People never see it. ChatGPT and Gemini skip the page head, where the other pointers live, and only open addresses they can see written out, so this lets them find the clean copy on their own.
1.1.0
- Works alongside Yoast SEO, All in One SEO, Rank Math, SEOPress PRO and other llms.txt plugins: if one already makes your llms.txt, TextTwin leaves it alone and keeps its own list at /llms-guides.txt. No more alerts asking you to switch features off.
- Sites behind a login wall, in maintenance mode or with membership plugins keep their content private: copies follow the same rules as the pages.
- Every included page now has a Link header pointing to its clean copy.
- Faster on big sites: page views read a small lookup list, and only one rebuild runs at a time while visitors get the previous copy.
- Pages left out or set to noindex by code, bulk edits or imports drop out at once.
- The settings page shows which plugin makes each file, and tells you if a large site goes over the page limit, which is now 2,000 pages.
- For developers: optional Markdown answers at a page’s normal address (
answer_markdown), off by default.
1.0.0
- First public release.
1.2.3
- Email addresses in the plain text copies are now replaced with “[email protected]”, the way Cloudflare’s email protection hides them on the HTML pages. Before, a bot could collect addresses from the copies that the pages kept hidden. Developers can turn this off with
hide_emailsin thetexttwin_settingsfilter.
1.2.2
- The plain text copies no longer send a canonical header that points to the HTML page. Some AI tools followed it and skipped the copy, even though they could read llms-full.txt. The copies stay noindex, and each one still names its page as the source.
1.2.1
- The note for AI tools now sits at the top of the page body, so AI tools read it before the page itself, and it asks them more clearly to use the clean copy. Themes that do not support this get it at the end of the page, as before. Nothing changes for visitors or for your layout.
1.2.0
- Each included page now ends with a short note that only AI tools read, with the exact address of its clean copy. People never see it. ChatGPT and Gemini skip the page head, where the other pointers live, and only open addresses they can see written out, so this lets them find the clean copy on their own.
1.1.0
- Works alongside Yoast SEO, All in One SEO, Rank Math, SEOPress PRO and other llms.txt plugins: if one already makes your llms.txt, TextTwin leaves it alone and keeps its own list at /llms-guides.txt. No more alerts asking you to switch features off.
- Sites behind a login wall, in maintenance mode or with membership plugins keep their content private: copies follow the same rules as the pages.
- Every included page now has a Link header pointing to its clean copy.
- Faster on big sites: page views read a small lookup list, and only one rebuild runs at a time while visitors get the previous copy.
- Pages left out or set to noindex by code, bulk edits or imports drop out at once.
- The settings page shows which plugin makes each file, and tells you if a large site goes over the page limit, which is now 2,000 pages.
- For developers: optional Markdown answers at a page’s normal address (
answer_markdown), off by default.
1.0.0
- First public release.
Follow this listing's changes (Atom feed)