Free tool

HTML to spreadsheet with CSS selectors

Turn HTML to a spreadsheet table: one row per item, such as each product card, and one column per CSS selector. The result is tab-separated, so it pastes straight into spreadsheet columns.

The example is loaded. Paste your own list to replace it.

1
HTML to a table with CSS selectors

→ 3 lines

Each row is one

Columns, one per line: Name = selector @attribute

Put the column names in the first row

Your text

2 lines

Result

3 lines

What it does

One row per item (such as each product card), one column per selector. Tab-separated, so it pastes into a spreadsheet.

Settings you can change

  • Each row is one
  • Columns, one per line: Name = selector @attribute
  • Put the column names in the first row

When to use it

A saved shop page lists books. Get each book's title, price and star rating in three columns.

Example: HTML to spreadsheet

Settings used: Each row is one: article.product; Columns, one per line: Name = selector @attribute: Title = h3 a @title · Price = .price · Rating = .star-rating @class[2].

Input

Result

Tips

  • Write each column as Name = selector @attribute. Leave out @attribute for the text.
  • @class[2] takes the second word of the class attribute, like "Three" in "star-rating Three".

Often used with

Paste HTML and get the text or an attribute (like href) of every element that matches a CSS selector.

Turn rows into JSON objects, using the first row as the names.

Turn CSV into tab-separated text (for pasting into a spreadsheet), or the other way round.

All free tools

Your text stays on this computer
The list editor works on your computer. The text you paste or open is not uploaded or stored by HeyScraper, and closing the page clears it. Saved recipes are kept in this browser only.

Got your list from a web page?

HeyScraper turns the page you’re on into a spreadsheet, so you can skip the copying and pasting. Free: 500 pages a month.

Get HeyScraper