PreviewFile IconPreviewFile.dev

Supported File Formats

PreviewFile.dev supports 100+ file formats with built-in preview engines for documents, spreadsheets, images, and more.

Overview

PreviewFile.dev provides native in-browser preview for over 100 file formats without requiring file downloads.

To try these previews yourself, open the File Preview Showcase at /en/showcase where you can upload your own files or use sample files and see how they render directly in the browser.

Document Formats

PDF Documents

Preview Engine: PDF.js (Mozilla)

Fully-featured PDF viewer with:

  • Page navigation and zoom controls
  • Text selection and search
  • Print support
  • Thumbnail sidebar
  • Mobile-responsive interface

Supported formats:

  • .pdf - Portable Document Format

Office Documents

Preview Engine: Office Online Viewer (iframe embed)

View Microsoft Office documents directly:

Supported formats:

  • .docx, .doc - Microsoft Word
  • .pptx, .ppt - Microsoft PowerPoint
  • .xlsx, .xls - Microsoft Excel (also see Spreadsheets section)

Spreadsheet Formats

Excel & CSV Files

Preview Engine: x-spreadsheet + xlsx.js

Interactive spreadsheet viewer with:

  • Multiple sheet tabs
  • Cell formatting preservation
  • Formula display
  • Sort and filter capabilities
  • Export to CSV/Excel

Supported formats:

  • .xlsx, .xls - Microsoft Excel
  • .csv - Comma-Separated Values
  • .tsv - Tab-Separated Values
  • .ods - OpenDocument Spreadsheet

Advanced Excel Features: LuckyExcel for complex Excel workbooks with:

  • Rich formatting
  • Charts and graphs
  • Merged cells
  • Conditional formatting

Image Formats

Standard Images

Preview Engine: Native browser <img> rendering + Viewer.js

Full-featured image viewer with:

  • Zoom in/out with mouse wheel
  • Pan with drag
  • Rotate and flip
  • Fullscreen mode
  • Image gallery navigation

Supported formats:

  • .jpg, .jpeg - JPEG images
  • .png - Portable Network Graphics
  • .gif - Graphics Interchange Format (animated support)
  • .webp - WebP images
  • .bmp - Bitmap images
  • .svg - Scalable Vector Graphics
  • .ico - Icon files

TIFF Images

Preview Engine: UTIF.js

Professional TIFF image support with:

  • Multi-page TIFF documents
  • High bit-depth images (16-bit, 32-bit)
  • CMYK color space
  • LZW and other compressions

Supported formats:

  • .tif, .tiff - Tagged Image File Format

Archive Formats

Compressed Files

Preview Engine: @zip.js/zip.js (file list only)

Browse ZIP archive contents without extraction:

  • File list with entry names and sizes
  • Directory and file indicators
  • Lazy-loaded viewer (library loads only when a .zip is opened)

Supported formats:

  • .zip - ZIP archives (file list preview supported)

Coming soon (no file list yet):

  • .rar - RAR archives
  • .7z - 7-Zip archives
  • .tar - Tape Archives
  • .tar.gz, .tgz - Gzipped tar
  • .tar.bz2 - Bzipped tar

Diagram & Vector Formats

Draw.io Diagrams

Preview Engine: draw.io embedded viewer

Interactive diagram viewer for:

  • Flowcharts and process diagrams
  • Network diagrams
  • UML diagrams
  • Architecture diagrams
  • Pan and zoom
  • Layer visibility

Supported formats:

  • .drawio - Draw.io diagrams
  • .dio - Draw.io native format
  • .xml - Draw.io XML format

Vector Graphics

Supported formats:

  • .svg - Scalable Vector Graphics (native browser)

Video Formats

Preview Engine: HTML5 <video> with custom controls

Supported formats:

  • .mp4 - MPEG-4 video
  • .webm - WebM video
  • .ogg, .ogv - Ogg video
  • .mov - QuickTime video
  • .avi - Audio Video Interleave
  • .mkv - Matroska video

Features:

  • Play/pause controls
  • Timeline scrubbing
  • Volume control
  • Fullscreen mode
  • Playback speed adjustment

Audio Formats

Preview Engine: HTML5 <audio> with waveform visualization

Supported formats:

  • .mp3 - MPEG Audio Layer 3
  • .wav - Waveform Audio
  • .ogg, .oga - Ogg Audio
  • .m4a - MPEG-4 Audio
  • .flac - Free Lossless Audio Codec
  • .aac - Advanced Audio Coding

Text & Code Formats

