YAML to JSON Converter — Instant, In-Browser
Paste or upload YAML and get clean JSON instantly — multi-document files, anchors, and merge keys handled. JSON to YAML works too. Nothing is sent to a server.
Converted instantly in your browser — nothing is uploaded to a server. Supports multi-document YAML, anchors, and comments-in (comments don't survive conversion — JSON has none).
We're continually improving our extraction and generation. If a file doesn't convert to your expectations, tell us and we'll fix it.
Private by default
Conversion runs entirely in your browser. Your configs, secrets, and manifests are never uploaded, logged, or stored — there is no server side.
Accurate extraction
Real YAML 1.2 parsing (js-yaml) in your browser — anchors, aliases, merge keys, multi-document streams. Instant as-you-type conversion, strict error messages with line numbers, and both directions.
No templates
Reads any layout — every YAML file comes out as clean, structured rows. Nothing to configure.
Three steps to a clean spreadsheet
Upload your YAML file
Drag in a PDF or image. No account, no setup.
We read and extract
Every line item is pulled into structured rows — the same fields you'd type in by hand.
Download your data
Get a clean CSV free, or Excel and batches with Pro.
From messy PDF to clean rows
YAML (config, manifest, pipeline)
Clean JSON, pretty-printed
| Input | Output |
|---|---|
| name: api replicas: 3 | { "name": "api", "replicas": 3 } |
Simple pricing
Free to try. Pick a plan when you need volume.
Anonymous
$0 no signupConvert right now.
- Unlimited YAML ↔ JSON
- In-browser — nothing uploaded
- Multi-document support
Free account
$0 · registerFor API access later.
- Everything in Anonymous
- No credit card
Starter
For steady monthly use.
100 conversions / month
- 100 conversions / month
- Excel (.xlsx) + all export formats
- Batch upload
- Email support
Professional
For professionals and small firms.
300 conversions / month
- 300 conversions / month
- Excel (.xlsx) + all export formats
- Batch upload
- API access
- Priority support
Business
For firms and heavy volume.
1,000 conversions / month
- 1,000 conversions / month
- Everything in Professional
- Team members (linked users)
- Priority support
1 conversion = one document of up to 25 pages. Longer documents count as one conversion per additional 25 pages.
Refer a friend, get 10 free credits
You both get 10 conversion credits when they sign up — no limit.
Questions
How do I convert YAML to JSON?+
Paste YAML in the left box (or upload a .yaml file) — valid JSON appears on the right as you type. Copy it or download it as a .json file. Free, no signup, no upload.
Does it handle anchors, aliases, and merge keys?+
Yes — full YAML 1.2 parsing including &anchors, *aliases, and <<: merge keys. They're resolved into plain values in the JSON output, since JSON has no reference syntax.
What about multi-document YAML (--- separators)?+
Multi-document streams (common in Kubernetes manifests) convert to a JSON array with one element per document.
Will my comments survive the conversion?+
No — JSON has no comment syntax, so YAML comments are dropped. Converting JSON → YAML produces clean YAML without comments too.
Is it safe to paste configs with secrets?+
The conversion runs 100% in your browser — nothing you paste is transmitted, logged, or stored. For belt-and-braces, you can disconnect from the internet and the converter keeps working.
Can I convert JSON to YAML?+
Yes — switch direction with one click. Handy for turning API responses into readable config files.