Developer

HTML Formatter

Format HTML and Vue templates, including embedded CSS and JavaScript, without changing how text renders.

Offline prerequisites

The installed app shell does not prepare every operation. Choose the resources you need, prepare while online, then recheck before disconnecting. Downloads below are approximate bundled sizes; network transfer can differ.

This tool has no separately downloaded codec/model prerequisite in this build. Its app code must still be installed, and browser APIs, file limits and supported formats still apply.

Checking this build’s offline resources…

HTML

Tab moves to the next control. Ctrl+] or Command+] inserts a tab.

About this tool

Format HTML or Vue templates with Prettier, the formatter most web projects use, including any CSS in <style> and JavaScript in <script>. Choose indentation, line width, one attribute per line and where closing brackets go.

By default, whitespace is only added where it can’t change how text renders between inline elements like <a> and <strong>, so formatting never introduces visible gaps. Choose “Keep exactly” to change no whitespace at all.

Your markup is parsed and printed as text. It’s never rendered, so scripts in it never run and nothing it references is loaded.

esc
  • Opens in its own window, like any app
  • Works without an internet connection
  • Starts instantly from your home screen or dock

Look for the install icon at the right end of your browser’s address bar, or open the browser menu and choose Install Interformat.