Config files for Docker, Kubernetes and GitHub Actions are usually written in YAML, but many APIs and programs want JSON. It turns your YAML into clean, formatted JSON right here in the browser.
Convert a config
- Look at the sample first. The “Input” box already holds a small YAML sample — a site called MMS Tools with 388 tools and a list of features. Click “Convert to JSON” to see it work.
- Read the result. The output box appears below the buttons, with the same data as JSON — the site name, the number 388, and the features as a list. If you see that, the converter is working.
- Paste your own YAML. Replace the sample with your config file, then click “Convert to JSON” again. Nothing converts until you click the button.
- Copy or download it. Click “Copy result” to copy the JSON, or “Download result” to save it as a file.
Watch the indentation
- YAML uses spaces to show structure — two spaces too many or too few changes what belongs inside what. If the output looks wrong, check the indentation first.
- Use spaces, not tabs. Tabs are not valid indentation in YAML and will stop the conversion — replace them with spaces.
- Lists use a dash and a space. Each item in a list starts with “- ” — the sample's features list shows the pattern: pdf, images and text, one per line.
- Numbers stay numbers. The sample's 388 comes out as a plain number in the JSON, not as text in quotes — so the result is ready to paste straight into code or an API call.
- Your config stays on your device. Converting happens in the browser, so nothing you paste is uploaded.