Convert
YAML to JSON
Paste YAML. A subset of it becomes JSON as you type.
Convert
Paste YAML. A subset of it becomes JSON as you type.
YAML to JSON reads a practical subset: block mappings, block sequences, nested indentation, plain scalars, single- and double-quoted scalars, JSON-style flow [ ] and { } collections, and | literal and > folded block scalars.
Anchors, aliases, tags and directives are rejected at the character that introduces them, and a tab used as indentation is rejected. Indent JSON is on by default and writes two-space JSON; turn it off for one compact line.
Parsing runs in your browser as you type. Swap sends the JSON to the YAML side. Comments in the YAML are not kept, so do not rely on them surviving a round trip.
Block mappings and sequences, nested indentation, plain scalars, single- and double-quoted scalars, flow collections written as JSON, and literal or folded block scalars. It is a subset, not the whole YAML language.
When it is on, the JSON is written with a two-space indent. When it is off, the same value is written with JSON.stringify and no indent, as a single line.
Those features (&, *, ! and %) are outside the subset this tool parses. The problem points at the character so you can remove it. Tabs used to indent are rejected for the same reason: indentation must be spaces.
No. Parsing runs in your browser and the text you paste is never uploaded or logged. Google Analytics records page views and feature use, never content.
Turn JSON into two-space block YAML as you type, including nested objects and arrays. It runs in your browser and your text is never uploaded.
Convert Markdown to clean HTML with a live preview. GitHub tables, task lists and footnotes included.
Convert Markdown to a Word document (.docx) with a page preview. Tables, lists, footnotes and heading styles included.
Convert an XML element tree to JSON, or JSON back to XML.
Convert a CSV table into a JSON array.
Iternal · AI Blueprint Builder
The AI Blueprint Builder scores each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget. Free to start, about 60 minutes.
Open the AI Blueprint Builder (opens in a new tab)↑↓ to move · ↵ to open · esc to close
aiformatting.app cleans up the text. The AI Blueprint Builder ranks the AI initiatives your team is weighing, scoring each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget.
Free to start · about 60 minutes · iternal.ai
Every tool here stays free, with no account to create. Leave a work email and the team behind aiformatting.app will send the occasional note on practical AI tooling.