CodeBeautify is an online Code Beautifier and Code Formatter that allows you to beautify your source code. It also provides lots of tools that help to save developers time. Use search to find tools.
Paste in HTML, CSS, or JavaScript, hit "Clean", and it'll clean up whatever you gave it so that it's more readable.