Skip to content
Developer & CodeLocal · Stays on device

YAML Validator

Validate YAML syntax with exact line and column errors, duplicate-key detection and multi-document support.

Launch YAML Validator
  • YAML 1.2, Multi-document YAML (---)
  • Free to use
  • No sign-up or watermark
yaml-validatorOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
YAML 1.2Multi-document YAML (---)
Open YAML Validator

About this tool

Paste a YAML file and it is parsed with js-yaml as you type. Syntax problems such as bad indentation, unclosed brackets or tabs are reported with the exact line and column and a pointer to the spot. Duplicate keys in the same mapping, a common source of silently lost settings, are flagged as errors.

Files with several documents separated by --- are supported, and each valid document is summarised (top-level type, number of keys, nodes and nesting depth). Custom tags such as !!js/function are rejected rather than executed, because only the safe default schema is used. Everything runs in your browser. Your data is never uploaded, logged or stored.

  1. Input

    Your code or text

    YAML 1.2, Multi-document YAML (---)

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelinejs-yaml (default safe schema)

How to use it

  1. 1

    Paste your YAML.

  2. 2

    Fix any error at the line and column shown.

  3. 3

    Review the per-document summary, or convert the YAML to JSON.

Zero-upload architecture

How to use YAML Validator for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open YAML Validator

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Fix any error at the line and column shown.

  3. 3

    Get your result

    Review the per-document summary, or convert the YAML to JSON.

  • Local

    YAML to JSON Converter

    Convert YAML to JSON and JSON to YAML, including multi-document YAML files.

    Open tool
  • Local

    JSON Validator

    Check whether JSON is valid and see exactly where and why it fails, with fix suggestions.

    Open tool
  • Local

    JSON Formatter

    Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.

    Open tool
  • Local

    JSON Studio

    Edit, validate, format and explore JSON with a code editor, tree view and table view, then convert it to CSV, YAML or TypeScript.

    Open tool