Skip to content

YAML & TOML Validator

Validate, format, convert

Validate and format YAML and TOML files with exact error lines, sort keys and convert between YAML, TOML and JSON. Nothing is uploaded.

No uploads
name: toolwand
version: 2
features:
  - offline
  - private
server:
  host: 0.0.0.0
  port: 8080
  tls:
    enabled: true
    cert: ./cert.pem

✓ Valid YAML

YAML & TOML Validator — Validate and format YAML and TOML files with exact error lines, sort keys and convert between YAML, TOML and JSON. Nothing is uploaded. Free on ToolWand: no sign-up, no watermark, works offline.

How to use YAML & TOML Validator

  1. 1Open YAML & TOML Validator. It runs in your browser, no sign-up.
  2. 2Type or paste your input.
  3. 3Copy or download the result.

About YAML & TOML Validator

YAML & TOML Validator checks YAML and TOML files, shows the exact line of each error, formats and sorts keys, and converts between YAML, TOML and JSON.

When to use it

  • Find the indentation error breaking a Kubernetes or CI file.
  • Convert a config file between YAML and TOML.
  • Tidy up a config before a pull request.

Tips

  • Formatting re-writes the parsed data, so comments are dropped; validation alone never changes your file.
  • Supports YAML 1.2 and TOML 1.0.

Questions

Is my config uploaded?

No. Parsing and formatting happen in your browser.

Which versions are supported?

YAML 1.2 (with 1.1 compatibility) and TOML 1.0.

Why do comments disappear?

Formatting re-serialises the parsed data, so comments are not preserved. Validation alone never changes your file.

More tools