Free tools, no sign-up — everything runs in your browser.
ToolHub 1000Free online tools

Ads.txt Explained: Why Advertisers Ask for It

Ads.txt is a small fraud-fighting file. Learn what a declaration line means and why buyers check for it.

What is the Ads.txt Generator?

An ads.txt file declares which ad networks are authorised to sell your inventory, cutting off domain spoofing. This generator builds the standard declaration lines.

How to use it

  1. Enter the network domain and your publisher ID.
  2. Choose DIRECT or RESELLER.
  3. Click Generate and save as ads.txt at your root.

Worked example

One network, one direct line — ready to upload to your site root.

Do I need ads.txt if I have no ads?

Only if you sell display ads. Content sites without ads do not need one.

Frequently asked questions

What do DIRECT and RESELLER mean?

DIRECT means you deal with the network directly; RESELLER means through an intermediary.

Where does ads.txt live?

At your site root, e.g. example.com/ads.txt.

Try the Ads.txt Generator free · All guides