JSON to YAML
Convert JSON to clean YAML in your browser with 2- or 4-space indents. Errors show the line and column. Copy or download .yaml; nothing is uploaded.
- No uploads
- No limits
- No signup
- Input:
- JSON
- Output:
- Text
- Runs on:
- Your device
- Size limit:
- None
- Account:
- Not needed
How to use JSON to YAML
Paste your JSON
Paste a JSON object or array. It stays in your browser.
Pick the indent and convert
Choose 2 or 4 spaces and press Convert. Invalid JSON shows the line and column of the problem.
Copy or download
Copy the YAML or download it as a .yaml file for your config, Docker Compose or Kubernetes setup.
Why JSON to YAML on Toolshed
No uploads
Everything runs in this browser tab. Your files never leave your device.
No limits
No file-size caps, no daily quotas. Process as much as your device can handle.
No signup
No account, no email, no watermark.
Frequently asked questions
Are numbers, booleans and null kept?
Yes. Numbers, true/false and null stay typed in the YAML, and strings that would otherwise read as a number or boolean, such as "yes" or "1.0", are quoted.
Why can't my JSON be converted?
The input must be valid JSON: double-quoted keys, no trailing commas and no comments. The error message shows where the parser stopped.
Is my data uploaded?
No. The conversion runs entirely in your browser and nothing is sent anywhere.
Is my data sent anywhere?
No. JSON to YAML runs entirely in your browser. Everything you enter stays on your device and is never sent to a server.
Is JSON to YAML really free?
Yes. There's no account and no sign-up, and your result shows right away. Ads on the page keep it free.
Does it work offline?
Once the page has loaded, processing happens locally, so it keeps working even if your connection drops.