Extract image metadata including dimensions, size, and type
View image information and metadata instantly with our free online image info tool. This tool helps photographers and developers extract image details including dimensions, file size, format, and EXIF data. Simply upload your image and get detailed information in real-time.
No image selected
Upload an image to view its information
This tool extracts metadata from images including file size, dimensions, aspect ratio, and more. All processing is done locally in your browser.
Information extracted:
Image info extracts metadata and properties from image files: dimensions (width/height), file size, format (JPEG, PNG, GIF, WebP), color depth, EXIF data (camera, GPS, date), and compression details. Essential for photo management, web optimization, and digital forensics.
Read image file headers and metadata blocks. JPEG stores EXIF in APP1 marker, PNG uses tEXt/iTXt chunks, GIF has logical screen descriptor. Parse binary structure to extract properties without decoding full image data.
Image formats: JPEG (lossy, EXIF), PNG (lossless, alpha), GIF (256 colors, animation), WebP (modern, both lossy/lossless). EXIF includes: camera make/model, exposure, ISO, GPS coordinates, datetime. File signature (magic bytes) identifies format.
Sort photos by date, location, camera.
Organize by EXIF date takenCheck dimensions and size before upload.
Resize 4000x3000 to 1200x900Examine metadata for authenticity.
Check if photo was editedVerify images have appropriate dimensions.
// Basic image dimensions (browser)
function getImageInfo(file) {
return new Promise((resolve) => {
const img = new Image();
const url = URL.createObjectURL(file);
img.onload = () => {
resolve({
name: file.name,
type: file.type,
size: file.size,
width: img.naturalWidth,
height: img.naturalHeight,
aspectRatio: (img.naturalWidth / img.naturalHeight).toFixed(2)
});
URL.revokeObjectURL(url);
};
img.src = url;
});
}
// Format file size
function formatSize(bytes) {
if (bytes < 1024) return bytes + ' B';
if (bytes < 1024 * 1024) return (bytes / 1024).toFixed(1) + ' KB';
return (bytes / (1024 * 1024)).toFixed(2) + ' MB';
}
// Detect format from magic bytes
async function detectFormat(file) {
const buffer = await file.slice(0, 12).arrayBuffer();
const bytes = new Uint8Array(buffer);
// Check signatures
if (bytes[0] === 0xFF && bytes[1] === 0xD8) return 'JPEG';
if (bytes[0] === 0x89 && bytes[1] === 0x50) return 'PNG';
if (bytes[0] === 0x47 && bytes[1] === 0x49) return 'GIF';
if (bytes[8] === 0x57 && bytes[9] === 0x45) return 'WebP';
return 'Unknown';
}Browser-based image info extraction. For EXIF, use libraries like exif-js or piexifjs.
Use image info when managing photo libraries, optimizing images for web, verifying image properties, or extracting metadata for analysis.
Camera make/model, lens, exposure settings (aperture, shutter, ISO), date/time, GPS coordinates, software used, orientation, flash, color space. Not all images have EXIF (PNG/GIF rarely do).
GIF Viewer online tool. Fast processing, multiple format support, and quality preservation. Perfect for web developers, designers, and content creators.
Image Resize online tool. Fast processing, multiple format support, and quality preservation. Perfect for web developers, designers, and content creators.