Preview Engine: Monaco Editor (VS Code's editor)

Syntax-highlighted code viewer with:

  • 100+ language support
  • Line numbers
  • Code folding
  • Find and replace
  • Minimap

Supported formats:

  • .txt - Plain text
  • .md, .markdown - Markdown (with preview)
  • .json - JSON
  • .xml - XML
  • .html, .htm - HTML
  • .css - CSS
  • .js, .jsx - JavaScript
  • .ts, .tsx - TypeScript
  • .py - Python
  • .java - Java
  • .c, .cpp, .h - C/C++
  • .cs - C#
  • .go - Go
  • .rs - Rust
  • .php - PHP
  • .rb - Ruby
  • .swift - Swift
  • .kt - Kotlin
  • .sql - SQL
  • .yaml, .yml - YAML
  • .sh, .bash - Shell scripts
  • And 80+ more...

3D Model Formats

Preview Engine: three.js

Interactive 3D model viewer:

  • Rotate, pan, zoom
  • Wireframe/solid toggle
  • Lighting controls

Supported formats:

  • .obj - Wavefront OBJ
  • .stl - Stereolithography
  • .gltf, .glb - GL Transmission Format
  • .fbx - Autodesk FBX
  • .dae - COLLADA

CAD Formats

Preview Engine: CADViewer (commercial license)

Supported formats:

  • .dwg - AutoCAD Drawing
  • .dxf - Drawing Exchange Format
  • .dwf - Design Web Format

E-book Formats

Preview Engine: epub.js

Supported formats:

  • .epub - Electronic Publication
  • .mobi - Mobipocket (converted)
  • .azw - Amazon Kindle

Full Format List

CategoryFormatsCount
DocumentsPDF, DOCX, DOC, PPTX, PPT5
SpreadsheetsXLSX, XLS, CSV, TSV, ODS5
ImagesJPG, PNG, GIF, WebP, BMP, SVG, TIFF, ICO8
ArchivesZIP, RAR, 7Z, TAR, TAR.GZ, TAR.BZ26
DiagramsDRAWIO, DIO, XML (draw.io)3
VideoMP4, WebM, OGG, MOV, AVI, MKV6
AudioMP3, WAV, OGG, M4A, FLAC, AAC6
Code/TextJS, TS, PY, Java, C++, Go, Rust, and 80+ more90+
3D ModelsOBJ, STL, GLTF, GLB, FBX, DAE6
CADDWG, DXF, DWF3
E-booksEPUB, MOBI, AZW3
Total110+

Supported Formats Table

The following table lists all supported file formats with preview links and support status:

File ExtensionPreview LinkSupport Status
Document Formats
.pdf/p/showcase-pdf✅ Supported
.docx/p/showcase-docx✅ Supported
.doc/p/showcase-doc✅ Supported
.pptx/p/showcase-pptx✅ Supported
.ppt/p/showcase-ppt✅ Supported
.odt/p/showcase-odt✅ Supported
.odp/p/showcase-odp✅ Supported
.rtf/p/showcase-rtf✅ Supported
.ofd/p/showcase-ofd✅ Supported
Spreadsheet Formats
.xlsx/p/showcase-xlsx✅ Supported
.xls/p/showcase-xls✅ Supported
.xlsm/p/showcase-xlsm✅ Supported
.csv/p/showcase-csv✅ Supported
.tsv/p/showcase-tsv✅ Supported
.ods/p/showcase-ods✅ Supported
Image Formats
.jpg/p/showcase-jpg✅ Supported
.jpeg/p/showcase-jpeg✅ Supported
.jfif/p/showcase-jfif✅ Supported
.png/p/showcase-png✅ Supported
.gif/p/showcase-gif✅ Supported
.webp/p/showcase-webp✅ Supported
.bmp/p/showcase-bmp✅ Supported
.svg/p/showcase-svg✅ Supported
.ico/p/showcase-ico✅ Supported
.tiff/p/showcase-tiff✅ Supported
.tif/p/showcase-tif✅ Supported
.avif/p/showcase-avif✅ Supported
.tga/p/showcase-tga🚧 Coming Soon
.wmf/p/showcase-wmf🚧 Coming Soon
.emf/p/showcase-emf🚧 Coming Soon
.psd/p/showcase-psd✅ Supported
.eps/p/showcase-eps🚧 Coming Soon
Video Formats
.mp4/p/showcase-mp4✅ Supported
.webm/p/showcase-webm✅ Supported
.avi/p/showcase-avi✅ Supported
.mov/p/showcase-mov✅ Supported
.mkv/p/showcase-mkv✅ Supported
.ogv/p/showcase-ogv✅ Supported
.flv/p/showcase-flv🚧 Coming Soon
.wmv/p/showcase-wmv🚧 Coming Soon
.3gp/p/showcase-3gp🚧 Coming Soon
.mpeg/p/showcase-mpeg🚧 Coming Soon
Audio Formats
.mp3/p/showcase-mp3✅ Supported
.wav/p/showcase-wav✅ Supported
.ogg/p/showcase-ogg✅ Supported
.oga/p/showcase-oga✅ Supported
.flac/p/showcase-flac✅ Supported
.aac/p/showcase-aac✅ Supported
.m4a/p/showcase-m4a✅ Supported
Code & Text Formats
.js/p/showcase-js✅ Supported
.jsx/p/showcase-jsx✅ Supported
.ts/p/showcase-ts✅ Supported
.tsx/p/showcase-tsx✅ Supported
.py/p/showcase-py✅ Supported
.md/p/showcase-md✅ Supported
.markdown/p/showcase-markdown✅ Supported
.txt/p/showcase-txt✅ Supported
.json/p/showcase-json✅ Supported
.xml/p/showcase-xml✅ Supported
.yaml/p/showcase-yaml✅ Supported
.yml/p/showcase-yml✅ Supported
.html/p/showcase-html✅ Supported
.htm/p/showcase-htm✅ Supported
.css/p/showcase-css✅ Supported
.java/p/showcase-java✅ Supported
.php/p/showcase-php✅ Supported
Archive Formats
.zip/p/showcase-zip🚧 Coming Soon
.rar/p/showcase-rar🚧 Coming Soon
.7z/p/showcase-7z🚧 Coming Soon
.tar/p/showcase-tar🚧 Coming Soon
.gz/p/showcase-gzip🚧 Coming Soon
.tar.gz/p/showcase-targz🚧 Coming Soon
.tgz/p/showcase-tgz🚧 Coming Soon
.tar.bz2/p/showcase-tarbz2🚧 Coming Soon
.jar/p/showcase-jar🚧 Coming Soon
Diagram & Flowchart Formats
.drawio/p/showcase-drawio✅ Supported
.dio/p/showcase-dio✅ Supported
.bpmn/p/showcase-bpmn🚧 Coming Soon
.xmind/p/showcase-xmind🚧 Coming Soon
3D Model Formats
.glb/p/showcase-glb✅ Supported
.gltf/p/showcase-gltf✅ Supported
.obj/p/showcase-obj✅ Supported
.stl/p/showcase-stl✅ Supported
.ply/p/showcase-ply✅ Supported
.3ds/p/showcase-3ds✅ Supported
.fbx/p/showcase-fbx✅ Supported
.dae/p/showcase-dae✅ Supported
CAD Formats
.dwg/p/showcase-dwg🚧 Coming Soon
.dxf/p/showcase-dxf🚧 Coming Soon
.dwfx/p/showcase-dwf🚧 Coming Soon
E-book Formats
.epub/p/showcase-epub✅ Supported
.mobi/p/showcase-mobi🚧 Coming Soon
.azw3/p/showcase-azw🚧 Coming Soon
Other Formats
.eml/p/showcase-eml🚧 Coming Soon
.dcm/p/showcase-dcm🚧 Coming Soon
Coming Soon
.ai-🚧 Coming Soon
.sketch-🚧 Coming Soon
.fig-🚧 Coming Soon

Preview Limitations

File Size Limits

  • Free tier: 50 MB per file
  • Pro tier: 500 MB per file
  • Enterprise: Custom limits (up to 5 GB)

Processing Time

Most files preview instantly. Large files may take:

  • PDFs > 100 MB: 2-5 seconds
  • Spreadsheets > 10K rows: 3-8 seconds
  • Videos > 500 MB: 5-15 seconds

Browser Requirements

  • Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
  • JavaScript must be enabled
  • Minimum 2 GB RAM for large files

Security & Privacy

  • ✅ Direct memory decompression for archives
  • ✅ Zero data leakage risk

For uploaded files, only encrypted metadata is stored. Original files are stored in your configured S3-compatible storage with time-limited access.

Coming Soon

We're adding support for:

  • .ai - Adobe Illustrator (Q2 2025)
  • .sketch - Sketch files (Q3 2025)
  • .fig - Figma files (Q3 2025)
  • More video codecs (AV1, VP9) (Q2 2025)

Custom Format Support

Need support for a proprietary file format? Contact our Enterprise team for custom preview engine integration.

On this page