• ARTICLE
  • STRING
  • CONVERTER
  • ENCRYPT
  • NETWORK
  • MORE
  • ARTICLE
    STRING
    CONVERTER
    ENCRYPT
    NETWORK
    MORE
logo Online Tools
Favorite Copy Link Share

HTML Beautify and Minify


Input

Output

Before : 1KB , After : 0.5KB , Saving : 50%
HTML Beautify and Minify-summary

HTML beautify tools and minify tools online provide one click HTML beautification function and one click HTML minimization function.

HTML Beautify and Minify-instructions
  1. Open : Open the local HTML file, and the supported file encoding is UTF-8.
  2. Beautify : Beautify / Format the input HTML.
  3. Minify : Compress the input HTML.
  4. Download : Download the output HTML locally. The file name is handled.html. The file encoding is UTF-8.
  5. HTML Minify Features :
    1. strip unnecessary whitespace and otherwise collapse it to one space (or newline if it originally contained a newline).
    2. strip superfluous quotes, or uses single/double quotes whichever requires fewer escapes.
    3. strip default attribute values and attribute boolean values.
    4. strip some empty attributes.
    5. strip default protocols (http:, https: and javascript:).
    6. strip all comments (preserve conditional comments, e.g. IE versions).
    7. shorten doctype and meta charset.
    8. lowercase tags, attributes and some values to enhance gzip compression.
0 comments