On this page
What this issue is
The text-to-HTML ratio is the share of a page's source code that is visible text. If a page's HTML is 100 KB and 10 KB of it is words people read, the ratio is 10%. The rest is tags, CSS, JavaScript, inline SVG, tracking snippets and attributes.
Why it costs you leads or sales
The business impact is low, but the causes behind it can hurt. A low ratio usually comes from one of three things:
- Thin content: a landing or service page with a headline, a button and almost no explanation, so visitors and search engines have little to work with.
- Code bloat: page builders that wrap every element in several nested divs, large inline CSS or JavaScript, and inline SVG icons.
- Content loaded late: text injected by JavaScript after load, so the raw HTML looks empty even if visitors see words.
Thin pages struggle to rank and to convince. Bloated pages load slower, which hurts visitors on mobile. Content that only appears after JavaScript runs can be indexed late or missed by some crawlers, including some AI search tools.
Example: illustrative ratios for three page types. Real figures depend on your theme and tool.
How to check if your site has it
Run a crawl
Use an SEO crawler such as Screaming Frog (it reports word count and page size) or the site audit in Semrush or Ahrefs. Export the pages flagged for low ratio.
Focus on pages that earn money
Ignore cart, login and utility pages. Look at service, product, category and landing pages.
Compare raw HTML with the rendered page
In Chrome, open View Source and search for a sentence you can see on the page. If it is missing, the text is added by JavaScript.
Find the heavy parts
In DevTools, open the Network tab, reload, and sort by size. Large inline scripts, styles and SVGs show where the code weight comes from.
| What you see | Likely meaning | Action |
|---|---|---|
| Low ratio and under about 300 words | Thin page | Add useful copy |
| Low ratio but plenty of words | Heavy markup | Trim code and scripts |
| Text missing from View Source | JavaScript-rendered content | Serve key text in HTML |
| Low ratio on a login or cart page | Normal | Ignore |
How to fix it
Do not pad pages with filler to lift a percentage. Add words that answer real questions, and remove code you do not need.
Add useful copy to thin money pages
Explain what you offer, who it is for, pricing or how pricing works, process, proof and common questions.
Remove unused scripts and plugins
Delete tracking or widget code you no longer use. Load the rest with defer or async where the vendor allows it.
Move big inline CSS and JS to cached files
External files are cached across pages and keep the HTML lean.
Simplify page structure
Cut empty wrappers, repeated sections and hidden duplicates, such as separate desktop and mobile copies of the same block.
Put key text in the HTML
Make sure headings and main copy are present in the server response, not only added by JavaScript.
Audit plugins
Deactivate plugins you do not use under Plugins > Installed Plugins. Many add scripts to every page.
Check your page builder
In Elementor, Divi or similar, remove empty sections and nested containers. Elementor has a Flexbox Container option that reduces wrapper markup (Settings > Features).
Remove unused apps
Uninstall apps you no longer use, then check theme.liquid for leftover script tags the app left behind.
Write real descriptions
Add unique product and collection descriptions in the admin rather than leaving only a title and image.
Reduce nesting
Use the Navigator to remove unneeded div blocks and hidden duplicate elements.
Limit custom code
Move large embeds from page settings Custom code into fewer, deferred scripts.
Use real text elements
Avoid putting copy inside images. Use text boxes with proper heading levels so words appear in the HTML.
Trim apps
Remove Wix apps you no longer need from the dashboard, as each can add scripts.
Use text blocks, not images of text
Replace banners that contain words as images with text blocks.
Clean code injection
Review Settings > Advanced > Code Injection and remove old snippets.
Prune tags
Pause and delete tags and triggers for tools you no longer use, then publish a new container version.
Render on the server
If a framework builds the page in the browser, enable server-side rendering or static generation so text is in the first response.
Externalise assets
Move inline CSS and JS into files and minify them.
Before
- About 80 words of copy
- Large inline scripts and many nested divs
- Key text added by JavaScript
After
- 600 words that answer buyer questions
- Scripts deferred and unused ones removed
- Main copy present in the HTML
How to confirm it's fixed
- Re-crawl the page and compare word count and page size with the earlier export.
- View Source and confirm your main headings and paragraphs appear in the raw HTML.
- Run the page in Google Search Console's URL Inspection and check the rendered HTML shows your text.
- Check page speed in PageSpeed Insights and confirm it did not get worse.
- Read the page as a visitor: does it now answer the questions a buyer would ask?
How to prevent it happening again
- Set a minimum content brief for new landing and service pages.
- Review installed plugins, apps and tags every quarter.
- Schedule a monthly or quarterly crawl and sort by word count and size.
- Test new page builder templates for markup weight before rolling them out.
- Treat the ratio as a hint, and judge pages by usefulness and speed.
How FunnelGuard handles this
FunnelGuard does not check text-to-HTML ratio today. It is a possible future check, not a current feature.
What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and check each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. That covers broken conversion paths, which matter more to revenue than a code ratio.
Questions people ask
What is a good text-to-HTML ratio?
There is no official good number. Many SEO tools flag anything under roughly 10%, and content-rich pages often land between 15% and 30%. Use it as a rough hint, since a useful page with a lower ratio can rank well.
Is text-to-HTML ratio a Google ranking factor?
Google has said it does not use text-to-HTML ratio as a ranking factor. However, the problems behind a low ratio, such as thin content and slow, bloated pages, can affect how well a page performs.
Why is my text-to-HTML ratio so low?
Usually the page has little copy, or a lot of code such as page builder wrappers, inline scripts, inline SVGs and tracking tags. It can also happen when text is loaded by JavaScript so the raw HTML looks empty.
How do I increase my text-to-HTML ratio?
Add genuinely useful copy to thin pages and remove code you do not need: unused plugins, old tags, empty wrappers and large inline CSS or JavaScript. Do not add filler text just to raise the percentage.
How do I check the text-to-HTML ratio of a page?
Use an SEO crawler or site audit tool that reports it, or estimate it yourself by comparing the visible text size with the page's HTML size in DevTools. Crawlers are better for checking many pages at once.
Should I worry about a low ratio on every page?
No. Login, cart and app-style pages often have little text and that is normal. Focus on service, product, category and landing pages that you want to rank and convert.
Does FunnelGuard check text-to-HTML ratio?
No. FunnelGuard does not check this yet, though it is a possible future check. It monitors your funnels, tracking and lead delivery, so use an SEO crawler to watch the ratio.
Related issues
- SEO-175Thin content on money pagesFix guide
- SEO-194Content behind tabs that is never loadedFix guide
- SEO-186No answers to common questions (FAQ missing)Fix guide
- SEO-185Content gaps vs competitors for core topicsFix guide
- SEO-193Affiliate pages with no added valueFix guide
- SEO-176Duplicate content copied across pages (city pages, product variants)Fix guide