{"category":"web","endpoint":"https://setget.net/v1/tools/html-minify","examples":[{"input":{"text":"<div>\n  <p> Hello   <b>world</b> </p>\n  <!-- note -->\n  <pre> a  b </pre>\n</div>"},"output":{"bytes_after":53,"bytes_before":80,"saved":27,"saved_percent":33.8,"text":"<div><p>Hello <b>world</b></p><pre> a  b </pre></div>"}}],"input_schema":{"additionalProperties":false,"properties":{"keep_comments":{"default":false,"description":"Keep ordinary comments. Conditional comments are always kept.","type":"boolean"},"text":{"description":"The HTML to minify.","examples":["<div>\n  <p> Hello   <b>world</b> </p>\n  <!-- note -->\n</div>"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["html","minify","compress html","shrink","remove comments","whitespace","page size"],"related":["html-format","css-minify","json-minify","gzip"],"slug":"html-minify","summary":"Shrink HTML by removing comments and needless white space, without touching pre, textarea, script or style.","tier":"inline","title":"HTML minifier","url":"https://setget.net/tools/html-minify"}
