jless
Command-line JSON viewer with syntax highlighting, collapsible sections, and vim-inspired navigation commands
jless is a command-line JSON viewer designed to replace the typical workflow of using less, jq, cat, and text editors for examining JSON files. It displays JSON data with clean syntax highlighting that omits quotes around object keys, closing delimiters, and trailing commas for improved readability.
The tool provides interactive navigation through JSON structures with expandable and collapsible objects and arrays, allowing users to examine both high-level structure and detailed content. It includes vim-inspired movement commands for efficient navigation and full regex-based search capabilities for locating specific data within JSON files.
Written in Rust, jless is distributed as a single standalone binary and currently supports macOS and Linux systems. The tool targets developers, system administrators, and anyone who regularly works with JSON data files and needs a more efficient viewing experience than traditional text-based tools.
Installation
# via Homebrew
brew install jless
# via Cargo
cargo install jless
# via Arch Linux
pacman -S jless
Alternatives & related tools
jnv
Interactive terminal JSON viewer and jq filter editor with auto-completion, using the built-in jaq engine; reads files or stdin.
qsv
Rust CLI toolkit of composable commands for querying, transforming, validating, joining, and describing CSV, Excel, and other tabular data.
angle-grinder
Command-line log analysis tool that parses, filters, and aggregates log data with a pipeline query language and a live-updating terminal UI.
htmlq
HTML parser that uses CSS selectors to extract content from HTML files, similar to jq for JSON
xsv
Command line CSV data manipulation tool for indexing, slicing, analyzing, splitting and joining CSV files
add a badge to your README
Maintain jless? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/jless?utm_source=badge)<a href="https://www.trmn.sh/tools/jless?utm_source=badge"><img src="https://www.trmn.sh/badge/jless.svg" alt="Featured on trmn" height="20"></a>