# jless

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

Stars: 5.5k · Language: Rust · License: MIT · Categories: Data

- Repository: https://github.com/PaulJuliusMartinez/jless
- Website: https://jless.io
- Page: https://www.trmn.sh/tools/jless

## Install

- Homebrew: `brew install jless`
- Cargo: `cargo install jless`
- Arch Linux: `pacman -S jless`

## Overview

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

```bash
# via Homebrew
brew install jless
```

```bash
# via Cargo
cargo install jless
```

```bash
# via Arch Linux
pacman -S jless
```

## Alternatives

- [jnv](https://www.trmn.sh/tools/jnv.md): Interactive terminal JSON viewer and jq filter editor with auto-completion, using the built-in jaq engine; reads files or stdin. (Rust, 6.1k stars)
- [qsv](https://www.trmn.sh/tools/qsv.md): Rust CLI toolkit of composable commands for querying, transforming, validating, joining, and describing CSV, Excel, and other tabular data. (Rust, 3.8k stars)
- [angle-grinder](https://www.trmn.sh/tools/angle-grinder.md): Command-line log analysis tool that parses, filters, and aggregates log data with a pipeline query language and a live-updating terminal UI. (Rust, 3.8k stars)
- [htmlq](https://www.trmn.sh/tools/htmlq.md): HTML parser that uses CSS selectors to extract content from HTML files, similar to jq for JSON (Rust, 7.6k stars)
- [xsv](https://www.trmn.sh/tools/xsv.md): Command line CSV data manipulation tool for indexing, slicing, analyzing, splitting and joining CSV files (Rust, 10.8k stars)

---

Canonical: https://www.trmn.sh/tools/jless
