HTML Formatter & CSS Formatter icon

HTML Formatter & CSS Formatter Pro Available

HTML formatter and CSS formatter for VS Code, by Zovo. Format HTML, CSS, SCSS and LESS files, and the <style> and <script> blocks inside a page, with zero config. It follows your .editorconfig, keeps <pre>, <textarea> and inline tags as written, and never reorders attributes. Everything runs offline with the bundled js-beautify, so there is no Node, npm or config file to set up.

MIT / Free Core · Zero telemetry · Works offline · Published by zovo

Pro adds Format a folder with a diff preview and Minify HTML and CSS. Get Zovo Pro, $19 once →

Version
0.1.3
VS Code Installs
23
Open VSX Downloads
524
Updated
2026-11-20
Extension ID
zovo.zovo-html-formatter
Editors
VS Code, Cursor, Windsurf, VSCodium
Quick install CLI (VS Code · Cursor · Windsurf)
code --install-extension zovo.zovo-html-formatter
cursor --install-extension zovo.zovo-html-formatter
windsurf --install-extension zovo.zovo-html-formatter

Why use it

  1. Format Document (Shift+Alt+F, Shift+Option+F on macOS) and Format Selection for HTML, CSS, SCSS and LESS.
  2. Formats the CSS in <style> and the JavaScript in <script> inside HTML.
  3. Zero config: uses the editor's indentation, then .editorconfig (indent style and size, end of line, final newline, max line length).
  4. Keeps what you wrote: the contents of <pre> and <textarea>, inline tags on their line, attribute order, the blank lines between blocks (at most one in a row), the head and body indentation style of the page, and template tags such as {{ }} and {% %}.
  5. In SCSS and LESS, multi-line maps and function calls keep their layout, and trailing comments stay on their line.
  6. Format on save: turn on zovoHtmlFormat.formatOnSave, or run "Use as Default Formatter" and VS Code's own editor.formatOnSave.

Common questions

Is HTML Formatter & CSS Formatter free?

Yes. HTML Formatter & CSS Formatter is free and MIT licensed.

How do I install HTML Formatter & CSS Formatter?

Click "Install in VS Code" above, or search for zovo.zovo-html-formatter in the Extensions view.

Marketplace README snippet (copy link for VS Code Marketplace)
See full docs & install options at [vscode.zovo.one/extensions/zovo-html-formatter/](https://vscode.zovo.one/extensions/zovo-html-formatter/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).
Auto Rename Tag & Close Tag icon

Auto Rename Tag & Close Tag

zovo.zovo-auto-rename-tag

Auto rename tag and auto close tag as you type in HTML, JSX/TSX, Vue, Svelte, PHP, Blade, Twig, XML and Markdown. One undo step for both tags, never pairs <br> or TypeScript generics, highlights the matching tag. Free, no sign-in, works offline.

273 installs v0.2.17 Pro
Run C++ & C: Compile and Run icon

Run C++ & C: Compile and Run

zovo.zovo-run-cpp

Run C++ and C code with one click: compile and run the current file with gcc, g++, clang or clang++. Interactive input in the terminal, an Input panel with saved test cases and diffs, errors in Problems, Stop for endless loops, per-file flags. Free, no sign-in, works offline. Zovo Pro adds a sanitiz

166 installs v0.2.17 Pro
XSD Viewer & Schema Diagram icon

XSD Viewer & Schema Diagram

zovo.zovo-xsd-viewer

XSD viewer for VS Code: open XML Schema (.xsd) files and the schemas in .wsdl files as a tree and a diagram, with imports and includes resolved across the workspace, search and jump to line. Offline, no account.

45 installs v0.1.3 Pro