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

JSON Formatter

Paste JSON, format or minify it, and find out precisely which line and column broke it.

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

    Formatting and minifying here work on the token stream rather than parsing your document into a JavaScript value and printing it back out. That round trip quietly corrupts two things: integers longer than about sixteen digits lose precision, and keys that look like numbers get reordered. Several widely used online formatters ship both bugs. Your document comes back byte for byte as you wrote it, with only the whitespace changed.

    Come usare

    1. Paste your JSON into the input pane, or load the sample.
    2. Choose an indent width, then press Format. Press Minify instead to strip every optional byte.
    3. Copy the result or download it as a file. If the document is invalid, the failing line is marked in the gutter.