HTML Question

Online or Offline tool to align html script into same line and remove extra-spaces?

Is there any online or offline tool to align HTML scripts into same line and remove extra-spaces for example:


<h1>This is my page.</h1>
<h4>Text example.</h4>


<head><h1>This is my page.</h1></head><body><h4>Text example.</h4></body>

I want a tool because my scripts are too large to do this manually, if so it will take me some time to finish.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download