Product comparison table generator
Turn product attributes into a comparison table with marked differences and HTML or CSV export.
Your comparison table
| Attribute | Everyday Tote | Travel Tote |
|---|---|---|
| Capacity (Different) | 18 L | 24 L |
| Material | Canvas | Canvas |
| Warranty (Different) | 1 year | Not supplied |
Marked rows have different text or a missing value. The table does not rank products or judge whether a difference matters.
2 products, 3 attributes. 2 differing rows, 2 marked. Blank cells appear as Not supplied.
Use your table
Choose attributes shoppers can compare
Start with an attribute column and 2 to 4 product names. Add 1 to 30 attribute rows. Separate cells with commas and leave missing values blank. Enclose a cell containing commas or line breaks in double quotes. Double any quote inside a quoted cell.
One full HTTP or HTTPS address per line, in product column order. Leave a blank line for a product without a link.
When using Selected attributes, enter one label per line exactly as it appears in the data. Only differing rows receive a bold label and the word Different.
Your data stays in this browser. The generator uses only the values you enter.
Cell edges are trimmed. Comparison ignores letter case and repeated whitespace. Units stay as supplied: 1 kg and 1000 g count as different text. Blank cells remain missing.
CSV keeps missing values as blank cells and includes a product-link row when links are supplied. Formatting and difference marks stay in the HTML export.
Formula-like CSV cells receive a leading tab for spreadsheet viewing. Import columns as text. Spreadsheet software can change this protection after editing or saving.
Choose attributes that answer a purchase question, such as whether a bag holds a laptop or fits a cabin-baggage limit. Keep the same units across each row.
Compare equivalent variants. A small bag’s capacity against a large bag’s capacity answers a size question, while different fabrics can explain a price difference. Name the variant in each product heading.
A count of extra features cannot tell a shopper which product suits them. Mark the differences that affect their use and explain any trade-off beside the table. The guide to guided selling explains how product attributes help shoppers choose.
Build a table from catalogue data
The fictional example compares Everyday Tote with Travel Tote. Their capacities are 18 L and 24 L, so Capacity is marked Different. Both list Canvas, so Material remains unmarked.
Everyday Tote lists a one-year warranty. Travel Tote’s warranty cell is blank, so its preview shows Not supplied and Warranty is marked Different. A blank value does not mean zero warranty or no warranty.
Replace the CSV header with your product names, then add the attributes you want to compare. Keep an empty cell for an unknown value. If the source uses 1 kg and 1000 g, convert them to a common unit yourself before comparing.
The comparison table maker trims cell edges and compares text after ignoring letter case and repeated whitespace. Interior whitespace stays in the exported values. Different measurement formats can therefore produce a marked row even when the quantities match.
Use the export on a product page
Copy the HTML into your storefront’s HTML editor. The export contains a table caption, product column headings and attribute row headings. Optional links appear on the product names.
The headings use the W3C table-header pattern. Text you enter is encoded as text, so a product name containing HTML characters cannot add markup. Only full HTTP or HTTPS links are accepted.
After pasting, preview the page on a phone and desktop. Confirm the editor retained the headings and links, and that long values wrap within the page. Your storefront theme controls the exported table’s appearance.
Use CSV when you want to work on the values in a spreadsheet. The export follows CSV quoting conventions for commas, quotes and line breaks. It keeps unknown values blank so they remain distinguishable from entered values.
OWASP describes the risks of spreadsheet formulas in CSV. The generator adds a tab before formula-like values in its CSV export. Keep imports as text and check any file you edit or save before sharing it.