An ads txt generator on Windows is a browser-based way to turn platform-supplied seller details into a standards-shaped ads.txt file that you can review and download for publication at /ads.txt. On Windows, the practical task is not to invent a publisher ID or expect software to discover sellers automatically; it is to collect exact records from each advertising platform, enter one verified seller at a time, check the generated lines, and deploy the final plain-text file on the root domain that owns the inventory. The Ads Txt Generator supports DIRECT and RESELLER records, an optional certification authority ID, strict field validation, exact-duplicate protection, and a newline-terminated download. It supports up to 200 records, and the finished text can be copied or downloaded without sending account details to the server. It validates syntax, not authorization. Only the platform and your own business records can confirm that a seller is actually authorized. A clean-looking file can still cause monetization problems if an account belongs to someone else, the relationship is wrong, or a valid existing seller is removed during editing.

The fields that make up each seller record
Ads Txt Generator represents each seller as one row. Three fields are required, while a fourth can identify a certification authority when the platform supplies it. The tool builds the declaration from the information you enter; it does not confirm ownership of an account.
| Field | Required | What to enter |
|---|---|---|
| Advertising-system domain | Yes | The canonical domain where buyers connect, such as google.com. It is not necessarily your website domain. |
| Seller or publisher account identifier | Yes | The exact identifier assigned by the platform. Google seller accounts use a pub- prefix followed by account digits, while other exchanges use different formats. |
| Relationship | Yes | Either DIRECT or RESELLER, depending on who controls the listed account. |
| Certification authority identifier | No | Only the exact value supplied for that seller record by the advertising platform. |
The first field is where buyers connect to the advertising system, not automatically the domain where your website is hosted. Enter a bare domain: Ads Txt Generator lowercases and validates it instead of silently extracting a host from a pasted URL. Do not include https://, a path, port, username, or password.
For the formal record layout, consult the IAB Tech Lab's ads.txt 1.1 specification. Use that reference for format questions, but obtain account-specific values from each partner's current instructions. A line copied from another seller can be well formed and still be wrong for your site.
Choose the relationship the record actually describes
The relationship is a business fact, not a formatting preference. Choose it according to which entity controls the account named in the record.
| Relationship | Account control | Business meaning |
|---|---|---|
| DIRECT | The site owner directly controls the listed account. | The site owner has a direct business relationship with the advertising system. |
| RESELLER | Another entity controls the listed account. | That entity is authorized to resell the site's advertising inventory. |
Selecting the wrong relationship can make the declaration inaccurate even when every character is formatted correctly. If the arrangement is unclear, verify it with the platform or reseller before generating the final file.
Create and download ads.txt on Windows
- Open the generator's web page in the browser you use on Windows and locate the seller-entry area. This workflow creates downloadable text from records entered in the page.
- Open each advertising platform's account or official setup instructions. Copy the advertising-system domain, publisher account identifier, relationship, and optional certification authority identifier exactly as supplied. For Google AdSense, the focused guide to getting ads.txt records from Google AdSense and validating them can help with locating an account-specific record.
- Enter the advertising-system domain as a bare host, such as google.com. Do not paste a full URL containing a scheme, path, port, username, or password. Remember that this domain is not necessarily the domain where you will publish the file.
- Copy the seller or publisher identifier character for character. Do not invent an ID, convert another platform's format, or assume that every exchange uses Google's pub- format.
- Select DIRECT when you directly control the account and have the corresponding business relationship. Select RESELLER when another authorized entity controls the account and resells the inventory.
- Add the certification authority identifier only when the platform provides the exact value for that record. Leave it blank otherwise. Google's published example includes f08c47fec0942fa0, but that does not make the value applicable to another exchange.
- Add the seller to the visible list and repeat the process for every authorized account. Ads Txt Generator supports up to 200 records. If several advertising systems are authorized, include one verified record for each relevant account.
- Read every generated line against the platform instructions. Remove obsolete entries and do not delete existing valid sellers merely to add a new one. Exact duplicate formatted rows are rejected, but duplicate protection cannot determine whether a seller is still authorized or whether an account relationship has changed.
- Copy or download the completed file as ads.txt. The generated text ends with a newline and can be obtained without sending the account details to the server. Keep a backup of any current ads.txt before replacing it.
- Using your hosting provider's normal file-upload process, publish the downloaded file at /ads.txt on the root domain that owns the inventory. Open the public URL and compare every visible line with your verified account records.
Review the generated text before deployment
Each seller becomes one comma-separated line. The generator trims surrounding input, rejects commas or whitespace inside fields, normalizes domain case, prevents exact duplicate rows, and ends the output with a newline. Its 200-record ceiling limits browser output, but it does not establish that every included seller belongs in your file.
- Confirm that each line begins with the canonical advertising-system domain and not an unrelated website domain.
- Compare every account identifier with the platform's current instructions, including its prefix, punctuation, and capitalization.
- Verify that DIRECT or RESELLER reflects actual account control rather than the outcome you hope to achieve.
- Include a certification authority identifier only when it was supplied for that exact seller record.
- Review the file as a complete set so obsolete sellers are removed while all current, valid sellers remain.
On Windows, compare the visible generated text or downloaded plain-text file with your source records before replacing the live file. Keep the previous version available so every addition, removal, and relationship change is easy to identify.
Publish and verify the root-domain URL
Publish ads.txt as a plain-text resource on the root domain that owns the advertising inventory. That root domain may differ from the advertising-system domain entered in the first field. For example.com, the expected public location is https://example.com/ads.txt.
Publishing the same content only at /files/ads.txt, embedding it in an HTML page, or placing it behind authentication does not create the required crawler-visible root resource. Confirm that the file is directly accessible as text and that its public name is ads.txt.
After deployment, open the public URL and compare each line with the instructions from the relevant platform. Account or network changes may require later updates. When adding a seller, preserve other verified records and review the difference between the previous and new files.
Separate syntax checks from seller authorization
Ads Txt Generator validates the file's structure, but several critical questions remain outside its scope:
- It cannot sign in to an advertising account.
- It cannot confirm that a publisher identifier belongs to you.
- It cannot prove that a reseller is permitted to sell the inventory.
- It cannot discover every platform or exchange involved with your website.
A syntactically valid but unauthorized or incomplete file can still harm monetization. Use the generator as a formatting and review checkpoint, then verify ownership, authorization, and current partner instructions before publishing. Formatting assistance cannot replace account-level verification.
For a deeper look, see What the 500 KiB Robots.txt Limit Means for AI Crawlers.