Free Tool

HTML Beautifier & Minifier

Format minified HTML into readable code with configurable indentation, or compress HTML for production use. Features syntax highlighting for tags, attributes, and values, optional attribute wrapping and sorting, and support for 2-space, 4-space, or tab indentation. Download or copy results instantly.

Format your HTML with proper indentation and syntax highlighting, or compress it for production. Configure indent style, attribute handling, and more.

Lines: 0 Input: 0 Output: 0

        

Explore 269 Free Tools

QTool.io is your all-in-one developer toolkit. Formatters, generators, converters, and more — all free, all instant.

Browse All Tools
Open source

QTool.io on GitHub

269 free tools. No signup. Open source. Built by Christian Bucher.

GitHub Browse 269 Free Tools →

Related Tools

CSS Box Shadow Generator · Emoji Picker & Search · Meta Tag Generator · Favicon Generator · Free Base64 Encoder/Decoder

Related Tools

Free HTML Beautifier · Free Icon Generator · Free Git Diff Viewer

Related Tools

Free JSON to YAML Converter · Free Accessibility Checker · Free API Request Builder

Related Tools

Free JSON to YAML Converter · YAML to JSON Converter · Free ASCII Art Generator

Copied!
'; } beautify(); } inputEl.addEventListener('input',()=>{ statIn.textContent=inputEl.value.length.toLocaleString()+' chars'; }); const obs=new IntersectionObserver(entries=>{entries.forEach(e=>{if(e.isIntersecting){e.target.classList.add('visible');obs.unobserve(e.target)}})},{threshold:.15}); document.querySelectorAll('.fade-in').forEach(el=>obs.observe(el));