HTML & CSS Formatter / Minifier
Beautify or minify HTML and CSS — pretty-print messy markup, or shrink it for production.
Output (216 B)
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/html-css-formatter/run \
-H "Content-Type: application/json" \
-d '{
"lang": "html",
"mode": "format",
"input": "your input here",
"indent": 2
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/html-css-formatter/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"lang": "html",
"mode": "format",
"input": "your input here",
"indent": 2
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_html_css_formatterFull reference: developer docs · OpenAPI spec
You might also like
- CSS Specificity CalculatorScore one or more CSS selectors and see which one wins the cascade.
- Cache-Control Header BuilderBuild HTTP Cache-Control headers with presets for static assets, APIs, and private responses.
- Color Picker & Contrast CheckerPick colors, convert between HEX/RGB/HSL, and check WCAG contrast.
- HTTP Cookie Builder & ParserConstruct or decode Set-Cookie headers with SameSite, Secure, HttpOnly, and prefix validation.