YAML para JSON Conversor Online

Free Grátis · Sem cadastro · Dados não enviados
Indent
Error
YAML
JSON
// JSON output

Mais Ferramentas para Desenvolvedores

Formatador YAML
Formatar & validar
JSON→YAML
Para YAML
TOML→JSON
Para JSON
CSV→JSON
Para JSON
XML→JSON
Para JSON
Formatador JSON
Formatar & validar
Timestamp
Unix ↔ Data
URL Encoder
Codificar URL

Por Que Este é o Melhor Conversor YAML para JSON

Suporte YAML Completo

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

Inferência de Tipo Correta

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

Saída com Destaque de Sintaxe

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

Baixar JSON

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

Perguntas Frequentes

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.

Guia detalhado
Guia YAML & TOML
Kubernetes, Docker, Rust & Python
Ler o guia