Vai al contenuto principale
CuteJSON
↑↓ Naviga Enter Seleziona Esc Chiudi

JSON Minifier

Remove every optional space and line break from your JSON, and see exactly how many bytes that saved.

Torna a tutti gli strumenti

Scorciatoie da tastiera

Funzionano dove l'azione corrispondente esiste in questa pagina.

Apri la tavolozza comandi
Ctrl/Cmd + K
Esegui l'azione principale
Ctrl/Cmd + Enter
Formatta
Ctrl/Cmd + Shift + F
Minifica
Ctrl/Cmd + Shift + M
Copia output
Ctrl/Cmd + Shift + C
Apri file
Ctrl/Cmd + Shift + O
Scarica output
Ctrl/Cmd + S
Chiudi questa finestra
Esc
Apri questa finestra
F1 / ?

Dati locali

Tutto qui sotto e memorizzato solo in questo browser.

Bozze non salvate
Strumenti con opzioni ricordate

File aperti di recente

    Nessun file aperto ancora.

    Condividi via link

    Il contenuto e impacchettato nella parte dopo il #.

    Condivide la prima input in questa pagina.

    Niente da condividere ancora.

    Input

    Carica da un URL

    Recupera l'URL dal tuo browser.

    Output

    Il risultato appare qui.

    Funziona interamente nel tuo browser.

    Su questo strumento

    Minifying removes whitespace that JSON does not need: the spaces after colons and commas, the indentation, and the line breaks. Nothing else changes. The values, their order and their exact text are identical, so minifying and formatting are safe to do as often as you like. Because this works on the token stream rather than parsing your document into a JavaScript value, long integers keep every digit and keys that look like numbers keep the order you gave them.

    Come usare

    1. Paste your JSON into the input pane, or load the sample.
    2. Press Minify. The result appears on the right.
    3. Check the saving, then copy the result or download it as a file.