Previewing Files

Onlinedrive includes a built-in file previewer that lets you view many file types directly in your browser without downloading them.

How to Preview

Click on any file in the file browser to open the preview. The preview opens in a full-screen overlay.

Supported File Types

Images

  • JPEG, PNG, GIF, WebP, SVG, BMP
  • HEIC/HEIF (iPhone photos) — automatically converted for browser viewing

Video

  • MP4, WebM, MOV — plays directly with full video controls

Audio

  • MP3, WAV, OGG, AAC — plays with an audio player widget

Documents

  • PDF — renders in an embedded viewer
  • Text files — displays with syntax-friendly formatting (TXT, CSV, JSON, etc.)

Preview Controls

While previewing a file, you can:

  • Navigate — Use the left/right arrows to move between files
  • Download — Click the download button in the top bar
  • Share — Click the share button to share the file
  • Close — Click the X button or press Escape

Keyboard Shortcuts

  • Left Arrow — Previous file
  • Right Arrow — Next file
  • Escape — Close preview

File Counter

The preview shows your current position (e.g., "3 / 12") so you know where you are in the file list.

When Preview Isn't Available

For file types that can't be previewed (like ZIP archives or executables), you'll see a "Preview not available" message with a download button instead.