Free tool

HTML formatter (prettify)

An HTML formatter that indents HTML so every tag sits on its own line and you can see what is inside what. This is also called prettifying.

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

1
Format HTML

→ 8 lines

Spaces per level

Your text

1 line

Result

8 lines

What it does

Indent HTML so every tag sits on its own line and nesting is easy to see (prettify).

Settings you can change

  • Spaces per level

When to use it

You copied a page's HTML and it is one long line. Format it to find the part you need.

Example: HTML formatter

Input

Result

Often used with

Delete every element that matches a CSS selector, such as scripts, ads or navigation, and keep the rest of the HTML.

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

Turn HTML into plain text.

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