HTML Formatter

© 2025 Luka Uzel — Open sourced under the MIT License.

loCode V1.0.0 built with ❤️ using Symfony, Alpine.js, Bootstrap and Docker

Thu. 5 March 2026 10:03

Help

HTML Formatter

Enter your HTML code in the left editor and click "Format" to beautify or minify it.

Modes:

  • Beautify: Formats HTML with proper indentation and line breaks for better readability
  • Minify: Removes unnecessary whitespace and comments to reduce file size

Features:

  • Proper HTML indentation
  • Removes extra whitespace
  • Auto-save to localStorage