How to Add an llms.txt File to a HubSpot Website

7bb6d7f4177f5ea11fde1ce5e40a3e77

Written By: Ishan Makkar Last Updated: July 3, 2026

How to Add an llms.txt File to a HubSpot Website
TL;DR: Want to add a HubSpot llms.txt file? While HubSpot doesn’t natively support hosting it at your domain’s root, you can still create the file, make it publicly accessible using available workarounds, and follow proven AI optimization practices. This guide covers the setup process, current limitations, validation steps, and tips to improve HubSpot AI visibility.

AI assistants are changing how people discover information, and website owners are exploring new ways to make their content easier for these systems to understand. One emerging approach is llms.txt, a proposed Markdown file that highlights a website’s most valuable resources.

If you’re looking to implement HubSpot llms.txt, it’s important to know that HubSpot doesn’t currently support hosting the file at your domain’s root, the preferred location in the proposed specification. However, you can still create the file, use available workarounds, and follow proven practices to improve HubSpot AI visibility.

This guide explains the current HubSpot llms.txt setup, its limitations, how to validate your file, and the best practices to prepare your website for AI-driven search.

Quick HubSpot llms.txt Setup

Looking to add a HubSpot llms.txt file? Here’s a quick overview:

  • Native support: HubSpot doesn’t currently support hosting llms.txt at your domain’s root (yourdomain.com/llms.txt) .
  • Create the file: Write an llms.txt file in Markdown with links to your most important pages.
  • Upload it: Use Content → Files to make the file publicly accessible.
  • Need the root URL? Use a reverse proxy or CDN, such as Cloudflare, to serve the file from the recommended location.
  • Validate it: Ensure the file is publicly accessible, properly formatted, and contains only relevant URLs.
  • Optimize beyond llms.txt: Continue using structured data, internal linking, and technical SEO to improve HubSpot AI visibility.

Bottom line: You can create and host a HubSpot llms.txt file today, but serving it from the preferred root location requires a workaround because HubSpot doesn’t currently support it natively.

What Is an llms.txt File?

An llms.txt file is a Markdown document placed at the root of a website (typically https://example.com/llms.txt). Unlike robots.txt, which tells search engine crawlers what they can or cannot access, an llms.txt file is intended to help AI systems quickly locate the most valuable content on a website.

A typical file might include links to:

  • Product documentation
  • Knowledge base articles
  • API documentation
  • Important guides
  • Frequently asked questions
  • Contact or support resources

The goal is to provide AI systems with a curated list of important resources, making it easier to identify the pages you consider most valuable if they choose to support the proposed specification.

Although interest in the specification is growing, it’s important to understand that llms.txt is optional and is not currently recognized as an official web standard. Website owners should view it as a supplementary resource rather than a replacement for technical SEO, structured data, or high-quality content.

Does HubSpot Support llms.txt?

This is the question most website owners ask before beginning a HubSpot llms.txt setup. The short answer is: not natively.

At the time of writing, HubSpot doesn’t provide direct access to the root directory of a hosted website. Since the proposed specification expects the file to be available at:

https://yourdomain.com/llms.txt

HubSpot users cannot simply upload the file to the website root in the same way they might on WordPress, Webflow, or a self-hosted server.

This limitation has been raised by HubSpot users through the HubSpot Community Ideas forum, where requests have been made for root-level file hosting support. At present, there has been no official product update introducing native support.

That doesn’t mean implementing an llms.txt file in HubSpot is impossible, it simply requires a different approach depending on how your domain is configured.

Why HubSpot Users Still Want an llms.txt File

Despite the current limitations, many businesses are interested in adding llms.txt to HubSpot because AI-driven search is evolving rapidly.

While there’s no guarantee that AI assistants will use the file today, maintaining one offers several potential benefits:

  • It creates a clear index of your most valuable resources.
  • It encourages organized documentation and content architecture.
  • It prepares your website if wider adoption of the specification occurs.
  • It complements broader HubSpot AI crawler optimization efforts rather than replacing them.

For organizations that publish documentation, SaaS resources, product manuals, or educational content, maintaining an llms.txt file can also serve as an internal content inventory. The key is to treat it as an enhancement, not a ranking factor.

How to Create an llms.txt File for a HubSpot Website

Creating the file itself is straightforward. Open any plain text editor and save a new file named:

llms.txt

The contents should be written in Markdown, making it easy for both humans and AI systems to read.

Example HubSpot llms.txt File



# Company Name
Welcome to our AI resource directory.

## Core Resources
- https://example.com/
- https://example.com/blog/
- https://example.com/docs/
- https://example.com/help-center/

## Products
- https://example.com/product-a/
- https://example.com/product-b/

## Contact
- https://example.com/contact/

A good HubSpot llms.txt example should focus only on pages that provide lasting value. Avoid including temporary campaign pages, seasonal promotions, or URLs that frequently change. Think of the file as a curated reading list rather than a complete sitemap.

Steps to Add an llms.txt File to a HubSpot Website

Although HubSpot doesn’t currently support publishing the file directly at the root of your domain, there are still practical ways to make it available.

Option 1: Upload the File to HubSpot File Manager

If your goal is simply to host the file on your website, you can upload it through HubSpot’s File Manager.

The general process is:

  • Log in to your HubSpot account.
  • Navigate to Content → Files.
  • Upload your llms.txt document.
  • Copy the generated public file URL.

This won’t create the preferred location (/llms.txt), but it allows the file to be publicly accessible. HubSpot’s File Manager documentation explains how publicly hosted files are managed within the CMS.

Option 2: Use an External Reverse Proxy or CDN

If your website uses services such as Cloudflare, a reverse proxy, or another edge platform in front of HubSpot, you may be able to serve:

https://yourdomain.com/llms.txt

while storing the actual file elsewhere. This approach depends entirely on your hosting architecture and requires technical configuration outside HubSpot.

For businesses that need strict compliance with the proposed specification, this is currently the closest workaround until native root-level file support becomes available.

HubSpot Limitations You Should Know

Before setting up a HubSpot llms.txt file, it’s important to understand the platform’s current limitations.

HubSpot doesn’t provide direct access to your website’s root directory, so you can’t natively host an llms.txt file at https://yourdomain.com/llms.txt. While workarounds such as reverse proxies or CDNs are possible, they require infrastructure outside of HubSpot.

It’s also worth noting that llms.txt remains a proposed convention rather than an established web standard , and major AI providers haven’t confirmed that they currently use it. Think of it as a helpful addition to your AI optimization strategy, not a replacement for strong technical SEO and high-quality content.

The proposed specification recommends placing the file at the root of a website because it’s the first location AI systems would be expected to check if they choose to support the convention in the future.

How to Validate Your HubSpot llms.txt File

After uploading your HubSpot llms.txt file, make sure it’s publicly accessible and correctly formatted. Check that:

  • The file is named llms.txt
  • It uses valid Markdown
  • All URLs are accurate and publicly accessible
  • Only important, evergreen pages are included

If you serve the file from the recommended root location using a CDN or reverse proxy, verify that https://yourdomain.com/llms.txt loads successfully.

Tip: If you’re using a HubSpot llms.txt generator, always review the generated output manually before publishing. Automated tools can save time, but they may include pages that aren’t useful for AI systems or miss important documentation URLs.

Best Practices for HubSpot AI Visibility Beyond llms.txt

Whether or not AI systems currently use llms.txt, there are several proven ways to improve HubSpot AI visibility. These best practices benefit both traditional search engines and AI-powered search experiences.

Create Well-Structured Content

AI systems perform better when content has a logical hierarchy. Use descriptive headings, answer common questions clearly, and organize information into manageable sections instead of long, unbroken paragraphs. This approach improves readability for both users and machines.

Publish Comprehensive Resource Pages

Rather than scattering information across dozens of short posts, create comprehensive guides that fully answer a topic. For example, instead of publishing several brief articles about image optimization, consider a complete resource that covers:

  • image formats
  • compression techniques
  • responsive images
  • Core Web Vitals
  • common optimization mistakes

Comprehensive content provides a stronger context for AI systems and often performs better in organic search as well.

Implement Structured Data

Structured data remains one of the most reliable ways to help search engines understand your content. Adding Schema.org markup for several schema types gives search engines additional context, which can improve eligibility for rich results and support machine understanding.

Unlike HubSpot llms.txt, structured data is already a widely adopted web standard with established search engine support.

Keep Your Internal Linking Strong

Internal links help both users and crawlers discover related content efficiently.

Whenever you publish a new article, connect it to relevant guides, product pages, documentation, and FAQs. A strong internal linking structure creates clear topical relationships that are valuable for both traditional SEO and HubSpot AI crawler optimization.

Improve Technical Performance

Fast-loading websites make it easier for search engines and AI systems to access your content efficiently while also improving the overall user experience.

Pay attention to:

  • image optimization
  • responsive images
  • Core Web Vitals
  • clean HTML
  • mobile usability
  • broken links
  • crawl errors

These improvements contribute to better overall HubSpot AI search optimization, regardless of whether AI systems use an llms.txt file today.

Conclusion

While HubSpot llms.txt isn’t natively supported today, you can still create the file and make it publicly accessible using available workarounds. Just keep in mind that llms.txt is still an emerging proposal, not an established standard.

For long-term HubSpot AI visibility, focus on what consistently delivers results: publishing high-quality content, using structured data, maintaining strong internal links, and keeping your website technically optimized. These best practices will help your site stay discoverable as AI-powered search continues to evolve.

FAQs

Q1: Does HubSpot support llms.txt natively?

No. At the time of writing, HubSpot doesn’t provide native support for publishing an llms.txt file directly at the root of your website. You can upload the file through HubSpot’s File Manager or use external infrastructure, such as a reverse proxy, to serve it from the preferred location if needed.

Q2: Is an llms.txt file required for AI search?

No. An llms.txt file is entirely optional. Major AI providers have not publicly confirmed that they rely on it for crawling or content retrieval, so it should be viewed as a supplementary resource rather than a requirement.

Q3: Can I add llms.txt to HubSpot without coding?

You can upload a HubSpot llms.txt file using the File Manager without writing code. However, publishing it at the root of your domain may require additional infrastructure outside of HubSpot.

Q4: What should I include in an llms.txt file?

Focus on your most valuable evergreen content, such as documentation, knowledge base articles, product pages, API references, support resources, and comprehensive guides. Avoid temporary landing pages or frequently changing campaign URLs.

Q5: Is there a HubSpot llms.txt generator?

Yes. Several third-party tools can generate an llms.txt file automatically based on your website’s content. Regardless of which HubSpot llms.txt generator you use, review the output carefully to ensure it includes only relevant, high-quality URLs.

Q6: How do I validate HubSpot llms.txt?

Check that the file is publicly accessible, uses valid Markdown formatting, contains working links, and follows the latest recommendations from the proposed specification. Since no official validator currently exists, manual review is still the most reliable approach.

Q7: Will llms.txt improve my rankings in Google?

There is currently no evidence that Google Search uses llms.txt as a ranking signal. Your SEO efforts should continue to prioritize high-quality content, structured data, technical optimization, and a strong site architecture.

Q8: Should I create an llms.txt file today?

If your website contains extensive documentation, educational resources, or product information, creating an llms.txt file can help organize those resources and prepare for potential future adoption. However, it shouldn’t replace proven SEO and content optimization practices.

Google logo

“The agent doesn’t return ten blue links… it pulls from structured business data… to complete the job.”

- Sundar Pichai

JSON Schema App automatically detects, fixes, and manages structured data to help search engines and AI understand your website, improving visibility and rich results.

Try our Other Product

Website Speedy is a SaaS-based website optimization tool that instantly reduces website loading times.

This tool allows you to optimize images automatically on any platform, including Wix, Shopify, BigCommerce, and more.