VisiData
Active and stableRuns locally ✓No paid APIExplore, clean, join, and export CSV, JSON, Excel, and SQLite data in the terminal, then replay the workflow with a command log.
pipx install visidataIdeal use for this tool
Best for a developer, analyst, or operator who needs to understand and clean a tabular export before writing a permanent script. Interactive sheets and a replayable command log turn exploration into a documented workflow. It is not a shared BI dashboard or a production pipeline with schema tests and central permissions.
Details and illustrated features
When a large CSV, messy JSON export, or SQLite database arrives and you only need to understand it, the task can quickly become a throwaway Python script or a chain of commands you will not remember. VisiData opens those sources as an interactive table in the terminal. You can sort, filter, group, edit columns, join sheets, and save your steps as a command log to replay on another file. Its practical value is combining fast exploration with repeatable cleanup, without requiring you to upload local data to a Web service.

Original explanatory workflow; displayed values are illustrative.
🧭 What is VisiData and how does it work?
VisiData is an open-source “terminal spreadsheet.” Run vd with a file, URL, or database and it turns the source into a browsable Sheet. Rows represent records and columns represent fields. You can navigate by keyboard, assign column types, search, sort, select rows, create a Frequency Table or Describe Sheet, and save the visible result in another format.
Core support includes TSV, CSV, JSON, JSONL, and SQLite. Excel, HDF5, Parquet, and various databases use additional libraries or loaders. A multi-table source can first open as a directory of sheets rather than one large table. Version 3.5 added a native DuckDB loader and rebuilt PostgreSQL support around lazy loading and streamed rows.
It is not literally Excel inside a terminal, and it is not a database or BI platform. The interface uses case-sensitive keyboard commands and fits people comfortable with keyboard-driven work. A shared graphical dashboard, central permissions, or a long reviewed SQL model may need another tool.
🎯 How does it help you?
Suppose you receive an 80,000-row orders export with inconsistent city names, extra columns, and duplicates. Manually, you may open a desktop spreadsheet or write code before you understand the problem. In VisiData, open the file, create a Frequency Table for the city column, inspect variants, select affected rows, normalize a value, and save the command log. The same steps can then be replayed on next week's export in batch mode.
The added value is moving from “I do not know what is in this file” to a reviewable, repeatable process. Interactive sheets help you discover the required transformations; the command log records them instead of leaving the workflow in your memory. Very complex transformations and strict tests may still be clearer in SQL or Python after exploration.
🌟 Key features and capabilities
1. Open files and databases in one interface
Start with vd data.csv, or pipe input with command | vd. CSV, TSV, JSON, JSONL, and SQLite work directly; Excel needs openpyxl, and other formats have their own dependencies. The source becomes a Sheet. Multi-table sources usually provide a directory from which you open the table you need.

This is an explanatory source-to-sheet diagram, not a product screenshot.
- Where:
vd <input>, the in-app open command, and the Sheets Sheet. - How: begin with one source and confirm column types before sorting or calculating.
- Value: inspect many formats without converting everything to CSV first.
- Watch for: a documented format may still need an optional Python package. A dependency installed in another Python environment is not automatically visible to a pipx or uv tool environment.
2. Sort, filter, group, and describe data
VisiData can search a column or sheet, sort values, select matching rows, build a Frequency Table, and open a Describe Sheet with summaries per column. These views expose blanks, duplicates, ranges, and repeated categories before you commit to a permanent transformation.

Rows and numbers are illustrative; VisiData was not run on a real dataset here.
The current guide documents Shift+F for a Frequency Table and Shift+I for Describe. Bindings are case-sensitive and can change, so use the help included with your installed release. Summary statistics are only as reliable as column types and the data you loaded.
3. Clean values and derive columns with undo
You can edit a cell, select multiple rows and apply one value, run a regular-expression substitution, or use a Python expression to derive values. Current documentation includes undo and redo when the undo option is enabled. This makes it practical to test a change and inspect its effect before exporting.

The diagram describes a logical sequence; it does not imply the original file was written immediately.
Edits on a derived sheet can propagate to its source sheet inside the session. For example, the docs say editing a key in a Frequency Table updates matching values in the source sheet. That is not the same as writing the disk file. Saving is a separate operation, and sources such as SQLite have commands that can write changes back. Check the destination and overwrite policy, and keep a backup before modifying an important source.
4. Join and reshape sheets
Open several sheets and combine them through joins, row operations, and derived views. This helps when orders and customers arrive in separate files, or when monthly exports need to be combined before analysis.

Original diagram of a join decision, not a row-count benchmark.
Check join keys and types first. In 3.5, concat matches columns by position and keeps the first sheet's names, while append matches by name. The wrong choice can place values under unintended columns without an obvious visual error. Test a sample and check row counts, blanks, and key uniqueness after combining.
5. Save a command log and replay it in batch
VisiData records session commands in a Command Log. Save it as .vdj JSONL and replay it with vd -p. To run it without the interface against a new file, use batch mode and specify an output:
vd -b -p cleanup.vdj weekly.csv -o cleaned.tsv

