YAML to JSON & JSON to YAML Converter avatar

YAML to JSON & JSON to YAML Converter

Pricing

from $0.001 / document converted

Go to Apify Store
YAML to JSON & JSON to YAML Converter

YAML to JSON & JSON to YAML Converter

Convert YAML to JSON or JSON to YAML, both ways, with auto-detect and multi-document support. Paste content, pass a list, or fetch from a URL. Great for config files, CI/CD, Kubernetes, OpenAPI and data pipelines. Download the result as a file or inline JSON, CSV or Excel.

Pricing

from $0.001 / document converted

Rating

0.0

(0)

Developer

hiper soft

hiper soft

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Convert YAML to JSON and JSON to YAML in either direction with the YAML / JSON Converter. Paste your content, pass a whole list, or fetch it from a URL โ€” the converter auto-detects the format, handles multi-document YAML, and gives you clean, indented output. Download each conversion as a ready file or as inline data in JSON, CSV or Excel.

Perfect for config files, CI/CD pipelines, Kubernetes and Docker Compose manifests, OpenAPI/Swagger specs and data-pipeline glue in n8n, Make and Zapier, it moves between the two most common config formats with zero code.

What it does

  • ๐Ÿ”„ Both directions โ€” YAML โ†’ JSON and JSON โ†’ YAML.
  • ๐Ÿงญ Auto-detect โ€” figures out whether your input is YAML or JSON and converts the other way.
  • ๐Ÿ“„ Multi-document YAML โ€” handles --- separated documents and returns them as an array.
  • โœจ Clean output โ€” pretty-printed JSON and tidy, readable YAML.
  • ๐Ÿ“š Batch & URL โ€” convert one document, a list of documents, or fetch a document from a URL.
  • ๐Ÿ“Ž File + inline output โ€” each result is saved as a downloadable file and (when small) included inline in the dataset.
  • ๐Ÿ“ค Export anywhere โ€” JSON, CSV or Excel, or wire the output field into the next step of an automation.

Example

YAML in

name: my-app
version: 1.2.0
ports:
- 8080
- 9090

JSON out

{ "name": "my-app", "version": "1.2.0", "ports": [8080, 9090] }

How to use it

  1. Paste your content (or add a list, or a URL to fetch).
  2. Choose a direction โ€” Auto, YAML โ†’ JSON, or JSON โ†’ YAML.
  3. Optionally toggle pretty-print for JSON.
  4. Run, and download the converted file or read it from the results.

Input fields

FieldDescription
ContentThe YAML or JSON to convert.
Multiple documentsOptional list of documents to convert in one run.
Fetch from URLOptional URL to a YAML/JSON document.
DirectionAuto-detect, YAML โ†’ JSON, or JSON โ†’ YAML.
Pretty-print JSONIndent JSON output.

Output fields

index, ok, from, to, bytesIn, bytesOut, error, fileKey, fileUrl, output (inline for small results).

  • Config conversion โ€” move between YAML and JSON config formats instantly.
  • Kubernetes & Docker โ€” turn manifests and Compose files into JSON for tooling, and back.
  • OpenAPI / Swagger โ€” convert API specs between YAML and JSON.
  • CI/CD โ€” adapt pipeline definitions to whatever a tool expects.
  • Automation glue โ€” a conversion step inside an n8n, Make or Zapier workflow.

FAQ

Do I need an account or key? No. Paste your content and run.

Does it support multi-document YAML? Yes โ€” YAML files with multiple --- documents are parsed and returned together as an array.

Can I convert many documents at once? Yes โ€” add a list of documents and each is converted independently, with its own downloadable file.

Where does the converted file go? Each conversion is saved to the run's storage with a direct download link in the results; small results are also included inline.

Can I export to Excel or Google Sheets? Yes โ€” the results table downloads as JSON, CSV or Excel and integrates with Sheets and automation tools.


Convert YAML โ†” JSON both ways โ€” auto-detected, multi-document aware, cleanly formatted and export-ready for configs, CI/CD and automation.