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.
→ 8 lines
Spaces per level
Your text
Result
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.
Your text stays on this computer
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