Loading...
Loading...
We use cookies to enhance your experience, analyze site usage, and serve personalized content. By clicking "Accept All," you consent to our use of cookies. See our Cookie Policy and Privacy Policy for details.
Convert between TOML, JSON, and YAML formats
Enter input above to convert
Three-way TOML ↔ JSON ↔ YAML converter with automatic input format detection. Provides output-specific formatting options (indent size, key sorting, trailing commas for JSON, line width for YAML). Includes copy-to-clipboard and download-as-file functionality for each output format.
Configuration files commonly exist in TOML, JSON, or YAML, but teams and tools require different formats. This converter bridges all three so users can seamlessly translate between them without remembering format-specific syntax rules.
Backend developers, DevOps engineers, and configuration managers who work with config files across tools that use different formats (e.g., Python TOML, JS JSON, CI YAML).
Paste TOML, JSON, or YAML content into the input area — the format is auto-detected from the first non-whitespace character.
Select the target output format: TOML, JSON, or YAML.
Configure output options: for JSON choose indent (2/4/tab) and key sorting; for YAML set indent and line width.
Click Convert; the output appears in the result panel with syntax highlighting.
Click Copy to copy the converted result to your clipboard.
Click Download to save the output as a .toml, .json, or .yaml file.
Input (TOML): "[server]\nhost = \"localhost\"\nport = 8080" → Output (JSON): {"server": {"host": "localhost", "port": 8080}}Input (YAML): "server:\n host: localhost\n port: 8080" → Output (TOML): "[server]\nhost = \"localhost\"\nport = 8080"TOML tables like [server.database] are converted to nested objects in JSON/YAML.
Convert JSON data to CSV format with advanced formatting options
Convert CSV data to JSON format with advanced parsing options
Generate TypeScript interfaces and types from JSON data
Convert Unix timestamps to human-readable dates and back
Dive deeper with our comprehensive guides and tutorials.