HTML Beautifier
Indent
2 spaces
4 spaces
Tabs
HTML
Sample
Open file
Clear
<!doctype html><html><head><title>Imaginex</title><style>body{margin:0}</style></head><body><nav><a href="/">Home</a><a href="/tools">Tools</a></nav><main><h1>Free tools</h1><p>Fast and private.</p></main></body></html>
Formatted HTML
Run
Copy
Download
Press Run to see the result
Free tool by
Imaginex AI HTML Beautifier