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 toolCSV to YAML Converter
Convert a CSV table into a YAML list of records.
Open toolINI to YAML
Convert classic [section]-based INI files into nested YAML.
Open toolENV to YAML
Convert .env-style KEY=value lines into a flat YAML mapping.
Open toolHCL to YAML
Convert HCL blocks and attributes (a Terraform-style config subset) into nested YAML.
Open toolHOCON to YAML
Convert HOCON (Typesafe Config) key/value pairs and dot-paths into nested YAML.
Open toolSQL to YAML
Convert a CREATE TABLE statement into a YAML table/column schema description.
Open toolHTML to YAML
Convert simple, well-formed HTML into a YAML tree of tag/attributes/children/text nodes.
Open toolYAML Merge Tool
Merge two YAML documents, either shallowly (B's keys win) or deeply (nested mappings merge too).
Open toolYAML to TOON
Convert YAML into TOON, a compact, indentation-based, LLM-token-efficient format.
Open toolYAML to Canonical Normalizer
Re-serialize YAML into a consistent, alphabetized, comment-free, diff-friendly form.
Open toolNestedText to YAML Converter
Parse NestedText's key/list/multiline syntax into nested YAML.
Open toolProperties to YAML Converter
Rebuild nested YAML from flat Java-style key=value .properties lines.
Open toolRandom YAML Generator
Generate realistic-looking random YAML for testing and demos.
Open toolTOML to YAML Converter
Convert TOML tables and arrays of tables into nested YAML.
Open toolTSV to YAML Converter
Convert tab-separated values into a YAML list of records.
Open toolXML to YAML Converter
Convert XML documents into readable YAML.
Open toolYAML Base64 Decoder
Decode a Base64 string back into readable YAML.
Open toolYAML Base64 Encoder
Base64-encode a YAML document for embedding in configs or env vars.
Open toolYAML Comment Extractor
Pull out every # comment in a YAML document, one per line.
Open toolYAML Comment Remover
Strip every comment from a YAML document, leaving just the data.
Open toolYAML Diff Checker
Compare two YAML documents and see exactly which keys were added, removed, or changed.
Open toolYAML Editor & Viewer
Edit YAML with a live structure view alongside it.
Open toolYAML Error Injector
Deliberately corrupt valid YAML with reproducible syntax errors, for testing parsers and linters.
Open toolYAML Flattener
Collapse nested YAML mappings and sequences into flat dot-notation keys.
Open toolYAML Formatter & Prettifier
Prettify messy or flow-style YAML into clean, indented block style.
Open toolYAML Syntax Highlighter
Turn YAML into syntax-highlighted HTML you can paste anywhere.
Open toolYAML Key Extractor
List the full dot-path of every mapping key in a YAML document.
Open toolYAML Minifier
Collapse block-style YAML into compact, single-line flow style.
Open toolYAML Number Extractor
List every number-typed leaf value in a YAML document, one per line.
Open toolChange All Quotes to Double Quotes
Re-quote every YAML string, keys and values, with double quotes.
Open toolChange All Quotes to Single Quotes
Re-quote every YAML string, keys and values, with single quotes.
Open toolYAML Sorter
Recursively sort every YAML mapping's keys alphabetically.
Open toolYAML Statistics
Get key counts, nesting depth, size, and a leaf-type breakdown for any YAML document.
Open toolYAML String Extractor
List every string-typed leaf value in a YAML document, one per line.
Open toolYAML Structure Visualizer
See a YAML document's nesting as a live, color-coded tree as you type.
Open toolYAML to CSV Converter
Convert a YAML list of records into a CSV table.
Open toolYAML to Image Converter
Render YAML as a syntax-highlighted PNG image.
Open toolYAML to JSON Converter
Convert YAML documents into properly formatted JSON.
Open toolYAML to NestedText Converter
Convert YAML into NestedText's minimal, everything-is-a-string format.
Open toolYAML to PDF Converter
Format and syntax-highlight YAML, then print or save it as a PDF.
Open toolYAML to PHP Array Converter
Turn YAML into a ready-to-paste PHP array literal with proper quoting and escaping.
Open toolYAML to Properties Converter
Flatten YAML into Java-style key=value .properties lines.
Open toolYAML to TOML Converter
Convert YAML into TOML's table and array-of-tables syntax.
Open toolYAML to TSV Converter
Convert a YAML list of records into tab-separated values.
Open toolYAML to XML Converter
Convert YAML documents into indented XML.
Open toolYAML Truncator
Cap a YAML document's nesting depth, array length, and string length while keeping it valid.
Open toolYAML URL Decoder
Decode a percent-encoded string back into readable YAML.
Open toolYAML URL Encoder
Percent-encode a YAML document for safe use in a URL.
Open toolYAML Validator
Check whether YAML is syntactically valid and inspect its structure.
Open toolYAML Value Extractor
List every leaf scalar value in a YAML document, one per line.
Open toolYAML Key Finder
Search a YAML document for mapping keys whose name matches a query.
Open toolYAML Key Replacer
Rename a mapping key to a new name everywhere it appears in a YAML document.
Open toolYAML Value Finder
Search a YAML document's leaf values for ones matching a query, labeled by path.
Open toolYAML Value Replacer
Replace every leaf scalar value that exactly matches a query with a new value.
Open toolYAML Comment Replacer
Replace text inside YAML comments everywhere it appears, leaving the data untouched.
Open toolPHP Array to YAML Converter
Paste a PHP array literal and get back the equivalent YAML document.
Open tool