JSON ↔ TOML
Convert JSON objects to TOML and TOML documents back to JSON in the browser. Handy for Cargo.toml, pyproject, and app config fragments. Parsing stays on-device.
Runs in your browser. Nothing is uploaded.
About this tool
Convert a JSON object to TOML and TOML back to JSON with smol-toml in the browser. Typical use is Cargo.toml-style config, pyproject fragments, and app settings that you would rather not paste into a hosted converter.
How to use: paste JSON, pick JSON to TOML, copy. Reverse for a .toml file you want as JSON. A JSON array or scalar at the root fails because TOML needs a table. Dates and inline tables follow smol-toml defaults.
Example: {"package":{"name":"api"}} becomes a [package] table with name = "api". Nested objects become dotted or header tables.
Documents never leave the tab. Related: JSON to YAML for a different config dialect, JSON formatter to tidy the JSON side first. After load, converting works offline.
Related Convert tools
JSON ↔ YAML
Convert JSON to YAML and YAML back to JSON in the browser. Paste a config, Kubernetes snippet, or API fixture and copy the other format. Parsing uses js-yaml locally. Documents are never posted to a converter.
JSON ↔ XML
Convert JSON objects to XML and XML documents back to JSON. Useful for SOAP leftovers, RSS, and mixed API stacks. XML is parsed with the browser DOMParser so payloads stay on the device.
JSON ↔ CSV
Turn an array of JSON objects into CSV, or parse CSV headers into JSON objects. Quote-aware parsing runs in the tab so spreadsheets of IDs and emails are not uploaded to a conversion service.
JSON to SQL
Turn a JSON object or array of objects into SQL INSERT statements. Set a table name, copy the query, and keep rows on the device instead of pasting fixtures into a hosted converter.
CSV ↔ TSV
Convert comma-separated values to tab-separated values and back, preserving quoted fields. A small delimiter swap for dumps you would rather not paste into a spreadsheet SaaS.
Timestamp Converter
Convert Unix timestamps, milliseconds, and ISO 8601 dates in both directions. See UTC and local time side by side, generate a 'now' epoch, and copy values for logs, databases, and APIs without a round trip to a conversion API.