Offline YAML to JSON Pro
Convert YAML documents to JSON, with syntax errors pointed out before you copy the result.
Runs offline in Devy, a desktop app with 234 developer tools for Windows, macOS and Linux. Included in Devy Tools Pro ($9 one-time), and in the 14-day free trial.
What the YAML to JSON is for
Convert YAML (from Kubernetes manifests, Docker Compose files, CI pipelines or OpenAPI specs) into JSON for APIs, scripts and tools that only read JSON. Syntax errors are pointed out before you copy the result.
Example
YAML
name: Alice
age: 30
hobbies:
- reading
- coding
address:
city: New York JSON
{
"name": "Alice",
"age": 30,
"hobbies": [
"reading",
"coding"
],
"address": {
"city": "New York"
}
} Why use it offline
Convert exports and API data that may contain customer records, without uploading them anywhere. Devy works offline on your own computer.
- Nothing you paste or open is uploaded
- Works on a plane, behind a VPN or with no network
- No ads, no sign-up, opens in a second
How to use the YAML to JSON
- Download Devy for Windows, macOS or Linux and open it.
- Search for “YAML to JSON” on the home screen, or open the Data Conversion category.
- Paste your input or open a file, then copy or save the result.
Good to know
- YAML indentation must use spaces, never tabs.
- Unquoted values like yes, no, on and off may become true or false, and 010 may become a number. Quote values you need as text.
- Comments in YAML are dropped, because JSON has no comments.
More data conversion tools in Devy
Questions
Can I convert JSON back to YAML?
Yes, with Devy's JSON → YAML Converter.
Is the YAML to JSON free?
It's part of Devy Tools Pro: $9 once, for all 234 tools on 3 computers. You can try it free for 14 days in the app first, and the 45 free tools stay free after that.
Does it send my data anywhere?
No. The YAML to JSON runs inside the Devy desktop app on your computer. What you paste or open isn't uploaded, logged or shared, and it works with no internet connection.
Which computers does it run on?
Windows, macOS and Linux. Download Devy from this site or install it from the Microsoft Store.