- Home
- Data converter
- YAML to JSON
Convert YAML to JSON
YAML depends on indentation, and many tools and APIs expect JSON instead. JSON is the shared data format of APIs and programming languages.
- Free
- No sign-up
- Batch conversion
Why convert YAML to JSON?
To convert YAML files to JSON, drop them on the counter above.
Most files convert in seconds: no queue, no email address, and the JSON result saves straight to your computer or phone.
How to convert YAML to JSON
-
Add your YAML files
Drag your YAML files onto the counter or pick them with Choose files. You can add several at once.
-
Check the settings
The defaults suit most cases. Change quality, size or other options if you like; after a change, one click converts again.
-
Conversion starts by itself
Each file is converted to JSON and its row is stamped CONVERTED.
-
Download your JSON file
Get the file with Download. With several files you can download them all as one ZIP.
YAML vs JSON
| Property | YAML | JSON |
|---|---|---|
| Full name | YAML Ain't Markup Language | JavaScript Object Notation |
| Type | Data | Data |
| Nested structure | Yes | Yes |
| Plain text | Yes | Yes |
| Created by | Clark Evans, Ingy döt Net, Oren Ben-Kiki | Douglas Crockford (RFC 8259) |
| Year | 2001 | 2001 |
| Extensions | .yaml .yml | .json |
| MIME | application/yaml | application/json |
About the formats
YAML
YAML Ain't Markup Language
YAML is a data format that builds structure with indentation and is easy for people to read and write. It is common in Docker, Kubernetes and CI configuration.
JSON
JavaScript Object Notation
JSON is the lightweight text format web services and apps use to exchange data. It nests objects, arrays, numbers and strings.
Frequently asked questions
Is converting YAML to JSON free?
Yes, completely free. No account, no daily limit, no watermark and no queue.
Does it work on a phone?
Yes. It works on iPhone, iPad and Android, with no app to install.
Is there a file size limit?
There is no size limit set by us. Files of hundreds of MB convert too; very large files take longer and are handled more comfortably on a computer than on a phone.
Other conversions
| Family | Give | → | Get | What you gain |
|---|---|---|---|---|
| JSON | YAML | readable config file | ||
| YAML | XML | for enterprise integrations | ||
| YAML | TOML | strictly typed config | ||
| XLSX | JSON | API-ready data · Excel sheets carried over | ||
| CSV | JSON | API-ready data · separator found by itself | ||
| XML | JSON | API-ready data · tags and attributes kept | ||
| TOML | JSON | API-ready data · tables and types kept | ||
| XLS | JSON | API-ready data · old Excel file read | ||
| TSV | JSON | API-ready data · tab-separated data read |