Viewers
One key shows any file as what it is, and one more goes on to the next. Anything it has no view for, it reads as text or bytes.
Pictures, film and sound
Decoded by macOS itself, with the tools to look closely.
Data and documents
Structure you can move around in, and pages as they read.
Text, logs and bytes
Open at once at any size, and narrowed to what you came for.
Look without opening
⌃Q turns the other pane into a viewer that follows the cursor: flip down a folder and each file is shown as you reach it, in the view made for its kind. Nothing plays by itself, and nothing in a web page runs because the cursor passed.
Everything it shows
Every kind of file with a view of its own. Anything else opens as text, or as bytes.
Pictures
- JPEG, PNG, GIF, HEIC and HEIF, WebP, AVIF, TIFF, TGA, BMP, ICO and PSD, and JPEG XL on macOS 14 and later
- SVG, drawn as vectors
- Twenty-one camera RAW formats: CR2, CR3, CRW, NEF, NRW, ARW, SR2, SRF, DNG, ORF, RAF, RW2, RAW, PEF, SRW, ERF, MRW, 3FR, FFF, IIQ and DCR
- Animations play
- Zoom from 1% to 6400%, F2, F3, F5
- Size, color profile, camera and lens under the picture; everything the file records in ⇧F9
Film and sound
- Film: MP4, MOV, M4V, AVI, MPEG, 3GP, MTS and M2TS
- Sound: MP3, M4A and M4B, AAC, WAV, AIFF, FLAC, CAF and AU
- F2, and the arrows to skip back and forward
- A waveform with its peaks, and the whole file above it to scrub through
- F5 for bars or a spectrogram; F6 to the next pause
- Tags, cover, codec, sample rate and bit rate
Documents
- PDF, a page at a time with F5
- Markdown, laid out on the screen or F2 as a page, its front matter ruled off at the top
- Web pages, drawn by macOS and kept off the network until you allow it
- Jupyter notebooks, their cells and what they printed
- Fonts — TrueType, OpenType and collections — as a specimen at six sizes
Data
- JSON, YAML, XML and property lists as trees: search, JSONPath, F2, ⇧F5
- XML includes project files, storyboards, GPX and two dozen more
- CSV, TSV and JSON Lines as tables, and a JSON or YAML list of records with Show as a table
- In a table: ⌘C to a spreadsheet, Statistics of this column, F8, ⌘G
- Diffs and patches, change by change and file by file
- Any two files compared with ⌥F3, white space counted or not
Programs and certificates
- Programs and libraries: architectures, linked libraries, signature and entitlements
- Certificates in PEM, CRT, CER, DER and P7B: whom for, who issued them, how long they have left
Text and code
- Colored in 49 languages
- Detected, UTF-8, UTF-16 or Latin-1, with ⌘E
- F7 with regular expressions, across line ends, or bytes in hex
- F6 with regular expressions, context lines, or the lines that don't match; ⌘S keeps the result
- Follow the end keeps a growing log's last lines on screen, filtered or not
- ⌘G by line, percentage or byte offset
- F2, F5, ⇧F9
- Only what's on the screen is read, however big the file
Everything else
- Shown as text, or as bytes with F4
- ⌥→ and ⌥← go through the folder
- ⌃Q: the file under the cursor in the other pane, following as you move
- ⌘Y: macOS's own preview, which stays up while you move and mark
- It never changes a file and never runs one
ncmd viewopens a file here from any terminal
Press it on anything.
Version 1.2.0 · universal · macOS 13 or later · about 70 MB
The viewer manualEvery file typeSee inside anythingncmd view