otree is a command line tool for browsing structured data files in the terminal. It loads JSON, YAML, TOML or XML content and shows it as an expandable tree, so nested objects can be opened and closed without scrolling through raw text. It suits developers and ops people who often read config files or API responses from a shell.
The interface is a text user interface built around a tree widget, so it runs over ssh and inside any terminal session without a graphical environment. The project is MIT licensed and the source code is public on GitHub, and it is a single CLI program with no separate server to run.
Alternatives to otree
Products that do a similar job in Developer Tools.
Windows Terminal
Command-line terminal app and console host for Windows
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
Alacritty
GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal
delta
syntax-highlighting pager for git, diff, blame and grep output
Termux
Terminal emulator for Android with installable packages