XML Formatter

Format or minify XML, preserving mixed text content. Accepts TXT, JSON, MD, CSS, JS, XML files directly on your device. Configurable options include Indent spaces, Indent with tabs, Compact output.

Quick Reference

Format or minify XML, preserving mixed text content. Accepts TXT, JSON, MD, CSS, JS, XML files directly on your device. Configurable options include Indent spaces, Indent with tabs, Compact output.

  • Input: .txt, .json, .md, .css, .js, .xml, .html, .sql, .yaml, .yml
  • Runtime: On-device Browser UI, Node CLI (vipervoid), and MCP
  • Options: Indent spaces (default: 2); Indent with tabs (default: false); Compact output (default: false)
  • Example: Run directly with default or custom options -> Deterministic local output displayed for copy, download, or JSON inspection
  • CLI: vipervoid run xml-formatter --text "Sample input" --opt indent="2"

Related Developer tools