Guide · Chapter 3 of 6
Make your website easy for AI to understand
The on-page basics AI assistants rely on: text readable without JavaScript, a clear title and description, business details in structured data, llms.txt.
Published 3 min readBy Visibility
Short answer
AI assistants understand a website best when its text is in the page itself rather than loaded by JavaScript, when the title, description and main heading say plainly what the business does and where, and when the business details are also stated in structured data. An llms.txt file is an optional extra.
On this page
Can AI crawlers read text that loads with JavaScript?
Often not. Several AI crawlers fetch a page's HTML and do not run the JavaScript that some website builders use to draw the text in. To them, a page like that can look almost empty.
The quick test: open your homepage, choose "View page source" in your browser, and search for a sentence you can see on the page. If it is not in the source, a crawler that does not run JavaScript cannot read it either. The site-health checks in Visibility report this as "readable without JavaScript".
What should my page title, description and heading say?
These three are the first things any machine reads. Each should say what you do and where, in the words a customer uses:
| Element | Good length | Example |
|---|---|---|
| Page title | 30 to 65 characters | Family dentist in Gibraltar, Main Street |
| Meta description | 70 to 160 characters | Private dental care on Main Street, Gibraltar. Check-ups, hygiene and emergency appointments, with Saturday opening. |
| Main heading (one H1) | One clear line | Dental care for the whole family in Gibraltar |
Avoid titles that say only the business name or "Home". A name tells a machine who you are, not what you do.
What is structured data, and do I need it?
Structured data is a short block of code, invisible to visitors, that states facts about your business in a standard format from schema.org: your name, type of business, address, phone number, opening hours and website. For a local business the type is usually LocalBusiness, or a more specific one such as Restaurant, Dentist or LegalService.
Google documents that it reads this data. The AI companies do not say how much weight they give it, so treat it as removing ambiguity rather than as a ranking trick. It costs little: most website builders have a setting or plugin for it.
What to include, at minimum:
- Business name, exactly as you use it everywhere else
- Full address including "Gibraltar", and your phone number with the +350 code
- Opening hours
- Links to your Google Business Profile and social profiles (sameAs)
Should I add an llms.txt file?
An llms.txt file is a short plain-text summary of your business and your most important pages, placed at yourdomain.gi/llms.txt. It is a proposal rather than an official standard, and whether any particular assistant reads it is up to that assistant.
It takes ten minutes, cannot hurt, and writing it is a useful test in itself: if you struggle to describe your business in three plain sentences, so will a machine. Our llms.txt generator drafts one from your homepage.
What should you do this week?
- 1View the source of your homepage and check your main text is in it.
- 2Rewrite your homepage title and description so they say what you do and that you are in Gibraltar.
- 3Ask whoever runs your site whether it has LocalBusiness structured data, and add it if not.
- 4Draft an llms.txt with the generator.
Common questions
My site is on Wix or Squarespace. Can AI crawlers read it?
Usually, but check rather than assume. View the page source and search for your own text. Most hosted builders now serve the text in the HTML, but settings, apps and custom sections can change that.
Does every page need structured data?
The business details belong on your homepage or contact page. Other pages benefit from their own types, such as FAQPage for a page of questions and answers, but the business block is the one to do first.
Should my website be in English and Spanish?
If you serve Spanish-speaking customers, yes. Assistants answer in the language they are asked in, and a Spanish page gives them something to cite when the question is in Spanish.