HTML Formatter

This tool allows you to format ugly or minified HTML code, making it readable. It also formats CSS and JavaScript between their tags.

Paste or upload HTML code.
Format
Upload
Options
Format options:
Tab size:
Indent tab:
Line lenght:
HTML hints:
JavaScript hints:
CSS hints:

The service was created to instantly format any HTML code and make it more readable. The editor also improves CSS and JavaScript between tags.

What problems does this app solve?

The formatter helps to quickly see errors in the HTML structure, fix them and make unreadable code beautiful again.

Service Benefits

This is the best free formatter with advanced settings. The tool validates any HTML code, including CSS and JavaScript embedded in a page. It is convenient for the user to set up criteria for formatting HTML, CSS, JavaScript code. You can change the indentation and set the required options. Upon completion of editing download the HTML file.

How to use the service

Upload a file or paste HTML code to the editor. Customize formatting the way you want: advanced options are available to help. Click the "Format" button. The edited HTML document can be downloaded in .html, .htm, .txt format and opened with any text editor, or simply copy the formatted HTML code using the "Copy" button.