FORMATTING
XML / YAML Formatter
Format, validate and minify XML, and convert data between JSON and YAML, right in your browser.
XML tools
The XML tab validates well-formedness, formats with consistent indentation and can minify the markup for compact fixtures. Parse errors are reported back so you can fix the source.
YAML tools
YAML is common for configuration and test fixtures. The YAML tab validates basic structure and converts cleanly in both directions with JSON, which is a natural interchange format for API test data.
QA uses
- Format response bodies before asserting on them in API tests.
- Validate a config file that failed to load in your test environment.
- Convert UI test config or mock YAML fixtures into JSON for the API layer.
- Pretty-print bloated fixture files so they are easier to review and deduplicate.