Data Format
Convert between JSON, YAML, TOML, CSV.
A free data-format converter between JSON, YAML and CSV, with extra outputs for minified JSON and TypeScript interfaces. It auto-detects the input and runs entirely in your browser.
How to use
- Paste JSON, YAML or CSV — leave the input on Auto or pick the format yourself.
- Choose an output: pretty JSON, minified JSON, YAML, CSV or a TS interface.
- Turn on Sort keys to order object keys alphabetically.
- Copy the result on the right.
FAQ
- Which formats are supported?
- Input accepts JSON / YAML / CSV; output covers pretty JSON, minified JSON, YAML, CSV and a TypeScript interface. CSV output needs an array of objects as input.
- Is my data safe?
- Yes. Parsing and conversion run in your browser; your data is never sent to a server.
- Does it handle complex YAML?
- It uses a lightweight parser covering common key/value, nesting and lists; advanced features like anchors or multi-document streams may not work — convert very complex files via JSON first.
Related tools
- 2FA Authenticator — End-to-end encrypted 2FA vault with live codes.
- Password Vault — Zero-knowledge vault for site logins; survives password changes.
- Base64 — Encode / decode text & files in Base64.
- URL Encode — Encode / decode URL components.
- JWT Decode — Inspect JWT header & payload.
- Regex Tester — Live-highlight matches, debug regex.