YAML to JSON
Load a YAML file or paste a manifest and see JSON if it parses. A badge tells you the document was accepted. Comments are not carried into the JSON.
Runs in your browser. Nothing is uploaded.
How it works
- Step 1: Paste your inputPaste directly into the editor, drop a file onto it, or use "Open file" to pick one from your device. Nothing is sent anywhere when you do.
- Step 2: ConvertAdjust the options if you need to, then run it. Results appear beside your input so you can compare the two.
- Step 3: Copy or download the outputCopy the result to your clipboard in one click, or save it as a file. You can also keep editing and re-run as many times as you like.
About this tool
What YAML to JSON checks
This address starts in YAML-to-JSON. Paste a manifest or open a .yaml file. If the document parses, the badge says so and the other box fills with pretty-printed JSON. A tab used as indentation stops the parse. The message on the page is the parser's own text, not a rewritten hint. Comments in the YAML are dropped because JSON has nowhere to store them. Keep the original file when those notes matter.
Kubernetes, Compose, and GitHub Actions files are the usual inputs. The page does not apply the YAML to a cluster and it does not sort keys. The swap control still accepts JSON. JSON to YAML is the address that opens already facing that direction. A file that is only JSON should start there so the canonical URL matches the search.
The loader reads a single document. A file that stacks several documents behind lines of three dashes contributes only the first one. Anchors and aliases are expanded, so a shared subtree is copied into the JSON rather than kept as a reference. Pretty printing uses two spaces. The download name is converted.json. No schema is checked and nothing is sent to a cluster.
- Runs in your browser. All processing happens locally in this tab using JavaScript.
- No uploads. Your data is never sent to a server. There is no server to send it to.
- Works offline. Once the page has loaded you can disconnect and keep working.
- Unlimited & free. No usage caps, no paywall, no file size tiers.
Start with your own data. Open a file
What happens to your data
The same questions a security review would ask, answered plainly.
- Read via
- Typed or pasted into the page
- Held in
- Your browser tab's memory for as long as it is open
- Stored
- Nothing. No cookies, no database, no server-side copy
- Transmitted
- Nothing leaves your device
- Retained after you close the tab
- Nothing
- Works offline
- Yes, once the page has loaded
Why use this tool
What you get here that a server-side alternative cannot offer.
Your data never leaves the tab
There is no upload step and no server to receive one. The page loads once, then all work on your data happens in local JavaScript.
No caps or paywalls
No daily limits, no per-file ceilings imposed by a server tier, no watermarks, and no account. The practical limit is your own device's memory.
Frequently asked questions
Is my YAML uploaded to a server?
No. Everything runs locally in your browser using JavaScript. Your data is never uploaded to a server, and nothing is stored or logged.
Why did a tab break the whole file?
YAML indentation is spaces. One tab, or a level that does not line up with its parent, makes the parser stop. The error text on the page is the parser's own message.
Where did the comments go?
JSON cannot store them. The original YAML is the file to keep if those notes still matter. This page does not invent a comment field.
How much data can I paste in?
There is no server-side cap. Very large inputs are limited only by your device's memory and will make the page feel slower, since the work happens on the main thread. In practice a few megabytes of text is comfortable.
Does it work offline?
Yes, once the page has loaded. The code that does the work is already in your browser at that point, so you can disconnect and keep using it. Reloading the page while offline needs the browser cache to still hold it.
Do I need to create an account?
No. There is no sign-up, no email, and no usage tracking tied to an identity. The tool works the first time you open it.