Skip to content

YAML to JSON converter

Convert YAML to JSON as you type. Nothing is uploaded, and the result can be previewed as a table, copied or downloaded.

Loading the converter… It runs locally in your browser.

How to convert YAML to JSON

  1. Paste your YAML into the input panel, drop a file onto it, or press “Open file”.
  2. Adjust the options above the panels (delimiter, header row, alignment and so on).
  3. Check the result: switch the output to “Table” view to see it as a grid.
  4. Press “Copy” or “Download .json”. The conversion runs on your device, so large files never leave it.

YAML is parsed with the yaml library (YAML 1.2 core schema), so anchors and aliases are resolved, and yes/no stay strings unless they are real booleans in YAML 1.2.

About YAML

YAML 1.2: an indentation-based superset of JSON used for configuration files (Kubernetes, GitHub Actions, Docker Compose, OpenAPI).

About JSON

JavaScript Object Notation (RFC 8259): nested objects and arrays with strings, numbers, booleans and null. The default payload format of web APIs.

Questions people ask

Is my YAML data uploaded anywhere?

No. The YAML to JSON conversion runs entirely in your browser with JavaScript. The page works offline once it has loaded, and TableForge never receives your data.

How large a file can I convert?

The limit is your device's memory. Files of tens of megabytes (hundreds of thousands of rows) convert fine on a typical laptop. The preview shows the first 200 rows, but the download always contains every row.

Does the converter keep special characters and commas?

Yes. Fields containing commas, quotes or line breaks are quoted and escaped according to each format's rules, and text is read and written as UTF-8, so accents, CJK characters and emoji survive.

Can I convert JSON back to YAML?

Yes, use the JSON to YAML converter at tableforge.io/json-to-yaml, or the universal converter on the home page.

Related converters