How to Turn Your Website Into an AI Knowledge Base Using Screaming Frog and Markdown

Tutorial. AI SEO, Marketing Tools

How to Turn Your Entire Website Into an AI Knowledge Base Using Screaming Frog and Markdown

15 min
Setup time for the full workflow
1 crawl
Your whole site converted to markdown
Zero
Code you need to write yourself
Any AI
Works with Claude, ChatGPT, and custom GPTs

Here is a question that did not exist two years ago and now decides real competitive advantage: how easily can an AI read your website?

Not index it. Read it. If you use Claude, ChatGPT, or any AI assistant for marketing work, you have probably hit the same wall I have: the AI does not know your site. It does not know your service pages, your case studies, your positioning, or the way you phrase things. So every brief starts from zero, and every output needs heavy editing to sound like you.

There is a clean fix for this, and it takes about fifteen minutes with a tool most SEOs already own: Screaming Frog, using a markdown conversion script the Screaming Frog team published on their blog. What follows is the full setup, plus the layer most people miss: what to actually do with the markdown once you have it.

Why Markdown Is the Native Language of AI

Your web pages are wrapped in thousands of lines of HTML, CSS classes, tracking scripts, and layout markup. When you paste a URL into an AI tool, most of what it processes is that wrapper, not your content. Markdown strips all of it: clean headings, clean paragraphs, clean lists. Nothing else.

This matters for two very practical reasons. First, AI models were trained on enormous amounts of markdown, so they parse its structure natively: a heading means a topic, a list means discrete items. Second, tokens cost money and context space. The same page as markdown can be a tenth the size of its HTML, which means you can fit ten times more of your site into an AI’s working memory.

“Google reads your HTML. AI reads your markdown. The brands that prepare content for both are playing the next decade, not the last one.”

Ram Kr Shukla, AI SEO Consultant

The Setup: Five Steps in Screaming Frog

1
Open Custom JavaScript settings

In Screaming Frog, go to Configuration, then Custom, then Custom JavaScript. This feature lets the crawler run a script against every page it visits, which is what performs the conversion.

2
Add the markdown conversion script

Click Add, and choose the content-to-markdown snippet from the library, or paste the version from the Screaming Frog blog. The script uses the page’s rendered DOM, so it captures what a visitor actually sees, not just raw source.

3
Switch rendering to JavaScript

Custom JavaScript needs the built-in Chrome renderer. Under Configuration, Spider, Rendering, select JavaScript. The crawl runs slower this way, which is a fair trade for accurate extraction.

4
Run the crawl in Spider mode

Enter your domain and start. For most consultant and SME sites this finishes in minutes. For large e-commerce sites, crawl a representative section first: category pages, top products, and key content.

5
Export from the Custom JavaScript tab

Each URL now carries its markdown version in the Custom JavaScript section. Export the lot to a spreadsheet or individual files. That export is your site as an AI-readable knowledge base.

The Part Everyone Skips: Curate Before You Feed

Here is the mistake I see immediately whenever this technique gets shared: people export 400 pages of markdown, dump the whole blob into an AI project, and expect magic. The result is usually worse than nothing. Large unfiltered context degrades model performance, buries the important pages under boilerplate, and wastes the context window on your privacy policy.

Treat the export like a content audit, because it is one. Keep the pages that define your business: services, positioning, case studies, your best guides. Cut thin pages, tag archives, legal pages, and anything outdated. For most sites, the useful knowledge base is 15 to 40 documents, not 400. A small curated set the AI can actually use beats an archive it drowns in.

What to Do With the Markdown: Four Practical Uses

Use case What it unlocks
Claude Projects or custom GPT knowledge Every brief, draft, and edit starts already knowing your services, voice, and case studies. Output needs a fraction of the editing.
Content gap analysis Give the AI your site plus three competitor crawls and ask what topics, entities, and objections they cover that you do not.
Internal consistency audit Ask the AI to find contradictions across your pages: conflicting numbers, outdated claims, positioning drift. Brutal and useful.
AI visibility preparation Seeing your content the way an AI sees it shows you exactly why assistants do or do not cite you, and what to restructure.

The Bigger Picture: This Is Where Search Is Going

This little workflow points at something much larger. The industry is quietly converging on the idea that websites need an AI-readable layer: the emerging llms.txt convention, AI crawlers requesting clean content, and assistants deciding which brands to cite based on how clearly they can parse what you offer. Markdown conversion is the manual version of that future. Doing it now teaches you exactly how legible your brand is to the systems that increasingly answer your buyers’ questions.

And if your site converts to markdown badly, with walls of unstructured text, vague headings, and key claims buried in design elements, that is not just an AI problem. It is the same structural weakness that holds back your rankings and conversions with human readers too. The crawl just makes it visible.

Want to know how visible your brand is to AI search?

I run AI visibility audits that show where your brand appears in ChatGPT, Perplexity, and Google AI Overviews, and exactly what to restructure so assistants start citing you. This workflow is one small piece of that system.

Explore AI SEO Services Book a Free Audit Call

Tags: AI SEOScreaming FrogMarketing ToolsTutorial

Categories

About The Author

Ram Shukla

Digital Marketing Consultant

With 9 years of marketing experience in planning and executing performance-based digital marketing strategies I helped small and medium size companies grow their revenue, acquire new customers, drive more leads and improve marketing ROI.
Are you looking to grow your business with digital marketing?