JSON to YAML
Turn JSON into YAML with a two-space indent. Handy for a manifest you would rather edit by hand. The swap control on the page still accepts YAML if that is what you pasted.
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 JSON to YAML emits
This address starts in JSON-to-YAML. The dump uses two-space indentation, a wide line, and the key order of the JSON object. Keys are not sorted. A JSON string stays a quoted or plain scalar according to the dumper. If you later edit the YAML in a tool that still speaks YAML 1.1, an unquoted yes or no can become a boolean. Quote those words yourself if that tool is in the path.
No comments are added on the way out. The page is for a config you would rather read than a minified object. The swap control accepts YAML again. YAML to JSON is the address that opens facing a manifest. This page does not deploy anything and does not validate against a Kubernetes schema. A parse error is the only failure it reports.
Cycles are refused because the dumper is called with references disabled. A date that arrived as a string stays a string. The output box is that dump, and the file you save is named converted.yaml. The writer does not emit several documents or a leading document-start marker on every block. One JSON value becomes one YAML document.
- 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 JSON 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.
Will yes and no stay strings?
A JSON string stays a string in the YAML this page writes. A later tool that still speaks YAML 1.1 might read an unquoted yes as a boolean if you edit it by hand. Quote those words if you are unsure.
Are keys sorted?
No. They stay in the order the JSON object had, which is the order you will see in the YAML.
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.