# Minificador de JSON

> Elimina espacios innecesarios del JSON.

[Open tool](https://www.toolcabana.com/es/json-minifier) · [Desarrollo y datos](https://www.toolcabana.com/es/category/developer-and-data)

Tool ID: json-minifier. Requested language: es. Description language: es. Complete guide translation: yes.

## Overview (en)

JSON minifier removes the whitespace outside strings from valid JSON and returns a compact single-line result. It reports the original and minified size in bytes and how much smaller the output is. Advanced options sort object keys alphabetically or add a final newline, and the result downloads as minified.json.

## Supported tasks (es)

Elimina espacios innecesarios del JSON.

## Steps (es)

1. Escribe o pega tu fuente, o carga un ejemplo.
2. Cambia los ajustes básicos o abre el modo avanzado para afinar el resultado.
3. Revisa y copia o descarga tu resultado. Pausa los resultados en vivo para ejecutar manualmente. Las fuentes o ajustes individuales de más de 20,000 caracteres requieren una ejecución explícita.

## Settings

- Ordenar claves alfabéticamente (es; key: sortKeys; type: checkbox)
- Terminar con un salto de línea (es; key: finalNewline; type: checkbox)

## Limitations (es)

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Example input

```text
{"name":"ToolCabana","count":2}
```

## Privacy and connections (es)

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

## Questions (es)

### Does minifying JSON change any values?

No. Only whitespace outside strings is removed, so spaces inside string values are kept. Large integers that cannot be stored exactly are rejected with an error rather than rounded.

### How much smaller will my minified JSON be?

After each run the tool shows the original byte count, the minified byte count and the size change. Input that is already compact shows that there was no size change.

### Can I sort keys while minifying JSON?

Yes. Turn on Sort object keys alphabetically in Advanced mode. Keys in every nested object are reordered, while the order of items inside arrays stays as it was.

### ¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

### ¿Cuáles son los límites de entrada?

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Related tools

- [JSON validator](https://www.toolcabana.com/es/json-validator)
- [JSON diff](https://www.toolcabana.com/es/json-diff)
- [JSON formatter](https://www.toolcabana.com/es/json-formatter)
- [JSON to CSV](https://www.toolcabana.com/es/json-to-csv)
