...

Search Tools

Search for a command to run...

HTML Formatter & Minifier

Format and beautify HTML code, or minify it to reduce file size.

Drag and drop an HTML file here, or click to select

Format Options

Enter HTML to format or minify...

Use with cURL

You can also use this functionality directly via the API endpoint with cURL commands.

cURL Command:
curl -X POST "https://all-tools.app/api/html-formatter" -H "Content-Type: application/json" -d '{"html":"<div>\"Hello\"</div>","action":"format"}'