File Previews

View documents, images, and data files in-app

Preview Types

TorlyAI includes built-in viewers for multiple file types, so you never need to leave the app to review documents, images, or structured data.

PDF Preview

Full-featured PDF reader with page navigation, zoom, and text selection

Image Preview

View PNG, JPG, SVG, and WebP images with aspect-ratio fitting

JSON Tree View

Interactive collapsible tree with syntax highlighting and deep parsing

PDF Preview

View PDF documents directly inside TorlyAI with a full-featured reader. This is particularly useful for reviewing exported business plans, financial reports, or reference documents.

Features:

  • Page navigation — browse through multi-page documents with page-by-page controls
  • Zoom controls — zoom in and out to read fine print or see full-page layouts
  • Text selection — select and copy text from the PDF for use in your conversations
  • Multi-item navigation — when multiple PDFs are referenced, use arrow navigation to move between them
  • Light and dark mode — the reader adapts to your current theme

When an agent generates or references a PDF (such as an exported business plan), click the file link in the chat to open it in the preview overlay.

Image Preview

View images directly in TorlyAI's overlay viewer. Supported formats:

PNG

Screenshots, charts, exported diagrams

JPG / JPEG

Photos, scanned documents

SVG

Vector graphics, logos, rendered Mermaid diagrams

WebP

Modern compressed images

The image viewer fits images to the available space while maintaining aspect ratio. You can also open images in your external app, reveal them in Finder/Explorer, or copy the file path.

JSON Tree View

When agents produce structured data (API responses, configuration files, evaluation results), TorlyAI renders it as an interactive JSON tree instead of raw text.

Features:

  • Expand and collapse — click any object or array to expand or collapse its children
  • Syntax highlighting — keys, strings, numbers, and booleans are colour-coded
  • Deep parsing — nested JSON strings are automatically detected and rendered as expandable tree nodes
  • Search-friendly — quickly find data in complex nested structures

This is especially helpful when reviewing Innovatorly Matrix evaluation results, financial model outputs, or project task metadata.

HTML Preview

When an agent generates HTML content in a conversation, TorlyAI renders it directly in the chat as a live preview. Click the fullscreen button to open it as an overlay for a full-size view.

In-Chat Rendering

HTML blocks in agent responses are rendered inline, showing formatted content instead of raw markup.

Fullscreen Overlay

Expand any HTML preview to a fullscreen overlay for better viewing of complex layouts, charts, or formatted reports.

Data Tables

TorlyAI renders structured data as interactive tables with sorting, filtering, and export capabilities. When an agent produces tabular data, it appears as a spreadsheet-style block.

Sort & Filter

Click column headers to sort. Use the filter row to narrow results by any column value.

Export

Export any table to XLSX or CSV format. Useful for financial data, competitor analysis, or any structured output.

How File Links Work

TorlyAI's link interceptor automatically classifies every file link in your conversations and routes it to the right handler:

File TypeBehaviour
PDF files (.pdf)Opens in the in-app PDF preview overlay
Images (.png, .jpg, .svg, .webp)Opens in the in-app image preview overlay
JSON files (.json)Opens in the interactive JSON tree view
HTML contentRendered inline with fullscreen overlay option
Tabular data (CSV, XLSX)Rendered as interactive data tables with sorting and export
Web links (http/https)Opens in your default web browser
Other filesOpens in your system's default application

You never need to configure this — it works automatically based on file type detection.

Tips

  • Press Escape to close — file previews open as overlays; press Escape or click outside to dismiss
  • Right-click for options — if you prefer to always open files externally, right-click a file link for additional options
  • Zoom persists — preview overlays remember your zoom level and scroll position within the same session
  • Works offline — all previews work without an internet connection for local files