YAML в JSON конвертер онлайн

Free Бесплатно · Без регистрации · Данные не сохраняются
Indent
Error
YAML
JSON
// JSON output

Другие инструменты разработчика

YAML Форматтер
Форматировать & проверять
JSON→YAML
В YAML
TOML→JSON
В JSON
CSV→JSON
В JSON
XML→JSON
В JSON
JSON Форматтер
Форматировать & проверять
Timestamp
Unix ↔ Дата
URL Encoder
Кодировать URL

Почему это лучший конвертер YAML в JSON

Полная поддержка YAML

Handles all common YAML features: mappings, sequences, block and flow styles, anchors & aliases, multi-line strings, and comments.

Корректное определение типов

YAML booleans (true/false/yes/no), integers, floats, and null values are correctly mapped to their JSON equivalents.

Вывод с подсветкой синтаксиса

JSON output is syntax-highlighted by key, value type, and structure, making it easy to inspect the converted result.

Скачать JSON

Export the converted result as a .json file for use in APIs, databases, or any JavaScript/TypeScript application.

Часто задаваемые вопросы

What is the difference between YAML and JSON?

YAML uses indentation and is more human-readable, commonly used for config files (Kubernetes, Docker, GitHub Actions). JSON uses braces and quotes, making it ideal for APIs and data exchange. Both can represent the same data structures.

Does this handle YAML anchors and aliases?

Yes. YAML anchors (&name) and aliases (*name) are fully resolved during conversion. The resulting JSON will contain the expanded, dereferenced values.

Are YAML comments preserved in JSON?

No. JSON does not support comments, so YAML comments (lines starting with #) are stripped during conversion. Only data values are transferred to the JSON output.

Подробное руководство
Руководство по YAML & TOML
Kubernetes, Docker, Rust & Python
Читать руководство