Перетворюйте JSON на TOML і TOML назад на JSON, в обидва боки, повністю у вашому браузері.
Як користуватися JSON / TOML
Оберіть напрямок: JSON у TOML або TOML у JSON.
Вставте свій JSON чи TOML.
Скопіюйте результат або поміняйте, щоб перетворити назад.
This is a two-way converter between JSON and TOML. Pick a direction, paste your data, and copy the result. It is built on a well-tested TOML parser that handles nested tables and arrays of tables correctly.
Everything runs locally in your browser, so your data, which for config files can include hostnames or tokens, never leaves your device.
TOML (Tom's Obvious, Minimal Language) is a configuration format designed to be obvious to read and to map cleanly onto a hash table. It is what Rust's Cargo uses for Cargo.toml and what Python projects use for pyproject.toml, among many others.
JSON and TOML describe similar data but suit different jobs. JSON is the lingua franca for APIs and machine exchange. TOML is built for human-written config, with sections, comments and first-class dates that make a settings file pleasant to edit.
TOML also supports native date and time values and typed numbers, so values keep their meaning rather than all becoming strings, which is part of why it is preferred for configuration.
Most data round-trips cleanly, but there is one catch. TOML has no null value. JSON nulls cannot be represented, so remove or replace them before converting to TOML, otherwise the conversion cannot express them.
Поширені запитання
TOML це мінімальний формат конфігурації, розроблений для зручності читання, що використовується інструментами на кшталт Cargo та багатьма проєктами Python у pyproject.toml.
Більшість даних так. TOML не має null, тож null із JSON не можна представити; вилучіть або замініть їх перед перетворенням.
Ні. Перетворення виконується повністю у вашому браузері, тож ваші дані ніколи не залишають ваш пристрій.
Вбудувати цей інструмент
Додайте цей інструмент на власний сайт. Скопіюйте фрагмент нижче; він оновлюється автоматично.
<iframe src="https://monu.tools/embed/uk/json-toml-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>Пов'язані інструменти
Форматуйте, впорядковуйте та перевіряйте JSON онлайн із чіткими повідомленнями про помилки для некоректного вводу.
Мініфікуйте та перевіряйте JSON у вашому браузері й дивіться, скільки байтів ви заощаджуєте.
Перетворюйте JSON на CSV і CSV назад на JSON в обидва боки. Оберіть роздільник, обробляйте поля в лапках і копіюйте результат. Усе працює у вашому браузері.
Перетворюйте YAML на JSON і JSON назад на YAML в обидва боки. Перевіряє коректність під час перетворення та показує чіткі помилки. Усе працює у вашому браузері.