Skip to content

File Previews & Supported Formats

Kova includes built-in, client-side previews for 100+ file formats right inside the Inspector panel and an expandable Fullscreen Lightbox modal. Heavy viewers (PDF.js, Three.js, SheetJS, Mammoth, SQLite WASM, Parquet, and HEIC/TIFF decoders) are lazy-loaded on demand, keeping initial page loads fast.

Category Supported Extensions Viewer Capabilities Fullscreen
Images .png, .jpg, .jpeg, .webp, .avif, .gif, .ico, .bmp, .svg Rendered via <img> (SVG is never inlined as raw HTML to prevent XSS); click to zoom Yes
HEIC & TIFF Images .heic, .heif, .tif, .tiff Client-side decoded in the browser (heic2any / utif2) into a zoomable image Yes
PDF .pdf Custom PDF.js viewer with pagination, zoom, Fit-to-panel, rotate, single/all-page scroll, and keyboard navigation (←/→) Yes
Word Documents .docx Client-side OOXML rendering via Mammoth, sanitized with DOMPurify (up to 20 MB) Yes
Spreadsheets .xlsx, .xls, .ods Multi-sheet tabs, row counts, and scrollable table via SheetJS (up to 20 MB; 100 rows inline / 500 fullscreen) Yes
Tabular Text .csv, .tsv Table preview via PapaParse (uses a 1 MB HTTP Range peek for large files) + inline editor Yes
Parquet .parquet Reads schema and rows via HTTP Range requests (hyparquet), so even multi-GB Parquet files preview without downloading the full object. Includes Data and Schema tabs Yes
SQLite .sqlite, .sqlite3, .db Client-side sql.js (WASM) browser with table switcher, row counts, and row viewer (up to 25 MB) Yes
3D Models .glb, .gltf, .stl, .obj Interactive Three.js WebGL orbit viewer with studio lighting, wireframe toggle, and camera reset Yes
Archives .zip Archive Inspector (fflate) listing nested paths, file counts, and uncompressed sizes, with click-to-preview for text entries inside the ZIP (up to 25 MB) Yes
Video .mp4, .webm, .mov, .mkv, .m4v, .ogv Native HTML5 video player with preload="metadata" (codec support depends on your browser) Native
Audio .mp3, .wav, .ogg, .flac, .m4a, .aac, .opus, .weba, .wma Native HTML5 audio player (codec support depends on your browser) —
Fonts .woff2, .woff, .ttf, .otf Live FontFace specimen preview with pangram and character set —
Markdown .md, .mdx Sanitized GitHub-Flavored Markdown renderer + inline editor (⌘S / Ctrl+S) Yes
HTML .html, .htm Toggle between Render (sandboxed <iframe sandbox="">), Source, and Edit Yes
JSON .json Toggle between interactive collapsible Tree, formatted Raw, and Edit Yes
Code & Config .ts, .tsx, .js, .jsx, .mjs, .cjs, .jsonc, .jsonl, .ndjson, .css, .scss, .sass, .less, .yaml, .yml, .toml, .ini, .env, .conf, .cfg, .properties, .sql, .graphql, .gql, .xml, .sh, .bash, .zsh, .fish, .ps1, .bat, .cmd, .py, .go, .rs, .php, .java, .kt, .kts, .swift, .rb, .lua, .zig, .r, .c, .h, .cpp, .hpp, .cs, .dart, .scala, .ex, .exs, .erl, .hs, .ml, .groovy, .gradle, .svelte, .vue, .astro, .prisma, .tf, .hcl, .proto, .cmake, .nix, .diff, .patch, .srt, .vtt, Dockerfile, Makefile, LICENSE, .gitignore, .dockerignore, .editorconfig, .txt, .log Monospace viewer + inline editor with ETag conflict protection (If-Match) Yes
Binary Fallback Any other extension File metadata + on-demand 1 KB Hex + ASCII peek using HTTP Range: bytes=0-1023 —
  • Auto-load cap (2 MB): Text and code files larger than 2 MB pause auto-loading so your browser stays responsive. Click Peek first 256 KB to inspect the start of the file via an HTTP Range request.
  • ETag conflict guard: Saving edits (⌘S / Ctrl+S) sends an If-Match precondition against the object’s ETag. If another user or process modified the file in the meantime, Kova blocks the overwrite with a clear 412 conflict notice.
  • CORS & Proxy Fallback: Viewers fetch directly from your S3/R2 bucket via short-lived presigned URLs when CORS is configured, or stream seamlessly through Kova’s server when Proxy Fallback is enabled on the connection.
  • SVG: Always rendered inside <img> tags—never injected into the DOM—preventing embedded <script> execution.
  • HTML: Rendered previews run inside <iframe sandbox=""> with scripts, forms, and same-origin access disabled.
  • Markdown & DOCX: All generated HTML passes through DOMPurify before rendering.