Instalar ZYBERMART

Abre cualquier herramienta desde tu pantalla de inicio o el Dock, en su propia ventana. Las que ya has usado también funcionan sin conexión.

Formateador y validador JSON

Formatea, valida y minifica JSON. Los errores se muestran con su línea y columna exactas.

How to format and validate JSON

  1. Paste your JSON into the input box.
  2. Click Format to pretty-print it, or Minify to compress it.
  3. If the JSON is invalid, you'll see what's wrong and the exact line and column.

JSON syntax rules

  • Data is written as "name": value pairs, and property names must be in double quotes.
  • Values can be strings (in double quotes), numbers, true, false, null, objects { } or arrays [ ].
  • Items are separated by commas, with no comma after the last item.
  • Comments are not allowed.

Example

This compact JSON:

{"name":"Ada","languages":["English","French"]}

becomes, after formatting:

{
  "name": "Ada",
  "languages": [
    "English",
    "French"
  ]
}

Frequently asked questions

What does a JSON formatter do?

It takes compact or messy JSON and adds consistent indentation and line breaks so it's easy to read. It also checks that the JSON is valid and points to the exact location of any error.

What are the most common JSON errors?

Trailing commas after the last item, single quotes instead of double quotes, unquoted property names, and comments. All of these are allowed in JavaScript but not in strict JSON.

What does minify do?

Minifying removes all unnecessary whitespace, making the JSON as small as possible. That's useful for sending data over a network or storing it compactly.

Is my JSON sent to a server?

No. Formatting and validation run entirely in your browser, so it's safe to use with API keys, tokens or private data.

Inicia sesión en ZYBERMART

Ten tus CV, facturas, tarjetas de estudio, notas y herramientas guardadas en todos tus dispositivos. Es gratis, y las herramientas funcionan igual sin cuenta.

o

No necesitas contraseña. Al iniciar sesión aceptas los términos; consulta cómo tratamos tus datos en la política de privacidad.

Tu cuenta

Al cerrar sesión se guarda una copia de tu trabajo en este navegador. En un ordenador compartido, borra después los datos del navegador.

¿Qué quieres crear?

Diseños

Redes sociales

Documentos

Estudio

Editar

Ver las 282 herramientas