Scroll to navigation

DOXX(1) General Commands Manual DOXX(1)

NAME

doxxterminal document viewer for .docx files

SYNOPSIS

doxx [-o | --outline] [-p | --page page] [-s | --search term] [--export format] [--images] [--extract-images directory] [options] file

doxx --debug-terminal

DESCRIPTION

doxx is a terminal-based document viewer for Microsoft Word .docx files. It provides an interactive interface for viewing, searching, and navigating Word documents directly in the terminal, with support for outline view, image display, and multiple export formats.

The viewer supports terminal image protocols (including Kitty, iTerm2, and Sixel) for inline image display, and provides various export options for converting documents to plain text, Markdown, CSV, or JSON formats.

When invoked with a file argument, doxx opens the document in interactive mode if a TTY is detected. In non-interactive environments, doxx automatically provides formatted text output with document metadata, showing the first 20 elements of the document. Use --force-ui to override TTY detection and force interactive mode.

OPTIONS

The following options are available when viewing documents:

Viewing Options

, --outline
Start with outline view. Display document structure and headings instead of full content.
, --page page
Jump to specific page number on startup.
, --search term
Search and highlight the specified term in the document.
Force interactive UI mode, bypassing TTY detection.
Enable color support for text rendering.

Image Options

Display images inline in terminal. Automatically detects terminal capabilities and uses appropriate protocol.
Force text-only mode for images. No inline image display.
directory
Extract all images from the document to the specified directory.
cols
Maximum image width in terminal columns. Default: auto-detect from terminal size.
rows
Maximum image height in terminal rows. Default: auto-detect from terminal size.
scale
Image scaling factor. Value must be between 0.1 and 2.0. Default: 1.0.
Test and display terminal image capabilities.

Export Options

format
Export document to specified format and print to stdout. Possible values:
Convert document to Markdown format
Convert to plain text
Export as comma-separated values
Export document structure as JSON

General Options

, --help
Print help information.
, --version
Print version information.

EXIT STATUS

The doxx utility exits 0 on success, and >0 if an error occurs.

EXAMPLES

View a document in interactive mode:

$ doxx document.docx

Start viewing from page 5:

$ doxx --page 5 document.docx

Open document with outline view:

$ doxx --outline document.docx

Search for a term and highlight it:

$ doxx --search "important" document.docx

Export document to Markdown:

$ doxx --export markdown document.docx > output.md

Export to plain text:

$ doxx --export text document.docx > output.txt

View document with inline images:

$ doxx --images document.docx

Extract all images to a directory:

$ doxx --extract-images ./images document.docx

View with custom image scaling:

$ doxx --images --image-scale 0.8 document.docx

Test terminal image capabilities:

$ doxx --debug-terminal

NOTES

Interactive Controls

When running in interactive mode, the following keyboard controls are available:

Quit application
Switch to outline view
Enter search mode
, F1
Toggle help overlay
Copy document content to clipboard (as plain text)
, Up
Scroll up one line
, Down
Scroll down one line
Scroll up one page (10 lines)
Scroll down one page (10 lines)
Jump to beginning of document
Jump to end of document
Next search result (when search results exist)
Previous search result (when search results exist)
Scroll up/down (3 lines per scroll)

, Esc
Return to document view
, Up
Move selection up
, Down
Move selection down
Jump to selected heading and return to document view
Copy document outline to clipboard (with indentation)
Scroll through outline items
, Esc
Return to document view
characters
Type to build search query
Delete last character from query
, Down
Next search result
Previous search result
Copy search results to clipboard (formatted list)
Navigate through search results

SEE ALSO

pandoc(1), less(1)

October 14, 2025 Debian