YAML Tools

A complete set of browser-based YAML utilities for formatting, validating, converting to and from JSON, XML, CSV, and TSV, and editing or generating YAML documents. Everything runs locally in your browser, so nothing you paste is ever sent to a server.

JSON to YAML Converter

Turn JSON into clean, readable YAML.

Open tool

CSV to YAML Converter

Convert a CSV table into a YAML list of records.

Open tool

INI to YAML

Convert classic [section]-based INI files into nested YAML.

Open tool

ENV to YAML

Convert .env-style KEY=value lines into a flat YAML mapping.

Open tool

HCL to YAML

Convert HCL blocks and attributes (a Terraform-style config subset) into nested YAML.

Open tool

HOCON to YAML

Convert HOCON (Typesafe Config) key/value pairs and dot-paths into nested YAML.

Open tool

SQL to YAML

Convert a CREATE TABLE statement into a YAML table/column schema description.

Open tool

HTML to YAML

Convert simple, well-formed HTML into a YAML tree of tag/attributes/children/text nodes.

Open tool

YAML Merge Tool

Merge two YAML documents, either shallowly (B's keys win) or deeply (nested mappings merge too).

Open tool

YAML to TOON

Convert YAML into TOON, a compact, indentation-based, LLM-token-efficient format.

Open tool

YAML to Canonical Normalizer

Re-serialize YAML into a consistent, alphabetized, comment-free, diff-friendly form.

Open tool

NestedText to YAML Converter

Parse NestedText's key/list/multiline syntax into nested YAML.

Open tool

Properties to YAML Converter

Rebuild nested YAML from flat Java-style key=value .properties lines.

Open tool

Random YAML Generator

Generate realistic-looking random YAML for testing and demos.

Open tool

TOML to YAML Converter

Convert TOML tables and arrays of tables into nested YAML.

Open tool

TSV to YAML Converter

Convert tab-separated values into a YAML list of records.

Open tool

XML to YAML Converter

Convert XML documents into readable YAML.

Open tool

YAML Base64 Decoder

Decode a Base64 string back into readable YAML.

Open tool

YAML Base64 Encoder

Base64-encode a YAML document for embedding in configs or env vars.

Open tool

YAML Comment Extractor

Pull out every # comment in a YAML document, one per line.

Open tool

YAML Comment Remover

Strip every comment from a YAML document, leaving just the data.

Open tool

YAML Diff Checker

Compare two YAML documents and see exactly which keys were added, removed, or changed.

Open tool

YAML Editor & Viewer

Edit YAML with a live structure view alongside it.

Open tool

YAML Error Injector

Deliberately corrupt valid YAML with reproducible syntax errors, for testing parsers and linters.

Open tool

YAML Flattener

Collapse nested YAML mappings and sequences into flat dot-notation keys.

Open tool

YAML Formatter & Prettifier

Prettify messy or flow-style YAML into clean, indented block style.

Open tool

YAML Syntax Highlighter

Turn YAML into syntax-highlighted HTML you can paste anywhere.

Open tool

YAML Key Extractor

List the full dot-path of every mapping key in a YAML document.

Open tool

YAML Minifier

Collapse block-style YAML into compact, single-line flow style.

Open tool

YAML Number Extractor

List every number-typed leaf value in a YAML document, one per line.

Open tool

Change All Quotes to Double Quotes

Re-quote every YAML string, keys and values, with double quotes.

Open tool

Change All Quotes to Single Quotes

Re-quote every YAML string, keys and values, with single quotes.

Open tool

YAML Sorter

Recursively sort every YAML mapping's keys alphabetically.

Open tool

YAML Statistics

Get key counts, nesting depth, size, and a leaf-type breakdown for any YAML document.

Open tool

YAML String Extractor

List every string-typed leaf value in a YAML document, one per line.

Open tool

YAML Structure Visualizer

See a YAML document's nesting as a live, color-coded tree as you type.

Open tool

YAML to CSV Converter

Convert a YAML list of records into a CSV table.

Open tool

YAML to Image Converter

Render YAML as a syntax-highlighted PNG image.

Open tool

YAML to JSON Converter

Convert YAML documents into properly formatted JSON.

Open tool

YAML to NestedText Converter

Convert YAML into NestedText's minimal, everything-is-a-string format.

Open tool

YAML to PDF Converter

Format and syntax-highlight YAML, then print or save it as a PDF.

Open tool

YAML to PHP Array Converter

Turn YAML into a ready-to-paste PHP array literal with proper quoting and escaping.

Open tool

YAML to Properties Converter

Flatten YAML into Java-style key=value .properties lines.

Open tool

YAML to TOML Converter

Convert YAML into TOML's table and array-of-tables syntax.

Open tool

YAML to TSV Converter

Convert a YAML list of records into tab-separated values.

Open tool

YAML to XML Converter

Convert YAML documents into indented XML.

Open tool

YAML Truncator

Cap a YAML document's nesting depth, array length, and string length while keeping it valid.

Open tool

YAML URL Decoder

Decode a percent-encoded string back into readable YAML.

Open tool

YAML URL Encoder

Percent-encode a YAML document for safe use in a URL.

Open tool

YAML Validator

Check whether YAML is syntactically valid and inspect its structure.

Open tool

YAML Value Extractor

List every leaf scalar value in a YAML document, one per line.

Open tool

YAML Key Finder

Search a YAML document for mapping keys whose name matches a query.

Open tool

YAML Key Replacer

Rename a mapping key to a new name everywhere it appears in a YAML document.

Open tool

YAML Value Finder

Search a YAML document's leaf values for ones matching a query, labeled by path.

Open tool

YAML Value Replacer

Replace every leaf scalar value that exactly matches a query with a new value.

Open tool

YAML Comment Replacer

Replace text inside YAML comments everywhere it appears, leaving the data untouched.

Open tool

PHP Array to YAML Converter

Paste a PHP array literal and get back the equivalent YAML document.

Open tool