jless logo

jless

Command-line JSON viewer with syntax highlighting, collapsible sections, and vim-inspired navigation commands

install

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

add a badge to your README

Maintain jless? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/jless.svg)](https://www.trmn.sh/tools/jless?utm_source=badge)
HTML
<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>