Scrapers / Developer & File Tools

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
1Monthly users
1Total runs
40Per document converted
$0.002Last rebuilt
Oct 26, 2026Overview
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
- Paste your content (or add a list, or a URL to fetch).
- Choose a direction โ Auto, YAML โ JSON, or JSON โ YAML.
- Optionally toggle pretty-print for JSON.
- 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
| Field | Type | Description |
|---|---|---|
contentContent | string | The YAML or JSON to convert. Paste it here. For multiple documents use the list below, or fetch from a URL. |
contentsMultiple documents | array | Optional โ a list of YAML/JSON documents to convert in one run. Each is converted independently. |
contentUrlFetch from URL | string | Optional โ a URL to a YAML or JSON document to fetch and convert. |
directionDirection | string ยท auto, yaml2json, json2yaml | Which way to convert. Auto-detects from the input when set to Auto. Default: "auto" |
prettyPretty-print JSON | boolean | Indent 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: data@example.com\n",
"contents": []
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/yaml-json-converter").call(run_input={
"content": "name: demo-service\nversion: 1.2.0\nfeatures:\n - search\n - export\nowner:\n team: data\n email: data@example.com\n",
"contents": []
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/yaml-json-converter').call({
"content": "name: demo-service\nversion: 1.2.0\nfeatures:\n - search\n - export\nowner:\n team: data\n email: data@example.com\n",
"contents": []
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid 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 processedText 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 generatedGoogle 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 scrapedWebsite 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 capturedBulk 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 checkedGoogle 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 scrapedSend the site and the fields. We build it and you get it first.