Use the options above to format your HTML and perform advanced analysis. Below are before→after examples of the core formatter plus each feature:
Input HTML:
<div class="wrapper"><p>Hello</p><img src="img.jpg"/></div>
Formatted Output:
<div class="wrapper">
<p>
Hello
</p>
<img src="img.jpg"/>
</div>
Input:
<div class="wrapper"><p>Hello</p><img src="img.jpg"></div>
Output:
Total tags: 3
Unique tags: {'div': 1, 'p': 1, 'img': 1}
Images missing alt: 1
Internal links: 0
External links: 0
Input:
<a href="/home">Home</a>
<a href="https://example.com">Example</a>
Output:
Home → /home
Example → https://example.com
Input:
<img src="/logo.png" alt="Logo">
<img src="/banner.jpg">
Output:
src: /logo.png, alt: "Logo"
src: /banner.jpg, alt: ""
Tip: Always include meaningful alt
text for accessibility.
Input:
<h1>Main</h1>
<h2>Sub</h2>
<h3>Section</h3>
Output:
1. H1: Main
2. H2: Sub
3. H3: Section
Why it matters: Proper heading structure boosts SEO and readability.
Input:
<div id="main" class="container highlight">…</div>
Output:
IDs: main
Classes: container, highlight
Pro Tip: Use this audit to clean up unused selectors in your CSS.
alt
tags and enforce semantic structure.Integrate this tool into your workflow to catch errors early, enforce best practices, and keep your HTML clean, accessible, and optimized.