# JSON, YAML & TOML converter — no upload

> Convert between JSON, YAML, and TOML in your browser, preserving structure. Nothing is uploaded — your config and data stay in the tab.

Convert configuration and data between JSON, YAML, and TOML while preserving structure. The conversion runs in the browser, so your data isn't sent anywhere.

Different tools prefer different config formats — JSON for machines, YAML for humans, TOML for many Rust and Python projects. Converting between them saves hand-rewriting a config when you switch tools.

For formatting a single format in place, use the YAML or XML formatters; to generate types from JSON, use JSON to types.

## How to

1. **Paste your data.** Paste JSON, YAML, or TOML.
2. **Pick the target.** Choose the format to convert to.
3. **Copy.** Copy the converted output.

## FAQ

### Does converting lose comments?

JSON has no comments, so converting to JSON drops them; YAML and TOML support comments but they may not survive a round trip through JSON.

### Which formats are supported?

JSON, YAML, and TOML in any direction, so you can move a config between an app that wants one and tooling that wants another.

### Is my data uploaded to convert it?

No. Parsing and serialization happen in the browser, so config and data stay local.


## Related tools

- [YAML formatter](https://www.safepaper.app/dev/yaml-formatter)
- [JSON toolkit](https://www.safepaper.app/dev/json-toolkit)
- [JSON to types](https://www.safepaper.app/dev/json-to-types)
- [Config converter](https://www.safepaper.app/dev/config-convert)

---

Canonical HTML: https://www.safepaper.app/dev/data-convert
Markdown: https://www.safepaper.app/dev/data-convert.md

There is no upload endpoint — your files are processed in this browser tab. Open your network tab and check.
