This plugin can optimize your HTML by minifying. For full features version, please check https://wordpress.org/plugins/litespeed-cache/. Its free too. Plugin Features General Features Minify HTML