What a page can contain
The files, sizes, outside libraries and content that AI Pages accepts, and what is refused or removed.
AI Pages hosts a page exactly as it was written. Nothing is installed, built or run on the server. Every page is checked before it goes online.
Files
- HTML, CSS, JavaScript and JSON.
- Images: PNG, JPEG, GIF, WebP, AVIF, SVG and ICO.
- Fonts: WOFF and WOFF2.
- Up to 100 files per page. The start page is
index.html.
One HTML file with its CSS and JavaScript inside is the normal case. Scripts run, so menus, tabs, galleries, calculators, quizzes and small games work.
Size
All files of a page together may be 5 MB without a plan. Paid plans allow more: see Plans and limits. If a page is refused as too large, the images are usually the cause.
Projects with a build step
React, Vue, Svelte, Astro and TypeScript projects need building first. Publish the output (the contents of dist or build), not the source. A project sent as source is refused with a request for the built files.
Code, styles and fonts from other websites
They load only from well-known libraries:
| Kind | Hosts |
|---|---|
| Scripts | cdn.jsdelivr.net, unpkg.com, cdnjs.cloudflare.com, esm.sh, cdn.tailwindcss.com, ajax.googleapis.com, code.jquery.com |
| Style sheets | cdn.jsdelivr.net, unpkg.com, cdnjs.cloudflare.com, fonts.googleapis.com, fonts.bunny.net |
| Fonts | fonts.gstatic.com, fonts.bunny.net, cdn.jsdelivr.net, unpkg.com, cdnjs.cloudflare.com |
A script must name its exact version in the address, for example https://cdn.jsdelivr.net/npm/[email protected] or https://cdn.tailwindcss.com/3.4.17. An address that could later serve a different file is refused. A script with an integrity hash is accepted.
Anything from another host is removed, and the assistant is told which part. Put that code in the page itself instead.
Images from other websites load over https.
What a page cannot do
- Send data elsewhere. A script can read the page’s own files, such as a
data.jsonpublished with it, but cannot call an outside API. Frames and embeds (<iframe>) are removed. - Collect form input. A form is shown but sends nothing. For contact, use an email link, a phone number or a link to a booking page.
- Ask for passwords or payment details.
- Link through link shorteners such as bit.ly. Use the real address.
Content that is refused
A page is refused when it imitates an organisation or a person, misleads visitors, or breaks the acceptable use policy. The refusal says why.
Search engines
On a paid plan you decide whether search engines may list a page. Pages without a plan are not listed.
Reporting a page
Every page without a plan carries a small “Made with Build Once” strip with a flag that leads to the report form. Anyone can also report a page at any time: see Reports and takedowns.