JSON Formatter vs LCOV Coverage Viewer

formatting

JSON Formatter

Pretty-print or minify JSON — with syntax validation.

Paste raw or minified JSON and format it with configurable indentation, or minify it by removing all whitespace. Validates syntax, reports parse errors with line/column, and optionally sorts keys or repairs malformed JSON.

Example input:

{
  "json": "{\"name\":\"Alice\",\"age\":30}",
  "mode": "pretty",
  "indent": 2,
  "sort_keys": false,
  "repair": false
}
Use JSON Formatter
validation

LCOV Coverage Viewer

Parse and visualize LCOV code coverage reports — line, function, and branch coverage per file.

Paste or upload an LCOV .info file (generated by Jest, Istanbul/nyc, Vitest, gcov, coverage.py, and more) to get a structured coverage summary with per-file breakdown. All processing runs in your browser — your code never leaves your device.

Example input:

{
  "lcov": "TN:\nSF:src/utils.ts\nFNF:3\nFNH:2\nBRF:8\nBRH:6\nDA:1,1\nDA:2,1\nDA:3,0\nLF:3\nLH:2\nend_of_record"
}
Use LCOV Coverage Viewer
FeatureJSON FormatterLCOV Coverage Viewer
Categoryformattingvalidation
Inputsjson, mode, indent, sort_keys, repairlcov
Outputsoutput, valid, error, error_line, error_columnsummary, files

We use cookies to serve ads and measure traffic. Cookie policy · Privacy policy