TOML <-> JSON Converter
LOCAL · Browser-OnlyConvert between TOML and JSON formats instantly
Was this tool helpful?
What is TOML/JSON Converter?
Convert TOML to JSON or JSON to TOML instantly with full TOML v1.0 specification support.
The built-in parser handles all TOML features including dotted keys, inline tables, arrays of tables, multiline strings, datetime types, hex/octal/binary integers, and more. Convert a Cargo.toml or pyproject.toml file to JSON, turn a Hugo config into JSON for tooling, or transform JSON data back into clean TOML config. Choose your JSON indentation style, auto-detect input format, and swap between directions with one click. Upload .toml or .json files, download the converted output, or copy to clipboard. All processing runs in your browser with no data sent anywhere.
How to Use TOML/JSON Converter
- 1Paste your TOML or JSON content into the input area, or upload a file
- 2The tool auto-detects the format, or you can set the direction manually
- 3Choose your preferred JSON indentation style
- 4Copy the converted output or download it as a file
Frequently Asked Questions
What is TOML?
Does this support the full TOML spec?
Can I convert JSON back to TOML?
Is my data safe?
How do I convert a Cargo.toml or pyproject.toml to JSON?
Why would I convert TOML config to JSON?
Related Tools
XML to JSON Converter
Free online XML to JSON converter - convert XML documents to JSON format
Yaml json converter
Free online YAML ↔ JSON converter - convert between YAML and JSON formats with validation and formatting
Csv to json free
Free online CSV to JSON converter - convert CSV data to JSON format with delimiter options and preview
Convert yaml to csv online
Free online YAML to CSV converter - convert YAML arrays to CSV spreadsheet format
Json to csv
Free online JSON to CSV converter - convert JSON arrays to CSV format for spreadsheets and databases
Convert json to xml online
Free online JSON to XML converter - convert JSON data to XML format instantly
Convert html to markdown
Free online HTML to markdown - convert HTML markup to clean, readable Markdown syntax
Html to react
Free online HTML to JSX converter - convert HTML markup to valid React JSX with automatic attribute and style transformations
Keep reading: JSON Syntax Cheat Sheet and cron expressions reference. Doing this in code instead? See the encoding endpoints.