YAML Formatter

Validate and format YAML, preserving comments where possible. Accepts TXT, JSON, MD, CSS, JS, XML files directly on your device. Configurable options include Indent spaces.

Quick Reference

Validate and format YAML, preserving comments where possible. Accepts TXT, JSON, MD, CSS, JS, XML files directly on your device. Configurable options include Indent spaces.

  • 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)
  • Example: Run directly with default or custom options -> Deterministic local output displayed for copy, download, or JSON inspection
  • CLI: vipervoid run yaml-formatter --text "Sample input" --opt indent="2"

Related Developer tools