Text Format Converter

Edit any format and the others update instantly. Everything runs in your browser.

JSON
0 chars
YAML
0 chars

Formats

Structured
Config
Flat

About

JSON(JavaScript Object Notation) is the most common data interchange format on the web. Strict syntax: double-quoted keys, no comments, no trailing commas. JSONC (JSON with Comments) relaxes some of these rules but isn't widely supported outside of editors and tooling configs.

YAML(YAML Ain't Markup Language) is a human-readable format popular in configuration files. Indentation-based, supports comments and multi-line strings.

TOON (Token-Oriented Object Notation) is a compact format designed for LLM prompts. Combines YAML-like indentation with CSV-style tabular arrays for 20-40% fewer tokens than JSON.

TOML(Tom's Obvious Minimal Language) is designed for config files. Explicit typing, clean table syntax, and native datetime support.

XML (Extensible Markup Language) is a verbose but universal format used in configs, APIs, and document interchange. Supports attributes, namespaces, and schemas.

ENV (dotenv) is a flat key=value format used for environment variables. Natively flat with string values, though some tools support variable expansion and prefixed key conventions for grouping.

CSV(Comma-Separated Values) is a tabular format. Works best with flat objects or arrays of uniform objects. Nesting can be emulated with dot-notation column names, but isn't part of the spec.

Query String is the key=value format from URLs (?a=1&b=2). Supports array notation (key[]=1&key[]=2) and dot/bracket nesting (user[name]=x) in many frameworks.

Each format has tradeoffs. Some conversions may be lossy, e.g. TOML can't represent heterogeneous arrays and flat formats can't represent nesting.