Description
mcat is a terminal viewer for images, video, Markdown, PDF and Office documents. You run it on a file or pipe bytes in through stdin, and it shows the content inline in the terminal. The type of each input is inferred automatically, and mcat carries it through a pipeline until it reaches the output you asked for. For example, a DOCX or PDF can be converted into a single Markdown file, then into HTML, then into an image, and finally printed as an inline terminal image. You can also start in the middle of the pipeline, such as converting an HTML file straight into a PNG. The output modes are Markdown, HTML, a PNG image, an interactive viewer that lets you zoom and pan the image in the terminal, and inline display. For files that are neither images nor video, the default is a Markdown viewer with ANSI formatting. The README includes a table of which file types support which features, and it lists optional dependencies. You can install mcat from source, from prebuilt releases, with Homebrew on macOS and Linux, from the AUR on Arch, with Nix, or with Scoop on Windows.…
Highlights
- Inline images, video, PDF and Markdown in the terminal
- Office documents such as DOCX
- Interactive viewer with zoom and pan
- Automatic conversion pipeline
- Piped input from stdin
Ratings & Reviews
No ratings yet
Be the first to rate Mcat.
People also visit
MDViewer — Markdown Reader and Editor with PDF export
MDViewer is a lightweight, beautifully designed Markdown viewer built
Mcat FAQ
What is mcat?
A terminal viewer for images, video, Markdown, PDF and Office documents.
How does it show a PDF?
It converts the file to Markdown, then HTML, then an image, and prints that image inline in the terminal.
How do I install it?
Use Homebrew on macOS or Linux, the AUR on Arch, Nix, or Scoop on Windows. Prebuilt binaries are on the latest release page.
Can I pipe content into it?
Yes. Input can come from stdin as well as from a local file or a URL.
What are the best Mcat alternatives?
Popular alternatives to Mcat include Viu, Fancy Cat and Marked. See all Mcat alternatives




