Formatador JSON
Formatar ou minificar dados JSON com validação de sintaxe.
How to Use
- 1
Paste your JSON into the input field.
- 2
Click Format to pretty-print the JSON, or Minify to compress it into a single line.
- 3
Copy the formatted output with the copy button.
Features
Pretty-Print & Minify
Format JSON for readability with custom indentation, or minify it to remove all whitespace.
Syntax Validation
Invalid JSON is detected and an error message with the exact position is shown.
Custom Indentation
Choose 2 spaces, 4 spaces, or tab indentation to match your project's code style.
Instant Processing
JSON is formatted or minified instantly in your browser with no server required.
FAQ
Valida JSON?
Sim, JSON inválido mostra erro com a posição do problema.
Opções de indentação?
2 espaços, 4 espaços ou minificado.