HTML formatter

HTMLLint is the free online validator and reformatter tool for HTML ✅, a lightweight interchange format ✅. Copy and paste or directly type in the editor and let HTMLLint format and validate your HTML code ✅.

We don't store any tracking cookies 🍪 And we do not store any input data. Your code is your ownership, we just make it prettier for you 💗🙏



Tips & Tricks

  • If you want your HTML code to be clean. You can paste your whole script in the code section and let HTML Lint format your code.
  • You can format CSS if you paste your CSS between <style></style>. Or you can use CSS-Lint.com to format your CSS.
  • You can format JS if you paste your Javascript between <script></script>. Or you can use JS-Formatter.com to format your JavaScript.
  • You can format XML, simply copy and paste your in the code section above. Or you can use XML-Lint.com to format your XML.
  • You can format JSON at Format-JSON.com.
  • You can calculate and visualize your website's CLS (Cumulative Layout shift) score CLS-Test.com.