xml format
xml format --html --indent-spaces {{4}} {{path/to/input.html|URI}} > {{path/to/output.html}}