Build a side-by-side product comparison table for your reviews and “best of” posts. Add up to 5 products and 10 feature rows, mark your top pick, add your affiliate links as buttons, and copy ready-made code for a WordPress Custom HTML block — with links marked the way Google asks and a disclosure placed right above the table.
Type “Yes” or “No” in any cell to show a ✓ or ✗. Put the features readers decide on — price, free trial, best for — at the top.
Example helper: tap an example to load a ready-made table, then replace it with your own products.
For WordPress, paste “Copy HTML + CSS” into a Custom HTML block (or an Elementor HTML widget). Use “HTML only” if your theme already styles tables, and Markdown for editors and docs.
Quick answer: An affiliate comparison table puts products in columns and features in rows so readers can compare at a glance. Highlight one top pick, keep it to the 4–8 features people actually decide on, add a button with your affiliate link under each product, mark those links rel=”sponsored”, and put a short disclosure right above the table. This generator does all of that and gives you code to paste into WordPress.
Each product becomes a column and each feature a row. As you type, the preview updates and three versions of the code are kept ready to copy:
| Export | What you get | Use it for |
|---|---|---|
| HTML + CSS | The table plus its own styling, top-pick highlight, ✓/✗ colours, buttons and a sticky first column for phones | WordPress Custom HTML blocks, Elementor HTML widgets, any web page |
| HTML only | Clean table markup with class names, no styling | Themes that already style tables, or your own CSS |
| Markdown | A plain-text table with links | Drafts, docs, Notion and Markdown-based sites |
Columns = 1 feature column + one column per product (2–5)
Rows = your feature rows (1–10) + a button row if any product has a link
Top pick = gold header, badge and tinted column
Yes / No = ✓ Yes (green) and ✗ No (red)
Affiliate links = rel="sponsored nofollow noopener", http(s) links only
Disclosure = placed directly above the table
All text is escaped in the code, so symbols like <, > and & in product names show correctly and can’t break your page.
Google asks sites that take part in affiliate programs to qualify those links with rel=”sponsored” (it still accepts rel=”nofollow”). The exported buttons include both, plus “noopener” for links that open in a new tab. Your Affiliate Link Builder or plugin may add these too — having them twice does no harm.
The FTC says affiliate relationships should be disclosed clearly and as close to the recommendation as possible — a note only at the bottom of the page can be missed. It also says labels like “affiliate link” alone, or a “buy now” button, may not make it clear you’re paid. A plain sentence such as “I earn a commission if you buy through links in this table” right above the table is the simplest fix.
2 products and 5 rows — price, free trial, best for, templates and plagiarism checker. Tool A is the top pick with a “Check price” button; both have links, so the table gets 2 affiliate buttons and 0 empty cells.
4 products and 6 rows for a buying guide. One product has no affiliate link yet, so it gets no button — the note reminds you, and the other 3 buttons still export with rel=”sponsored”.
3 columns — Starter, Pro and Business — with the middle plan as the top pick and rows for price, users, storage and support. Typing “Yes” and “No” turns into green ✓ and red ✗ marks.
Copy Markdown gives a plain table with the top pick marked ⭐ and links written as [Check price](link), ready for a Google Doc, Notion page or Markdown site.
Click “Copy HTML + CSS”, then in the WordPress editor add a Custom HTML block (or an Elementor HTML widget) and paste. Preview the page to check it, and keep a copy of your inputs if you’ll update the table later.
Google asks for affiliate links to be marked rel=”sponsored” and still accepts rel=”nofollow”. The exported buttons use rel=”sponsored nofollow noopener”, which covers both.
If you earn a commission from the links, the FTC expects a clear disclosure close to the recommendation. The generator places your disclosure directly above the table; you can edit the wording or leave it out if you already disclose right before the table.
No. It formats what you type. Confirm prices, trial lengths and features on each product’s site before publishing, and recheck them regularly.
The exported table scrolls sideways on small screens while the feature column stays fixed on the left, so readers always know which row they’re on.
Up to 5 products and 10 feature rows. Most readers find 2–4 products and 4–8 features easiest to compare.
Disclaimer: This generator formats the information you enter; it doesn’t check prices or features. It isn’t legal advice — check the disclosure rules that apply to you.
Sources: FTC — Endorsement Guides: What People Are Asking; Google Search Central — Qualify your outbound links; Google Search Central Blog — A reminder on qualifying links.
Last updated: 16 October 2026 · By Udaychandra, IncomeJets