Online Image & Safe SVG Vector Viewer
Inspect raster images (PNG, JPEG, WebP, GIF, BMP, TIFF) and XSS-sanitized SVG vector graphics locally with zoom, rotation, and transparency grid controls.
Drag & drop files here, or click to browse
Open single or multiple files simultaneously in tabs
🔒 Your files stay on your device. We never upload your files to any server.
Inspecting Raster & Vector Images Locally with Binary Header & SVG Security
Digital workflows rely on a diverse spectrum of raster and vector image formats: lossless PNGs with alpha transparency, photographic JPEGs, modern WebP assets, animated GIFs, uncompressed BMPs, archival TIFFs, and Scalable Vector Graphics (.svg). Each binary image format begins with a distinct magic byte header—such as 89 50 4E 47 for PNG, FF D8 FF for JPEG, or RIFF....WEBP for WebP—that identifies its true encoding regardless of its file extension.
Two common problems plague everyday image inspection. First, files downloaded from web APIs or content management systems are often misnamed (for example, a WebP image saved with a .jpg extension or an HTML error page saved as .png), causing desktop viewers to fail without explaining why. Second, Scalable Vector Graphics (.svg) are XML documents that can contain embedded <script> tags, onload event handlers, and <foreignObject> payloads capable of executing Cross-Site Scripting (XSS) if opened directly in a browser tab.
FilePeek addresses both challenges in one local viewer. For raster images, FilePeek verifies the binary magic signature in memory, reveals exact intrinsic pixel dimensions (width × height) and aspect ratios, and provides smooth zoom (25%–500%), 90° rotation, and a toggleable alpha-transparency checkerboard. For .svg files, FilePeek runs a strict security sanitizer that strips all executable scripts, inline event handlers, and external references before rendering the vector graphic inside an isolated container.
Technical Specifications
Architectural details and file format parameters verified by FilePeek.
| Raster Formats | PNG, JPEG/JPG, WebP, GIF (87a/89a), BMP, TIFF |
|---|---|
| Vector Format | SVG 1.1 / SVG 2.0 (Sanitized & Script-Isolated) |
| Binary Magic Verification | 89 50 4E 47 (PNG), FF D8 FF (JPEG), RIFF..WEBP, GIF89a |
| Maximum Image Size | 500 MB (Raster & SVG) |
| Canvas Controls | Zoom 25%–500%, Fit-to-Screen, Rotate -90°/+90°, Checkerboard |
| SVG XSS Protection | Strips <script>, <foreignObject>, on* attributes & external hrefs |
How to Open & View Image & SVG Viewer Files
Step-by-step instructions for viewing files without installing desktop software.
Drop One or Multiple Image Files
Drag PNG, JPG, WebP, GIF, SVG, BMP, or TIFF files onto the dropzone above or click "Browse Files" to open them.
Verify Binary Signature & Pixel Dimensions
FilePeek checks the binary magic bytes to confirm the true image format and displays exact pixel width and height in the toolbar.
Zoom, Rotate & Check Alpha Transparency
Zoom in up to 500% to inspect pixel edges, rotate misoriented photos by 90°, and toggle the checkerboard background to verify transparent regions.
Compare Multiple Assets in Tabs
Open multiple design exports or icons simultaneously and click between tabs to compare visual quality and file sizes.
Image & SVG Viewer Viewer Features
Modern browser utilities designed for clarity, performance, and privacy.
Intrinsic Pixel Dimension & Aspect Inspector
Displays exact naturalWidth × naturalHeight in pixels alongside byte size and verified MIME type.
Alpha Transparency Checkerboard Toggle
Switch between a high-contrast transparency checkerboard, light backdrop, or dark backdrop to inspect PNG, WebP, and SVG cutouts.
Sanitized, XSS-Proof SVG Rendering
Safely preview untrusted .svg icons and illustrations with automatic removal of embedded <script> tags and event handlers.
Precision Zoom (25% to 500%) & Fit Controls
Inspect individual pixels or fit high-resolution 4K/8K photography cleanly inside your browser viewport.
Instant 90° Clockwise & Counter-Clockwise Rotation
Rotate scanned documents or sideways camera photos in memory with a single click.
Spoofed Extension Detection
Identifies when a file named .png is actually a JPEG, WebP, or HTML error page by inspecting its binary header bytes.
Common Real-World Scenarios
How professionals and casual users rely on FilePeek's local engine daily.
Verify alpha transparency, pixel dimensions, and SVG vector cleanliness before committing icons and illustrations to a repository.
Check product photography resolution, aspect ratios, and real file formats (WebP vs. JPEG) directly in the browser.
Inspect user-uploaded images and SVG attachments safely without triggering embedded SVG scripts or revealing spoofed extensions.
Image & SVG Viewer Frequently Asked Questions
Answers to common questions regarding Image & SVG Viewer rendering and privacy.
Why is opening an unknown .svg file safer in FilePeek than in a normal browser tab?
Opening a raw .svg file directly in a browser tab allows any embedded <script> or onloadJavaScript inside the SVG to execute in that origin. FilePeek sanitizes the SVG DOM—removing scripts, foreignObjects, and event handlers—and renders it as a static, non-executable image.
How can I tell if my PNG or WebP image has a transparent background?
FilePeek renders transparent images over a classic gray-and-white checkerboard pattern by default, and lets you toggle the background to solid dark or light in the toolbar to test contrast.
Why did FilePeek flag my .jpg file as a signature mismatch?
Web servers and CDNs often serve WebP or PNG images (or even HTML 404 pages) while keeping a .jpg filename. FilePeek reads the binary magic header and tells you the true underlying format.
Are my personal photos or design mockups uploaded anywhere?
Never. Your images are rendered locally using browser Blob URLs that exist only in your device RAM and are revoked as soon as you close the tab.
Does FilePeek support animated GIFs and WebP images?
Yes, both static and animated GIF and WebP files play smoothly inside the local image stage.
Related File Viewers
Explore other zero-installation format viewers available on FilePeek.