Html Formatter MCP tool
MCP
findutils:html_formatter Format (beautify) or minify HTML and return the result with a tag-balance validation report. Format mode re-indents block tags, keeps inline tags with their text, and leaves pre/code/script/style/textarea content untouched. Minify mode strips comments and whitespace between tags.
Arguments
application/json-
html
string required
The HTML source to format or minify.
-
mode
string optional
format = beautify with indentation, minify = compact. Default: format. One of
format · minify. Default"format". -
indent
integer optional
Spaces per indentation level in format mode (1-8). Default: 2. Default
2.
Example arguments
Verified{
"html": "<div><p>Hello</p></div>"
} More Validation tools
- Email Validate Validate an email address and report every rule it breaks and break it into local / domain / TLD parts.
- Json Validate Validate a JSON string.
- Openapi Validator Validate an OpenAPI 3.x (or Swagger 2.0) document given as JSON or YAML and return a report with errors, warnings, and summary info (title…
- Phone Format Validate a phone number and format it as E.164 (+CCNNN…), international and national, using libphonenumber metadata for every country.
- State Machine Designer Validate a finite state machine given as nodes and edges and return a normalized machine config plus issues.
- Url Validate Validate that a string is a well-formed URL and (optionally) require HTTPS.