Privvert - private browser-based file toolsPrivvert

Formateador JSON

Formatea, valida, minifica

Sobre esta herramienta

Format, validate and minify JSON. Privvert pretty-prints with custom indent, validates strictly with line/column errors, sorts keys alphabetically for consistent diffs, and minifies for shipping or storage.

Useful for inspecting API responses, cleaning up handwritten config files, preparing JSON for production, or quickly checking whether a payload is valid. All processing happens in your browser.

Características

  • Pretty-print with custom indent (2/4 spaces or tabs)
  • Minify (remove whitespace)
  • Strict validation with line/column error messages
  • Sort keys alphabetically (deep)
  • Live two-way panel
  • Browser-only - data never uploaded
  • Free and unlimited
  • Highlights the exact character position of any syntax error

Cómo usarla

  1. Paste JSON.
  2. Pick format (with indent), minify, or sort keys.
  3. Copy the result.
🔒 100% privado

Todo sucede dentro de tu navegador usando JavaScript y WebAssembly. Tus archivos nunca se suben a un servidor, nunca se almacenan y nosotros nunca los vemos.

Preguntas frecuentes

Will it accept JSON5 or comments?

Strict JSON only. Strip comments and trailing commas before pasting, or use a JSON5 tool.

What does strict validation catch?

Trailing commas, single quotes, unquoted keys, missing commas, mismatched braces - and points to the exact line and column where the error starts.

Why sort keys?

Sorted JSON produces consistent diffs in version control. Two equivalent objects with keys in different order will diff as identical after sorting.

Is there a size limit?

Hundreds of MB work in modern browsers. Very large JSON may slow your tab; consider streaming tools for files over ~100 MB.

Will it handle very large JSON documents?

Yes, up to the limit of your browser's memory and how fast the syntax highlighter can re-render. Documents of a few MB are fine on a modern machine; files of tens of MB may stutter while you type but still parse correctly.

Does it support JSON5 or comments?

No. The parser is strict RFC 8259 JSON - trailing commas, single quotes, unquoted keys and // comments will all be flagged as syntax errors. If you're working with config files that use those extensions, strip them before pasting.