Python JSON's module can do this too (python -m json.tool), e.g.:

cat myjsonfile.json | python -m json.tool > pretty.json
Answer from gertvdijk on Stack Overflow
🌐
Snapcraft
snapcraft.io › install › json-tool › ubuntu
Install json-tool on Ubuntu using the Snap Store | Snapcraft
4 days ago - For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd. Alternatively, snapd can be installed from the command line: ... Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly. To install json-tool, simply use the following command:
Top answer
1 of 3
1

Personally I use this tool to convert my JSON to CSV. Then, CSV can be used as normal with LibreOffice Calc, Google Sheets, or Microsoft Excel.

2 of 3
1

The mentioned Visual Studio Code or similar multi-functional editors or IDEs may not handle or crash even while processing JSON files of sizes bigger enough, like more than 500 MiB.

Sublime Text will handle quite big files in JSON at least for viewing.

But still, both are not a solution to the question, I believe. Those are full-blown multi-functional editors and sure not specifically oriented on data editing as JSON, YAML, CSV, or alike, predominantly, but just feature an additional support for relatively small files.

Therefore, have you considered standalone software, like the following?


Graphical User Interface (GUI)

Janice

A desktop app for viewing large JSON files...

What is the largest JSON file that I can load?

The largest JSON file you can load on your computer depends mainly on how much RAM you have and on the particular JSON file. The main driver for memory consumption is the number of elements in a JSON document.

For comparison we did a load test on one of our developer notebooks. It has 8 GB RAM and runs Ubuntu 22.04 LTS. We were able to load a JSON files successfully with up to 45 million elements. The size of our test file was about 2.5 GB.

Source

Text User Interface (TUI)

FX

Fx is a CLI for JSON: it shows JSON interactively in your terminal, and lets you transform JSON with JavaScript. Fx is written in Go and uses goja as its embedded JavaScript engine.

Source


🌐
Jless
jless.io
jless - A Command-Line JSON Viewer
jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
🌐
GitHub
github.com › antonmedv › fx
GitHub - antonmedv/fx: Terminal JSON viewer & processor · GitHub
Terminal JSON viewer & processor. Contribute to antonmedv/fx development by creating an account on GitHub.
Author   antonmedv
🌐
GitHub
github.com › PaulJuliusMartinez › jless
GitHub - PaulJuliusMartinez/jless: jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data. · GitHub
jless is a command-line JSON viewer. Use it as a replacement for whatever combination of less, jq, cat and your editor you currently use for viewing JSON files.
Author   PaulJuliusMartinez
🌐
Linux Hint
linuxhint.com › json_beautifier_ubuntu
JSON Beautifier on Ubuntu – Linux Hint
Pretty-JSON for Atom editor comes with features for prettify, minify, sort and prettify (which sorts your JSON object by the name of each value) and few other useful features. Given how many keyboard shortcuts and commands are already available in Atom, the author has decided that by default ...
🌐
Dadroit
dadroit.com
Dadroit JSON Viewer
Dadroit JSON Viewer is designed to efficiently handle big JSON. View and convert large JSON on Windows, macOS, and Linux. Simplify JSON tasks today!
🌐
Fx
fx.wtf
fx – a terminal JSON viewer & processor
A terminal viewer & processor for JSON, YAML, & TOML (TUI and CLI)
Find elsewhere
🌐
Ask Ubuntu
askubuntu.com › questions › 1330987 › graphical-folding-editor-for-json
software recommendation - Graphical folding editor for JSON? - Ask Ubuntu
The Ubuntu repositories come with the package xmlcopyeditor, which installs XML Copy Editor; a nice, graphical folding editor for the somewhat outdated XML data file format. I am looking for a similar graphical folding editor, but then for the increasingly popular JSON data file format.
🌐
Hacker News
news.ycombinator.com › item
What's a good open source JSON viewer GUI (or TUI) with Linux support (with coll... | Hacker News
September 2, 2020 - I had these exact same concerns last time I was trying to look for one. I found some online JSON tools and could use them for simple things. But I hated putting the JSON I was working on into some 3rd party website, even if it didn't contain anything sensitiveness · I try to use jq whenever ...
🌐
Snapcraft
snapcraft.io › json-tool
Install json-tool on Linux | Snap Store
3 weeks ago - Install latest/stable of json-tool · Ubuntu 16.04 or later? View in Desktop store · Make sure snap support is enabled in your Desktop store. Install using the command line · sudo snap install json-tool · Don't have snapd? Get set up for snaps. CC0-1.0 · 15 February 2026 - latest/stable ·
🌐
Ubuntu
manpages.ubuntu.com › manpages › noble › man1 › data-viewer.1p.html
Ubuntu Manpage: data_viewer - Open a data viewer widget for you JSON or YAML data
This command opens a Tk::ObjScanner widget for the data stored in YAML or JSON file. This command can be applied on a file passed as argument or data can be piped to "data_viewer".
🌐
Intrepiduniverse
intrepiduniverse.com › projects › jsonEditor.html
Free JSON Editor for Windows, MacOS and Linux
JSONEdit is cross platform and works in the following environments where Python 2 or 3 is installed: ... Linux e.g. Ubuntu, Raspbian (for raspberrypi), CentOS
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › beginner questions
Offline application for opening JSON files? - Linux Mint Forums
My question applies for all JSON files. The JSON files merely contain user data from my old social media account. I just need to view, not edit. So I figured that the JSON files appears as raw data when I open it with Brave browser. But when I open it with Mullvad browser, it presents the data with a bunch of drop-down menus.
🌐
GitHub
github.com › mjurczyk › json-viewer
GitHub - mjurczyk/json-viewer: Pretty JSON viewer for the terminal
Pretty JSON viewer for the terminal. Contribute to mjurczyk/json-viewer development by creating an account on GitHub.
Starred by 26 users
Forked by 3 users
Languages   JavaScript
🌐
Lindevs
lindevs.com › install-fx-json-viewer-and-processor-on-ubuntu
Install Fx JSON Viewer and Processor on Ubuntu 24.04 | Lindevs
February 8, 2025 - Fx is a command line tool for processing, viewing, and formatting JSON. It provides an interactive way to explore JSON data, apply transformations, and filter content using JavaScript expressions.
🌐
GitHub
github.com › ashwin › json-viewer
GitHub - ashwin/json-viewer: Display JSON file as tree in GUI
Python3 script to view a JSON file as a tree in GUI.
Starred by 61 users
Forked by 21 users
Languages   Python