Instalar o ZYBERMART

Abra qualquer ferramenta pela tela inicial ou pelo Dock, em uma janela própria. As ferramentas que você já usou também funcionam offline.

Conversor de YAML para JSON

Converta YAML para JSON e JSON para YAML, com os erros mostrados por linha e coluna.

How to convert YAML to JSON (and back)

  1. Paste YAML on the left and choose YAML → JSON, or paste JSON on the right and choose JSON → YAML.
  2. If there’s a mistake, the message shows the line and column.
  3. Copy the result from the other side.

Only need to tidy JSON? Use the JSON formatter. Turning JSON into code types? Try JSON to TypeScript.

Frequently asked questions

What's the difference between YAML and JSON?

They hold the same kind of data: lists, key-value maps, text and numbers. JSON uses braces, brackets and quotes and is common in APIs. YAML uses indentation instead, allows comments, and is common in config files like Docker Compose, Kubernetes and GitHub Actions.

Are YAML comments kept?

Comments can't be stored in JSON, so they're dropped when converting YAML to JSON. Everything else, including anchors and aliases, is turned into plain JSON values.

Why does my YAML give an error?

Most often it's indentation: YAML uses spaces (not tabs), and items at the same level must line up exactly. The error message gives the line and column to look at.

Is my data uploaded?

No. Converting happens in your browser, so it's safe for config files with secrets.

Entrar no ZYBERMART

Tenha seus currículos, faturas, flashcards, notas e ferramentas salvas em todos os seus dispositivos. É grátis, e as ferramentas funcionam igual sem conta.

ou

Não precisa de senha. Ao entrar, você concorda com os termos; veja como tratamos seus dados na política de privacidade.

Sua conta

Ao sair, uma cópia do seu trabalho fica neste navegador. Em um computador compartilhado, limpe os dados do navegador depois.

O que você quer criar?

Designs

Redes sociais

Documentos

Estudos

Editar

Ver todas as 282 ferramentas