- Category
- Productivity
- Publisher
- bgreenwell
- Repository
- Open repository
- Release
- Open release
- Current version
- v0.1.4
- Release date
- 2026-05-26
- Package size
- Windows 4.2 MB
doxx
.docx files in your terminal — no Microsoft Word required
README
doxx 
.docxfiles in your terminal — no Microsoft Word required
A fast, terminal-native document viewer for Word files. View, search, and export .docx documents without leaving your command line.
Screenshots
Terminal image display |
Color support |
Smart tables with alignment |
Lists and formatting |
Inline and display equations |
Demo
Mixed formatting with colors, bold, italic, underline, strikethrough and interactive navigation
Features
- Beautiful terminal rendering with formatting, tables, and lists
- Equation support — LaTeX rendering for inline and display equations
- Fast search with highlighting
- Smart tables with proper alignment and Unicode borders
- Copy to clipboard — grab content directly from the terminal
- Export formats — Markdown, CSV, JSON, plain text, ANSI-colored output
- Terminal images for Kitty, iTerm2, WezTerm
- Color support — see Word document colors in your terminal
Installation
Package managers
Homebrew (macOS/Linux)
brew install bgreenwell/tap/doxx
Cargo (cross-platform)
cargo install doxx
Debian/Ubuntu
doxx is officially packaged for Debian as
rust-doxx and is available in testing
(forky).
sudo apt install doxx
Arch Linux
pacman -S doxx
The AUR package is also available for the development version:
yay -S doxx-git
Thanks to @mhegreberg for creating and maintaining the AUR package!
Nix (cross-platform)
nix profile install github:bgreenwell/doxx
Thanks to @bobberb for creating the Nix flake!
NetBSD
pkgin install doxx
Conda-Forge (cross-platform)
conda install doxx
or globally using Pixi:
pixi global install doxx
Scoop (Windows)
# Coming soon
scoop bucket add doxx https://github.com/bgreenwell/doxx-scoop
scoop install doxx
Pre-built binaries
Download from GitHub releases:
# Linux (x86_64, statically linked)
curl -L https://github.com/bgreenwell/doxx/releases/latest/download/doxx-x86_64-unknown-linux-musl.tar.xz | tar xJ
sudo mv doxx /usr/local/bin/
# macOS (Intel)
curl -L https://github.com/bgreenwell/doxx/releases/latest/download/doxx-x86_64-apple-darwin.tar.xz | tar xJ
sudo mv doxx /usr/local/bin/
# macOS (Apple Silicon)
curl -L https://github.com/bgreenwell/doxx/releases/latest/download/doxx-aarch64-apple-darwin.tar.xz | tar xJ
sudo mv doxx /usr/local/bin/
# Verify installation
doxx --version
Available platforms:
- Linux:
x86_64-unknown-linux-musl(statically linked) - macOS:
x86_64-apple-darwin(Intel) andaarch64-apple-darwin(Apple Silicon) - Windows:
x86_64-pc-windows-msvc
Build from source
git clone https://github.com/bgreenwell/doxx.git
cd doxx
cargo install --path .
# Or for development
cargo build --release
Requirements:
- Rust 1.70+
- System dependencies:
libxcb(Linux only)
Usage
# View a document
doxx report.docx
# Search for content
doxx contract.docx --search "payment"
# Start with outline view
doxx document.docx --outline
# Export to different formats
doxx data.docx --export csv > data.csv
doxx report.docx --export markdown > report.md
# View with images (supported terminals)
doxx presentation.docx --images --export text
# Enable color rendering
doxx slides.docx --color
Command Line Options
Basic options
doxx [OPTIONS] <FILE>
| Option | Description |
|---|---|
<FILE> |
Input document file (.docx) |
-h, --help |
Show help information |
-V, --version |
Show version information |
Viewing options
| Option | Description |
|---|---|
-o, --outline |
Start with outline view for quick navigation |
-p, --page <PAGE> |
Jump to specific page number on startup |
-s, --search <TERM> |
Search and highlight term immediately |
-r, --restore-position |
Restore the last saved scroll position for this document |
--force-ui |
Force interactive UI mode (bypass TTY detection) |
--color |
Enable color support for text rendering |
Export options
| Option | Values | Description |
|---|---|---|
--export <FORMAT> |
markdown, text, csv, json, ansi |
Export document instead of viewing |
Export examples:
doxx report.docx --export markdown # Convert to Markdown
doxx data.docx --export csv # Extract tables as CSV (tables only!)
doxx document.docx --export text # Plain text output
doxx structure.docx --export json # Document metadata as JSON
doxx document.docx --export ansi # ANSI-colored terminal output
CSV export note: The CSV export extracts only tables from the document, ignoring all text content. Perfect for pulling structured data from business reports, research papers, or surveys for analysis in Excel, Python, or databases.
ANSI export options
| Option | Values | Description |
|---|---|---|
-w, --terminal-width <COLS> |
Number | Set terminal width for formatting (default: $COLUMNS or 80) |
--color-depth <DEPTH> |
auto, 1, 4, 8, 24 |
Control color rendering depth |
ANSI export examples:
doxx document.docx --export ansi # Full color ANSI output
doxx document.docx --export ansi --color-depth 1 # Monochrome (no colors)
doxx document.docx --export ansi --color-depth 4 # 16 colors
doxx document.docx --export ansi --terminal-width 80 # Set terminal width
doxx report.docx --export ansi | less -R # Pipe to less with color support
Color depth options:
auto- Auto-detect terminal capabilities1- Monochrome (no colors, formatting only)4- 16 colors (standard ANSI colors)8- 256 colors (extended ANSI palette)24- True color (16.7 million colors)
Image options
| Option | Description |
|---|---|
--images |
Display images inline in terminal (auto-detect capabilities) |
--no-images |
Force text-only mode, even if the terminal supports inline images |
--extract-images <DIR> |
Extract images to specified directory |
--image-width <COLS> |
Maximum image width in terminal columns (default: auto-detect) |
--image-height <ROWS> |
Maximum image height in terminal rows (default: auto-detect) |
--image-scale <SCALE> |
Image scaling factor (0.1 to 2.0, default: 1.0) |
--debug-terminal |
Print detected terminal image capabilities and exit |
Image examples:
doxx presentation.docx --images # Show images inline
doxx document.docx --images --image-width 80 # Limit image width
doxx slides.docx --extract-images ./images/ # Save images to folder
doxx --debug-terminal # Check what your terminal supports
Image display notes:
--imagesrenders inline in both the TUI and--export textoutput- Supports iTerm2, Kitty, WezTerm, Sixel-capable terminals, and a half-block fallback elsewhere
Configuration
doxx reads an optional config file to set a default keymap preset and override individual key bindings. Nothing here is required — doxx works out of the box with the default preset — but it's how you switch to vim/less-style navigation or remap keys to your own layout.
Config file location
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/doxx/config.toml |
| Linux | ~/.config/doxx/config.toml (or $XDG_CONFIG_HOME/doxx/config.toml) |
| Windows | %APPDATA%\doxx\config.toml |
Create it with:
doxx config init
This writes a default config (preset = "default", no overrides) and prints the exact path it used.
Managing the preset
doxx config set keymap.preset vim # switch to vim-style bindings
doxx config get keymap.preset # see the active preset
Three presets are built in:
| Preset | Style |
|---|---|
default |
Arrow keys + j/k, single-letter shortcuts (this is what the Navigation table below documents) |
vim |
Adds u/d/ctrl-u/ctrl-d half-page scroll, g/G/H/L for start/end, / to search, N for previous match |
less |
Adds the same half-page scroll and g/G, plus b for page up and Space for page down, / to search, N for previous match |
doxx config set/get currently only manage keymap.preset — custom key bindings (below) are set by hand-editing the TOML file.
Custom key bindings
Add a [keymap.custom] table to override or add individual bindings on top of whichever preset is active:
[keymap]
preset = "vim"
[keymap.custom]
n = "scroll_up"
m = "scroll_down"
Each entry maps a key string to an action name. A custom binding always wins over whatever the active preset assigned to that key.
Key strings:
- A single character:
"n","/","q" - A modifier combo:
"ctrl-d","shift-h" - A named key:
"enter","esc","backspace","tab","up","down","left","right","pageup"/"pgup","pagedown"/"pgdn","home","end","f1","f2","space"
Action names:
| Action | Effect | |--
More details from the publisher
Release notes
0.1.4 - 2026-05-26