MUPDF(1)
π MUPDF(1) β the girlies' guide to the MuPDF viewer π
okay bestie, sit down, hydrate, and let me tell you about mupdf. This is section 1 of the General Commands Manual, so it's a command you run, not a function you call. No cap. π«Ά
β¨ NAME β¨
mupdf β MuPDF is a lightweight PDF viewer written in portable C. That's it, that's the whole vibe: light, portable, C, iconic. π
πΈ SYNOPSIS πΈ
mupdf [options] file [page-number]
π¦ DESCRIPTION π¦
MuPDF is a document viewer, and she's not picky β she eats PDF, XPS, EPUB, XHTML, CBZ, and a whole bunch of image formats like PNG, JPEG, GIF, and TIFF. Literally a main character who gets along with everyone. π
π OPTIONS π
Here's every single flag she supports, no skipping, we don't do that here:
-bbox-name β use the page box you name. Your choices are MediaBox, CropBox, BleedBox, TrimBox, or ArtBox.-cprofile-filename β set the display ICC profile to the one living in that named file.-ppassword β use this password to open an encrypted PDF file. She tries it as both the user password and the owner password, because she's thorough like that. π-rresolution β changes the initial zoom level, given as a resolution in dpi. Default is72.-Abits β changes the anti-aliasing quality, given as a number of bits from0(off) to8(best). Default is8.-BRRGGBB β sets the full-page black tint using hexadecimal color syntax. Default is303030.-CRRGGBB β sets the full-page white tint using hexadecimal color syntax. Default isFFFFF0.-Hheight β page height in points, for EPUB layout.-Iβ invert colors.-Jβ disable JavaScripts in PDF forms.-Rextraction-options β enable reflow and set the text extraction options.-Ssize β font size in points, for EPUB layout.-UCSS-file β user style sheet, for EPUB layout.-Wwidth β page width in points, for EPUB layout.-Xβ disable document styles, for EPUB layout.-Yfactor β set the UI scaling factor.
π±οΈ MOUSE BEHAVIOR π±οΈ
the mouse is giving so much, honestly:
- Left mouse button click β a left click on a hyper link follows the link. In presentation mode it advances to the next page.
- Right mouse button click β in presentation mode, goes back to the previous page.
- Left mouse button drag β pan the page. Panning beyond the bottom or top edge will go to the next or previous page.
- Right mouse button drag β select text in an area. On X11, the selected text can be pasted in another application with a middle click. Press
Ctrl+Cto copy the selected text to the clipboard. On Windows, the selected text will automatically be copied to the clipboard. - Scroll wheel β pan page up or down. Does not change page when reaching the bottom or top edge.
- Shift + Scroll wheel β pan page left or right.
- Control + Scroll wheel β zoom in or out.
β¨οΈ KEY BINDINGS β¨οΈ
π Page navigation
.,pgdn,spaceβ go to the next page.,,pgup,bβ go to the previous page.123gβ go to page 123.g,Gβ go to the first or last page.mβ mark current page for snap back. Up to256pages can be marked.tβ go backward one step in mark history.Tβ go forward one step in mark history.[0β9]mβ save the current page number in the numbered register.[0β9]tβ go to the page saved in the numbered register.
π Zooming and rotating
+,-β zoom in or out.W,Hβ zoom page to exactly fit width/height of window.Zβ zoom page to fit either to width or height of window.zβ reset zoom level.[,]β rotate page left (counter-clockwise) or right (clockwise).wβ shrinkwrap window to fit the page.fβ toggles fullscreen mode.
π«§ Panning
h,left,j,k,l,rightβ pan page left, down, up, or right.
π Searching
/,?β search for text forwards or backwards.n,Nβ find the next/previous search result.
π Miscellaneous
F1β show key bindings help.Escapeβ stop searching and/or remove focus from annotation/widget.<,>β increase/decrease EPUB/XHTML font size.rβ reload file.pβ toggle presentation mode. (mupdf-x11only)cβ toggle between color and grayscale rendering. (mupdf-x11only)Cβ toggle full-page color tinting.Iβ toggle between normal and inverted color rendering.Eβ toggle ICC color mode.eβ toggle spot color mode.Aβ set bit of anti-aliasing to use. The default is8.0means no anti-aliasing,9means no anti-aliasing, centre-of-pixel rule,10means no anti-aliasing, any-part-of-a-pixel rule.Pβ show page number and total number of pages.iβ show dialog box with information about the opened document.Bβ change used page box. (MediaBox, CropBox, BleedBox, TrimBox, or ArtBox) The active page box is mentioned in the information dialog box.oβ show/hide document outline panel.aβ show/hide annotation panel.Rβ show/hide redaction panel.uβ show/hide undo/redo panel.Yβ show/hide layers list.oβ start/stop highlighting links.Fβ start/stop highlighting form widgets.`,F12β show JS console.Sβ save updated document file.qβ quit.
ngl bestie, o shows up twice in that list and I am simply reporting the lore exactly as the ancestors wrote it. π Not my job to fix it, my job is to keep every single detail, and every single detail is what you got.
π¨ SIGNALS π¨
SIGHUPβ sending aSIGHUPsignal to themupdfprocess will also cause the viewed file to be reloaded automatically, for use in e.g. build scripts.
π SEE ALSO π
π AUTHOR π
MuPDF is Copyright 2006β2026 Artifex Software, Inc.
and that's the whole page, bestie β you ate it, you read it, you understood it. β¨ this little masterpiece landed in the world on June 3, 2026, out of the General Commands Manual, section 1, filed under MUPDF(1) β go forth and view some documents. πππ¦
π¦ where this page comes from
- arch rolling: mupdf 1.28.5-2 Β· AGPL-3.0-or-later
- arch rolling: mupdf-gl 1.28.5-2 Β· AGPL-3.0-or-later
- fedora 44: mupdf 1.28.2-1.fc44
- fedora 44: mupdf 1.28.2-3.fc44 Β· AGPL-3.0-or-later
- nixpkgs unstable: mupdf 1.28.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms