Create an ads.txt file

false

Create an ads.txt file

Last updated September 08, 2026 15:00

Add text to help prevent fraud and protect your revenue.

If you’re placing advertisements on your site, you can create an ads.txt file, or a list of “authorized digital sellers,” that helps ad networks verify who’s allowed to sell that space on your site.

Enable and edit your site's ads.txt file

To enable and edit your site's ads.txt file:

  1. Open the Settings panel.
  2. Click Website, then click Ads.txt File.
  3. The ads.txt file is disabled by default. To enable it, add text for your ads.txt file to the text field.
  4. Click Save.

Disable the ads.txt file

To disable the ads.txt file after creating it:

  1. Open the Settings panel.
  2. Click Website, then click Ads.txt File.
  3. Click Delete.
  4. Click Save.

Format text for ads.txt files

We can’t offer specific advice on creating text for your ads.txt file. Review formatting examples and consider hiring a Squarespace Expert if you need more hands-on guidance.

What if my site already uses a custom ads.txt file?

If you previously created an ads.txt customization with code injection, file uploads, redirects or another method, it won’t be automatically removed or updated. You’ll need to manually remove the customization, then add the ads.txt file in your settings.

Was this article helpful?

Yes No

0 out of 0 found this helpful

Yes No

Create an ads.txt file