Formattatore JSON Online
Domande Frequenti
Tutto quello che devi sapere sul formattatore JSON
Cosa significa formattare un JSON?
Formattare (o "pretty print") un JSON significa aggiungere indentazione, spazi e interruzioni di riga per renderlo leggibile. Il contenuto rimane identico, cambia solo la presentazione. E utile per debuggare API, leggere configurazioni e condividere dati con altri sviluppatori.
A cosa serve minificare un JSON?
Minificare un JSON rimuove tutti gli spazi, le tabulazioni e le interruzioni di riga non necessari, producendo una stringa compatta su una sola riga. Questo riduce la dimensione del file, il che e utile per trasmissioni di rete, storage e configurazioni dove la leggibilita non e prioritaria.
Quali errori vengono segnalati nella validazione?
La validazione identifica errori sintattici come: virgole mancanti o in eccesso, parentesi non chiuse, chiavi non virgolettate, valori non validi (come undefined o NaN), uso di apici singoli invece di doppi, e commenti (non supportati in JSON standard). L'errore viene mostrato con il messaggio specifico del parser.
I miei dati JSON sono al sicuro?
Si, tutti i dati vengono elaborati esclusivamente nel tuo browser tramite il metodo nativo JSON.parse() e JSON.stringify() di JavaScript. Nessun dato viene inviato a server esterni. Puoi usare lo strumento in sicurezza anche con dati sensibili come chiavi API o configurazioni private.
What does formatting JSON mean?
Adding indentation, spaces and line breaks to make it readable. The content stays identical, only the way it is written changes. It is what you want for reading an API response or a configuration file.
What is minifying JSON for?
It strips every space, tab and line break that is not needed, leaving a single line string. The file weighs less, which matters when the data travels over a network or sits inside a configuration.
Is my data safe here?
Yes: everything is processed in the browser with JSON.parse and JSON.stringify, the native JavaScript methods. Nothing is sent to a server, so you can paste API keys and private configuration.
Does my data stay private?
Yes, and not because we promise it: this tool runs entirely inside your browser. What you type or upload never leaves your device, so it never reaches a server of ours and there is nothing we could keep, read or lose. You can check it yourself: open the page, disconnect from the internet, and the tool keeps working.
Do you store what I enter?
No. There is no database behind this tool: we do not store your files, your text or your results. When you close the tab nothing is left — not here with us, because it never arrived, and not anywhere else.
Do you profile me? Are you GDPR compliant?
We do not profile you: there is no account to create, we never ask for your email to use a tool, and we keep no profile of what you do. We are an Italian company and we work under the GDPR and the other European rules, with the privacy notice and the consent request in plain sight. One thing we say in full rather than hiding it behind a slogan: the ads on the page are Google's, and Google may use cookies to personalise them. You decide from the consent banner: if you say no the ads stay, but they are not personalised, and the tool works exactly the same.
If it is free, how do you make money?
From the ads on the page, and that is all. We do not sell your data, there is no hidden paid plan, there is no limit that eventually asks for your card, and you do not have to sign up. The ads pay for the servers and for the time we spend writing the tools: that is how we can keep them open to everyone.