CSV to JSON Converter
CSV to JSON Converter online: fast, private and free for everyday document work.
Convert JSON into clean, indented YAML in your browser. YAML 1.2 is a superset of JSON, so the result is valid — just watch unquoted values.
Your browser is preparing the tool. It runs 100% locally.
Paste JSON and get YAML. The tool reformats your data into YAML's indented style — objects become key: value lines, arrays become dash-prefixed items, two spaces per level. Since YAML 1.2 is a superset of JSON the output is valid YAML. One caution: values are written unquoted, so a string like no or 1.0 can be read back as a boolean or number. It runs in your browser.
This rewrites JSON as YAML. Each object key becomes a key: value line, each array item becomes a line starting with a dash, and nesting is shown with two-space indentation. The data is unchanged — only the notation differs.
Because YAML 1.2 is a superset of JSON, valid JSON always converts to valid YAML. The catch is type safety: values come out without quotes, so anything that looks like a boolean, number or null can be re-interpreted by a YAML reader.
Paste or type JSON. It is parsed first, so invalid JSON is reported rather than mis-converted.
The tool walks the structure: objects become key-value lines, arrays become dash items, and each level of nesting adds two spaces.
Values are written as-is, without quotes. Copy the YAML or download it as a .yaml file — entirely in your browser.
Object key = key: value (one line per key)
Array item = a line starting with a dash and a space
Nesting = two spaces deeper per level
Values = written unquotedThe JSON {"name": "Smart Free Tools", "tools": ["pdf", "image"], "meta": {"free": true}} becomes (line by line): name: Smart Free Tools / tools: / then two dash items, pdf and image / meta: / then free: true.YAML 1.2 is a superset of JSON, so the result is valid YAML — but because values are unquoted, a string like no, yes or 1.0 can be read back as a boolean or number.
Your JSON is parsed and converted entirely in your browser — there is no server and nothing is uploaded.
The data never leaves your device, so even sensitive records stay private.
No account, no stored copy; the conversion is gone when you close the tab.
| Input | JSON |
|---|---|
| Output | YAML (.yaml) |
| Indent | Two spaces per level |
| Arrays | Dash-prefixed items |
| Quoting | Values unquoted |
| Validity | Valid YAML 1.2 |
| Processing | 100% in-browser |
Values are written unquoted. A JSON string such as no, yes, on, off, null or 1.0 comes out bare, and a YAML reader may interpret it as a boolean, null or number. This is the well-known Norway problem — quote such values yourself if a clean round-trip matters.
YAML 1.2 is a superset of JSON, so the output is valid YAML. Most JSON converts predictably; the risk is about how a value is later read, not whether the YAML parses.
This is a basic serializer. It does not add quotes, fold long strings into literal blocks, or specially handle a value that contains a colon-and-space or starts with a dash or a brace — any of which could confuse a YAML reader.
Indentation is two spaces per level. Numbers and booleans are emitted as-is, matching their JSON form.
Invalid JSON is reported as an error, so you will not get half-formed YAML from a typo.
Turn a JSON config into the YAML many tools — CI, Kubernetes, Docker Compose — prefer.
Convert dense JSON into YAML that is easier to scan and edit by hand.
Show the same data in YAML for documentation or a tutorial.
Generate a starter YAML file from a JSON source.
If exact type round-trips matter, quote ambiguous values or use a full YAML library. To convert YAML back, use the YAML to JSON converter.
Reformats your parsed JSON into YAML's indented style: objects become key-value lines, arrays become dash-prefixed items, two spaces per level. Because YAML 1.2 is a superset of JSON the result is valid YAML, but values are written unquoted — so a string that looks like a boolean or number can change type when re-read. Runs in your browser.
CSV to JSON Converter online: fast, private and free for everyday document work.
Convert with JSON to CSV Converter, preserving structure and data, with zero uploads.
Markdown to HTML in seconds — accurate, free and processed locally in your browser.
Convert with CSV to Excel Converter, preserving structure and data, with zero uploads.
Excel to CSV Converter online: fast, private and free for everyday document work.
Convert with Excel to JSON Converter, preserving structure and data, with zero uploads.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.