Formateadores y código
Convertidor TOML ⇄ JSON
Convert between TOML and JSON — both directions.
Nota del editor
Understanding · The config language that wanted to be obvious.
Este capítulo en profundidad está disponible solo en inglés por el momento. La herramienta de conversión de arriba funciona en tu idioma; el artículo explicativo extenso aún no se ha traducido.
Preguntas frecuentes
Quick answers.
›Does TOML support all JSON data types?
Yes. TOML supports strings, integers, floats, booleans, and arrays, which map directly to JSON types. Note that TOML also has a native Datetime type that JSON does not, which usually converts to an ISO 8601 string.
›Is my configuration data secure?
Yes. The conversion logic runs entirely within your browser's memory using JavaScript. No data is sent to a server or stored externally.
›Why use TOML instead of JSON for config files?
TOML is designed to be easier for humans to read and write. It allows comments, supports multi-line strings, and relies on a less syntax-heavy structure than JSON's braces and quotes.
›Does the converter handle nested tables?
Yes. Nested TOML tables and arrays of tables are correctly converted into nested JSON objects and arrays.
La gente también busca
Herramientas relacionadas
More in this room.
- Conversor de JSON a XMLConvierte JSON a XML limpio y bien formado.
- Conversor de CSV a JSONConvierte hojas de cálculo en arrays JSON — al instante.
- Conversor de YAML a JSONConvierte YAML a JSON — instantáneo, solo en navegador.
- Convertidor de JSON a ExcelConvierte matrices JSON en hojas de cálculo de Excel.
- Convertidor INI ⇄ JSONConvierte archivos de configuración INI a JSON y viceversa.
- Convertidor de Esquema SQL → NoSQLConvierte un CREATE TABLE en una forma de documento JSON.