{ } Validador JSON — Verificar Sintaxis JSON Online
Validate any JSON string instantly. Get a clear error message with line number when syntax is wrong. Free online JSON syntax checker.
Not sure if your JSON is valid? Paste it here and click Validate. The tool checks every bracket, quote, and comma and shows you a green checkmark for valid JSON or a red error with the exact line number for invalid JSON.
How to Use
Paste your JSON
Copy or type your JSON data into the left input area. Minified or messy JSON is fine.
Click Format
Press the Format button (or Ctrl+Enter) to instantly beautify and validate your JSON with proper indentation.
Copy the result
Use the Copy button to copy the formatted output. Fix any errors shown in the status bar.
Frequently Asked Questions
Guía: Formateador y Validador JSON
¿Qué es?
Un formateador JSON aplica la especificación RFC 8259: indentación correcta, saltos de línea y validación en tiempo real. Los sistemas en producción envían JSON comprimido en una sola línea — esta herramienta lo hace legible e identifica errores de sintaxis.
Útil para: depurar respuestas fetch(), escribir fixtures de prueba, y auditar configuraciones de despliegue.
Cómo usar
- Pega JSON en el área de entrada — minificado, parcialmente formateado o con errores.
- Haz clic en Formatear (Ctrl+Enter) para validar y embellecer.
- Lee la barra de estado: ✓ verde = válido, ✕ rojo = error con posición.
- Usa Minificar para salida compacta de producción.
Consejos
- Las comas finales (
{"a":1,}) son JSON inválido aunque sean JavaScript válido. - Las claves sin comillas y strings con comillas simples también son inválidos.
- gzip comprime JSON ~70% — el espacio en blanco tiene coste casi nulo en producción.