Todas as ferramentasCategoriasSobreContatoPrivacidade
Ferramentas para desenvolvedores

Formatador e validador JSON

Formata JSON, verifica sua validade e identifica erros.

Atualizado · Gratuito · Sem registo · Funciona no seu dispositivo

A carregar a ferramenta…

Como usar

  1. Paste JSON into the editor.
  2. Choose an indentation and press Format, Minify or Sort keys.
  3. If the JSON is invalid, the error message includes the line and column.

A quem ajuda

Developers debugging an API response, analysts reading exported data, and anyone who needs to make a JSON file readable before sharing it.

Exemplo prático

A one-line API response becomes an indented tree, and a trailing comma is reported at the exact line where it appears.

Limitações

Only standard JSON is accepted. Comments, trailing commas and single-quoted strings are invalid and will be reported as errors.

Privacidade

What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.

Perguntas frequentes

Does formatting change the data?

No. Formatting only changes whitespace. Sorting keys changes the order of object keys, which is rarely significant but can matter for signatures.

Informações rápidas

Categoria
Ferramentas para desenvolvedores
Funciona em
Telemóvel, tablet e computador
Conta
Não é necessário
Preço
Gratuito
Dados
Permanecem no seu dispositivo
Atualizado