Use Quick Look for a temporary preview, or keep the Preview module open while browsing several files.
Quick Look
- Select a file.
- Press Space, choose File → Quick Look, or use the toolbar’s Quick Look button.
- Press Space or Escape to close the preview.
Quick Look uses macOS preview support. The available display and playback controls depend on the file type.
Keep Preview beside your files
Choose Preview from the module selector and place it in a shelf around the browser.
Select a file to see its contents. The preview updates as you select another item, so you can review files without opening each one separately.
Which files can I preview?
You can preview documents, images, code and media directly in the Preview module. For example, you can read a PDF, inspect a photo or check a text file while browsing.
Documents and text
- PDF:
.pdf - Plain text, logs and configuration files:
.txt,.log,.ini,.conf,.env,.toml - Rich text:
.rtf,.rtfd - Markdown:
.md - Microsoft Office: Word (
.doc,.docx), Excel (.xls,.xlsx) and PowerPoint (.ppt,.pptx) - Apple iWork: Pages (
.pages), Numbers (.numbers) and Keynote (.key) - CSV spreadsheets:
.csv
Images
- Common images:
.jpg,.jpeg,.png,.gif,.tif,.tiff,.bmp - Other image formats:
.heic,.heif,.webp,.psd,.ico,.icns,.tga - SVG graphics:
.svg - Camera RAW files, depending on your Mac’s support:
.dng,.cr2,.cr3,.nef,.arw,.raf - Adobe Illustrator files containing PDF-compatible content:
.ai
Web pages and code
- Web pages:
.html,.htm,.xhtml,.shtml - Programming and scripting files, including
.swift,.m,.mm,.c,.h,.cpp,.py,.js,.ts,.java,.go,.rs,.kt,.cs,.rb,.sh,.ps1,.php,.lua - Stylesheets and structured data:
.css,.scss,.json,.xml,.yaml,.yml,.plist - Project files such as
README,LICENSE,Makefile,Dockerfileand.gitignore
You can use syntax highlighting to make supported code files easier to read, with different colors for elements such as keywords, comments and text strings.
Enable Colorize syntax in the Preview module’s settings. Choose color themes under Path Finder → Settings → Appearance, with separate choices for light and dark appearance.
To inspect HTML source instead of the rendered web page, enable Show HTML as text in Preview’s settings.
Audio and video
- Audio formats such as
.mp3,.m4a,.wav,.aiff,.aac,.flac - Video formats such as
.mov,.mp4,.m4v - WebM (
.webm), where supported
Other formats
Depending on your macOS version and installed preview extensions, previews may also be available for fonts (.ttf, .otf, .dfont), EPS/PostScript (.eps, .ps), HDR images (.hdr) and 3D files such as .usdz and .obj.
Please note:
- Support varies with your macOS version.
- Markdown previews use simplified formatting; tables and embedded images are not displayed as rich content.
- Text previews display only the beginning of large files: up to 1 MB, or 0.5 MB in Column view, to limit CPU and memory usage.
Preview code with syntax highlighting
Open Preview’s settings and enable Colorize syntax for supported programming files.
Choose syntax-color themes under Path Finder → Settings → Appearance. Light and dark appearance have separate theme choices.
Choose how HTML and RTF appear
Use Show HTML as text or Show RTF as text in Preview’s settings when you want to inspect the source text instead of its formatted display.
The settings also include text encoding and Autoplay media.
Please note: Preview displays file contents; it is not the Text Editor. Syntax highlighting is available in Preview, while edits to text documents are made in the editor.
Comments
0 comments
Please sign in to leave a comment.