Free Online File Viewer - View Any File in Your Browser
Universal file viewer for images, video, audio, code, JSON, CSV, PDF, fonts and binary files. Zoom images, see audio waveforms, inspect hex. No uploads.
Runs in your browser. No data leaves your device.
About this tool
Opens almost any file in the browser with a viewer matched to its type: images, video, audio, text/code, structured data, PDF, fonts, or a hex dump for everything else. Multiple files open as tabs. Useful for quickly inspecting files without installing apps, entirely offline.
Features
- Type detection from browser MIME type and file extension, falling back to magic-byte signatures when those are unknown
- Image viewer: mouse-wheel zoom centered on the cursor, pinch zoom, drag to pan when zoomed, zoom buttons (10%-2000%), checkerboard background for PNG/WebP/GIF/AVIF, pixel dimensions shown
- JPEG XL and HEIC/HEIF images are decoded to PNG for display (JXL via WASM; HEIC natively on Safari or via heic2any)
- Video viewer: speeds 0.25x-2x, frame step back/forward (assumes 30 fps), play/pause, frame counter, PNG screenshot of the current frame, fullscreen, duration and resolution
- Audio viewer: clickable waveform (seeks), played/unplayed coloring with playhead, loop toggle, duration, sample rate and channel count
- Text viewer: line numbers, word-wrap toggle, case-insensitive search with match count and next/previous
- Structured data: JSON tree (expand/collapse all, double-click a node to show its $.path) or raw pretty-printed JSON; CSV/TSV as a table with sticky header and row/column count; XML with tag/attribute coloring; YAML/TOML as line-numbered text
- PDF viewer (pdf.js): page navigation, page number box, zoom Fit/50-200%, re-renders on resize in Fit mode
- Font viewer (TTF, OTF, WOFF, WOFF2, EOT): custom preview text at 12-72 px, ASCII 32-126 glyph grid, optional Latin-1, Greek, Arrows and Math Symbols ranges
- Binary viewer: first 1,024 bytes as offset/hex/ASCII dump plus the first 16 bytes as a signature
- Per-tab Download button and an "Open in..." menu that hands the file to related tools (Image Lab, Image Resizer, Image Compressor, EXIF Reader, Video to GIF, Video Reframer, Audio Lab, JSON/CSV Converter, File Anatomy, File Converter)
How to use it
- Drop one or more files on the drop zone or click to browse
- Switch between open files with the tabs; use + to add more or Clear all to close everything
- Use the controls for the file type (zoom, speed, search, page navigation)
- Optionally download the file or open it in a related tool
Inputs
- Any file type, multiple files at once, by drag-and-drop or file picker; files can also arrive from another tool's "Open in" action
- Text/code recognized by MIME type text/* or by a long list of extensions (md, py, js, ts, go, rs, c, cpp, java, sql, sh, html, css and many more)
Outputs
- On-screen views only; Download re-saves the original file unchanged
- Video screenshots save as <name>_<time>.png
Limits and notes
- Playback and image display depend on browser codec support; unplayable audio/video shows an error suggesting File Converter (e.g. AVI or MKV often fail), and TIFF displays only where the browser can render it
- SVG files open in the text viewer as source (not rendered); ICO files and ZIP-based documents fall back to the hex view
- Text files over 5 MB are truncated to the first 5 MB and always decoded as UTF-8
- Audio waveform is skipped for files over 50 MB; the shown sample rate is the browser decoder output rate
- Binary view shows only the first 1,024 bytes
- Structured data and PDFs are read in full with no size cap, so very large CSV/JSON files can be slow
- Frame stepping and frame counts assume 30 fps regardless of the real frame rate
- Nothing is saved to localStorage; open tabs are lost on reload
- Files are read locally via File/ObjectURL APIs and never uploaded
Keyboard shortcuts
- Ctrl+F / Cmd+F: open search in the text viewer
- Enter / Shift+Enter: next / previous search match
- Escape: close search and clear the query
- Enter (page box): jump to PDF page
Frequently Asked Questions
How does File Viewer work?
File Viewer identifies each file from its browser-reported MIME type and file extension, and falls back to reading the first bytes (magic-byte signatures) when those are unknown. It then picks a viewer: images get zoom and pan, videos get a player with speed and frame-step controls, audio gets a clickable waveform, text gets line numbers and search, JSON/CSV/XML get tree, table or highlighted views, PDFs are rendered page by page with pdf.js, fonts get a glyph preview, and anything else gets a hex dump. All processing happens in your browser -- files are never uploaded.
What file formats are supported?
Any file opens: images the browser can display (PNG, JPG, GIF, WebP, BMP, AVIF, plus JPEG XL and HEIC which are decoded for display), video and audio your browser can play (MP4, WebM, MP3, WAV, OGG, FLAC, AAC, M4A and others), structured data (JSON, CSV, TSV, XML, YAML, TOML), text and source code in dozens of languages, PDF documents, fonts (TTF, OTF, WOFF, WOFF2, EOT), and everything else as a hex dump. SVG files are shown as source text, and formats your browser cannot decode (for example many AVI or MKV files) show a message suggesting the File Converter.
Can I view multiple files at once?
Yes. Drop multiple files and each opens in its own tab. Click tabs to switch between files. You can add more files at any time with the + button or by dropping them in.
Is my data private?
Yes. All viewing happens entirely in your browser using ObjectURLs. Your files are never uploaded to any server. When you close a tab, the file reference is released from memory.