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
}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"
}| Feature | JSON Formatter | LCOV Coverage Viewer |
|---|---|---|
| Category | formatting | validation |
| Inputs | json, mode, indent, sort_keys, repair | lcov |
| Outputs | output, valid, error, error_line, error_column | summary, files |