The example is illustrative and was not executed in this environment.
A command log can contain file, sheet, column, row, and command-input references. The Save and Restore guide explains how to remove open-file and hard-coded sheet references when reusing a log on another input. A workflow that jumps between many sheets needs more careful review than a linear one. Inspect the log before committing it to Git so it does not preserve private paths or sensitive values.
6. Extend behavior with plugins and Python configuration
VisiData can load bundled plugins, packages installed through pip entry points, and local Python modules. Its config.py or .visidatarc is executable Python. This is flexible for loaders, commands, and bindings, but an untrusted plugin or config file is active code, not passive settings.
Use --nothing to start without configuration or plugins when debugging or inspecting an unfamiliar source. Disable automatic pip plugin loading with --plugins-autoload=False. Anything explicitly imported by your config remains code you chose to execute.
🪜 Example: clean a weekly export
Illustrative; not run on a real file: orders.csv contains order_id, city, amount, and status.
- Run
vd orders.csvand open the 3.5 help to confirm current bindings. - Assign a numeric type to
amountbefore sorting or calculating; numeric strings can otherwise sort lexically. - Open a Frequency Table for
cityand identify values that your business rules consider equivalent. - Select affected rows, normalize the value, and return to the source sheet to inspect a sample.
- Open Describe for
amount; inspect ranges and nulls rather than relying on one average. - Save to a new file on the first pass instead of overwriting the source.
- Save the Command Log and inspect its paths and inputs.
- Replay it on a small copy of a new export, then compare row counts and output columns before scheduling it.
⚖️ What changes compared with manual work?
| Task | Manual or separate tools | With VisiData |
|---|---|---|
| Discover structure | Open each format elsewhere or write a parser | Multiple sources become Sheets |
| Find anomalies | Separate commands or an initial script | Search, sort, Frequency, and Describe in one session |
| Bulk cleanup | Copy-paste or untested code | Select, edit, and undo before saving |
| Combine files | Spreadsheet functions, SQL, or scripts | Derived sheets and join/append/concat operations |
| Repeat the work | Repeat clicks or rewrite code | Save and replay a Command Log |
This compares workflow behavior. It is not a measured performance claim or a replacement for transformation tests.
⚙️ Important configuration
The VisiData directory stores plugins, dependencies, macros, some tokens, HTTP cache, and REPL history. Its default path differs across Linux, macOS, and Windows and can be changed with VD_DIR or --visidata-dir. Separate data and cache directories also exist, so changing VD_DIR does not relocate every local artifact.
The privacy policy says VisiData fetches a small startup-message file once per day. The server may log an IP address and Python or VisiData version. Add options.motd_url='' to configuration to disable that request. Opening a URL, S3 source, or remote database sends network traffic to the destination you selected. Local-first does not mean every optional feature is offline.
🚀 Installation and first run
The current verified release is 3.5, published on PyPI on 28 October 2026. It requires Python 3.8 or later and supports Linux, macOS, and Windows through WSL. Try it in an isolated temporary environment:
pipx run visidata
For a persistent installation:
pipx install visidata
vd data.csv
The project also documents uvx visidata and uv tool install visidata. Excel needs openpyxl; HTML or XML work may need lxml. Add dependencies to the same environment that runs vd. VisiData and the example were not executed for this entry.
🔗 Integrations and compatibility
Version 3.5 includes a native DuckDB loader and a rebuilt read-only PostgreSQL loader, along with SQLite and file formats. Official and community plugins exist, but having a loader does not prove write support or compatibility with every database release. The 3.5 notes describe PostgreSQL tables as read-only, while the DuckDB loader includes a saver.
Version 3.5 also added optional LLM commands that send selected rows to Anthropic. They are not required for core VisiData use. Enabling them can transmit table content to an external provider and may require a paid API, so review policy and cost before using them with sensitive data. This optional feature does not make VisiData an MCP platform or an autonomous agent.
💰 Cost and local operation
VisiData is free and open source under GPL-3.0-only. Local file inspection does not require an account or paid API. A remote database, cloud store, or optional LLM integration can have separate costs.
On 8 November 2026, GitHub displayed approximately 9.3k stars and 369 forks, and the TUI topic showed repository activity on 2 November. These changing popularity numbers are not user ratings or a security certification.
⚠️ Limitations and when not to use it
- The case-sensitive keyboard interface has a learning curve.
- Some loaders bring data into memory, so a very large file or full table can exceed machine resources.
- Non-core formats depend on additional Python packages.
- A command log replays commands; it does not automatically adapt to renamed columns or schema changes.
- Concurrent collaboration, central permissions, and shared dashboards are outside its main purpose.
- For a production transformation with schema tests and quality gates, move a stable workflow into SQL, Python, or a pipeline tool.
🔐 Security and permissions
Version 3.5 matters when you open untrusted files. It disables pandas .pickle loading unless pandas_allow_pickle is explicitly enabled, fixes Zip Slip in unzip_http, and prevents path traversal through EML attachment filenames. Unpickling an untrusted file can execute code, so do not enable the option merely to bypass an error.

This is a cautious starting point, not an audit of a specific installation.
Run the current release, begin with --nothing for unfamiliar inputs, and disable plugin autoload when unnecessary. Review config.py, .visidatarc, and plugins as code. Work from a copy or read-only source. Shell commands, Python expressions, and remote database connections run with the permissions of the user who started vd; VisiData is not a sandbox.
📚 Sources and verification date
Original repository · Version 3.5 and security fixes · PyPI package · Quick reference · Supported formats · Save and replay · Editing · Plugins and local storage · Privacy policy. Sources checked 8 November 2026. The tool and example were not run; diagrams and outputs are explanatory and based on documentation.