482 scrapers live47.7K runs1,562 usersRebuilt in the last 30 days: 482 of 482

Scrapers / Developer & File Tools

YAML to JSON & JSON to YAML Converter logo

YAML to JSON & JSON to YAML Converter

hipersoft/yaml-json-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.

Total users

1

Monthly users

1

Total runs

40

Per document converted

$0.002

Last rebuilt

Oct 26, 2026

Overview

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

Field Description
Content The YAML or JSON to convert.
Multiple documents Optional list of documents to convert in one run.
Fetch from URL Optional URL to a YAML/JSON document.
Direction Auto-detect, YAML โ†’ JSON, or JSON โ†’ YAML.
Pretty-print JSON Indent JSON output.

Output fields

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

Popular use cases

  • 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.

Input

FieldTypeDescription
content
Content
stringThe YAML or JSON to convert. Paste it here. For multiple documents use the list below, or fetch from a URL.
contents
Multiple documents
arrayOptional โ€” a list of YAML/JSON documents to convert in one run. Each is converted independently.
contentUrl
Fetch from URL
stringOptional โ€” a URL to a YAML or JSON document to fetch and convert.
direction
Direction
string ยท auto, yaml2json, json2yamlWhich way to convert. Auto-detects from the input when set to Auto.
Default: "auto"
pretty
Pretty-print JSON
booleanIndent JSON output for readability (YAML output is always indented).
Default: true

API

curl -X POST "https://api.apify.com/v2/acts/hipersoft~yaml-json-converter/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "name: demo-service\nversion: 1.2.0\nfeatures:\n  - search\n  - export\nowner:\n  team: data\n  email: [email protected]\n",
  "contents": []
}'

Pricing

EventPricePaid plans from
Document converted
Charged for each document converted.
$0.002$0.001

You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.

Related scrapers

Bulk Image Downloader

Download thousands of images from a list of URLs and store each in the key-value store with a public link. Returns content type, size, dimensions and SHA-256 per image. Bulk-ready. Great for datasets, backups and media pipelines.

8,102 runs ยท 103 users ยท $0.056 / url processed

Text to Speech

Convert any text to natural-sounding speech as an MP3 download. 300+ premium neural voices across 70+ languages, adjustable rate, pitch and volume. Great for voiceovers, videos, accessibility and audio content. No setup.

278 runs ยท 22 users ยท $0.01 / audio generated

Google Maps Email Extractor

Search Google Maps for businesses, then crawl each business website to extract emails, social profiles and extra phone numbers. Turns any Maps search into a ready lead list. No setup.

159 runs ยท 8 users ยท $0.006 / business lead scraped

Website Screenshot

Capture full-page or viewport screenshots of any URL as PNG or JPEG, at any device size. For monitoring, previews, thumbnails and automation workflows.

156 runs ยท 3 users ยท $0.004 / screenshot captured

Bulk URL Status Checker

Check thousands of URLs over plain HTTP: status codes, broken links (404/410/5xx), full redirect chains, response time, content type, page title and SSL certificate expiry.

154 runs ยท 13 users ยท $0.002 / url checked

Google Search Scraper

Scrape Google Search results (organic listings) for any query: title, URL, displayed URL, snippet and position. Multi-query, per-country/language, pagination. Uses Google SERP proxy โ€” reliable, no captcha, no setup.

121 runs ยท 8 users ยท $0.001 / result scraped
Need a source that isn't here?

Send the site and the fields. We build it and you get it first.

Request a build