pyfx is a Python-native terminal JSON viewer (TUI) inspired by the fx tool, designed to inspect, browse, and query structured data directly from the command line.
It supports interactive navigation of JSON data along with JSONPath queries, making it useful for developers working with APIs, logs, or CLI output. It can be used both as a standalone CLI application and embedded as a component in Python-based terminal interfaces
This is free and open source software.
Key Features
- Interactive terminal-based JSON viewer with a text user interface for browsing structured data.
- Supports JSON input from files, standard input (pipes), and clipboard sources.
- JSONPath query support for filtering and extracting specific data within JSON documents.
- Keyboard-driven navigation with expandable and collapsible JSON nodes.
- Can be used as both a standalone CLI tool and a reusable Python module.
- Embeddable JSON viewer components for integration into custom Urwid-based TUIs.
- Configurable via YAML configuration files with theme and keybinding customization.
- Autocomplete support for building JSONPath queries interactively.
Website: github.com/cielong/pyfx
Support:
Developer: Yutian Wu
License: MIT License

pyfx is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| JSON Tools | |
|---|---|
| jq | Lightweight and flexible command-line JSON processor. It's like sed for JSON data |
| fx | JavaScript Object Notation (JSON) viewer with streaming and mouse support |
| jaq | jq clone focused on correctness, speed, and simplicity. |
| gron | Transforms JSON into discrete assignments to make it easier to grep |
| gojq | Pure Go implementation of jq |
| jless | Command-line JSON viewer written in Rust |
| jnv | Navigates JSON offering a viewer and filter editor |
| jid | JSON incremental digger by using filtering queries |
| jo | Small utility to create JSON objects |
| faq | Billed as a more flexible jq supporting additional formats |
| jsawk | Like awk, but for JSON |
| jello | Filter JSON and JSON Lines data with Python syntax |
| emuto | Small language for manipulating and restructuring JSON and other data files |
| jqp | TUI playground to experiment with jq |
| jtc | Extract, manipulate and transform source JSON |
| unqery | Query and transform JSON data |
| jshon | Parses, reads and creates JSON. It's designed to be as usable as possible |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

